Tuesday, 15 September 2015

iphone - iOS Quartz 2D Graphics Filled Irregular Shapes Blurry -



iphone - iOS Quartz 2D Graphics Filled Irregular Shapes Blurry -

i'm drawing irregular shapes using core graphics on retina display. creating uibezierpath 5 10 random points. in drawrect stroke path , fill using solid reddish colour.

my problem diagonal lines in drawing doesn't appear sharp.

i have tried anti aliasing if makes appear worse. have experimented different line widths, not stroking, not filling, can not seem sharp diagonal line.

for comparing created similar shape in photoshop (using similar size) , saved png. if display png on ios looks much sharper.

what can create shape create in code sharp?

make sure cgpoint's rounded nearest integer value.

iphone ios ipad core-graphics

No comments:

Post a Comment