Re: Generating PDF images
Re: Generating PDF images
- Subject: Re: Generating PDF images
- From: Kyle Sluder <email@hidden>
- Date: Thu, 27 May 2010 18:24:48 -0700
On May 27, 2010, at 6:20 PM, Graham Cox <email@hidden> wrote:
Can I not create a PDF context, associate that with a NSPDFImageRep
instead? It appears I'm forced to use NSPrintOperation to do this
which is slightly weird as this has nothing to do with printing, nor
do I have a view readily available to attach to the
NSPrintOperation. Surely there's a more straightforward way than
going round the houses like this?
I believe we create a PDF CGContext, wrap it in an NSGraphicsVontext,
and use +setContext: to get our nice vectory goodness.
But I'm going from memory here, and I didn't write that code.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden