On May 27, 2010, at 6:20 PM, Graham Cox <graham....@bigpond.com> 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 (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 arch...@mail-archive.com