Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Thethuthinang

macrumors member
Original poster
Jan 3, 2011
39
0
Does anyone know how to create a (resolution independent, fully vector-based) EPS or PDF from an NSBezierPath? Is this even possible? I want to generate an image which I can then take into Adobe Illustrator and manipulate.
 
I just figured it out. The following method of the NSView class does exactly this:

- (NSData *)dataWithEPSInsideRect:(NSRect)aRect
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.