How to smooth the edge of a zig-zag line?
Posted
by Horace Ho
on Stack Overflow
See other posts from Stack Overflow
or by Horace Ho
Published on 2010-05-10T10:39:02Z
Indexed on
2010/05/10
10:44 UTC
Read the original article
Hit count: 266
Currently I draw a zig-zap line by CGContextMoveToPoint
, CGContextAddLineToPoint
, and CGContextStrokePath
, following touchesMoved
events. How can I smooth the edges of the line? Such that when the user draw a circle-like shape, the circle can be more round'ed. The GLPaint example use OpenGL, is that the only way to do it?
© Stack Overflow or respective owner