Lordof Theflies
Lordof Theflies

Reputation: 301

how to rescale a bezierpath

I have a simple image made from 3 or 4 uibezierpath lines.

when i double the size of the view in which they are drawn, they look fuzzy, like a low resolution pic displayed on a high resolution screen, stretched out. is there a way to rescale the path to fir in any size window? thanks, i know this might be a basic question, but i haven't found any information about it

Upvotes: 0

Views: 355

Answers (1)

Lordof Theflies
Lordof Theflies

Reputation: 301

found the answer. contexts can be scaled. CGContextScaleCTM. worked like a charm

Upvotes: 1

Related Questions