tags:

views:

347

answers:

3

How can i convert between NSBezierPath to CGPath.

Thanks.

+1  A: 

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

The MYYN
+1  A: 

Hi vikas: see this: http://stackoverflow.com/questions/1429426/cgpathref-encoding

Jacob Relkin
A: 

Right from Apple documentation: Creating a CGPathRef From an NSBezierPath Object

0xced