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 dataWithEPSInsideRect:] point the way at all?

There are also some lower-level EPS methods - entering 'eps' into the documentation browser search field should show you them.

hth,

Graham

hi,

[NSView dataWithEPSInsideRect:] does not seem to help, unless I build a dummy view, draw in it and then use this method. but this seems to be quite complicated.

And the documentation didn’t showed me something helpful. There are methods to get EPS data in and out of a NSEPSImageRep but no obvious way to generate it.

Thanks
Georg_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to