开发者

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 t开发者_如何学运维he 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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜