Is there a way to make a CGPath grow by x Pixels?

Posted by FenderMostro on Stack Overflow See other posts from Stack Overflow or by FenderMostro
Published on 2010-04-23T22:13:48Z Indexed on 2010/04/23 22:23 UTC
Read the original article Hit count: 191

Filed under:
|
|

I'm building a custom UIView, which draws its own content in a drawRect: Method. I want to stroke a CGPath with a color, and then grow this selection 1px and stroke with another color. Has somebody worked out a method to do this quite easily?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about quartz-2d