Re: EPS image in NSScrollView

2010-05-20 Thread Adam R. Maxwell
On May 20, 2010, at 1:43 PM, jyoun...@kc.rr.com wrote: > One other quick question. What I'm really trying to achieve is something > similar to how the pdfkit works. I like how the image/text enlarges within > the scrollview when the window is resized. The code is pretty simple as well: > >

Re: EPS

2008-09-12 Thread has
Georg Seifert wrote: [NSView dataWithEPSInsideRect:] does not seem to help, unless I build a dummy view, draw in it and then use this method. I believe that's the general idea. An NSBezierPath instance by itself doesn't really do anything unless/until you draw it into a suitable graphics

Re: EPS

2008-09-10 Thread Georg Seifert
On 11 Sep 2008, at 1:13 am, Georg Seifert wrote: hello, is there a way to create EPS data from code? I need it to put in in pastboard. Does anyone can point my to some docs as I cant find any. What I want to do, is to copy a NSBezierPath to Illustrator and back. does [NSView dataWithEPS

Re: EPS

2008-09-10 Thread Graham Cox
On 11 Sep 2008, at 1:13 am, Georg Seifert wrote: hello, is there a way to create EPS data from code? I need it to put in in pastboard. Does anyone can point my to some docs as I cant find any. What I want to do, is to copy a NSBezierPath to Illustrator and back. does [NSView dataWithEPS

Re: EPS

2008-09-10 Thread has
Georg Seifert wrote: is there a way to create EPS data from code? I need it to put in in pastboard. Does anyone can point my to some docs as I cant find any. http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaDrawingGuide What I want to do, is to copy a NSBezierPath to Illustrato