How can i convert between NSBezierPath to CGPath.
Thanks.
How can i convert between NSBezierPath to CGPath.
Thanks.
See: google-toolbox-mac.
For those of you interested in Mac programming, Google has released Google Toolbox for Mac, an open source project that provides code samples and utility code for a variety of programming functions.
AppKit = graphics stuff: ...
NSBezierPath
additions:CGPath
conversions, round rects, shading
Hi vikas: see this: http://stackoverflow.com/questions/1429426/cgpathref-encoding
Right from Apple documentation: Creating a CGPathRef From an NSBezierPath Object