• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Generating PDF images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Generating PDF images (+followup question)
      • From: Graham Cox <email@hidden>
References: 
 >Generating PDF images (From: Graham Cox <email@hidden>)

  • Prev by Date: Generating PDF images
  • Next by Date: Re: Generating PDF images (+followup question)
  • Previous by thread: Generating PDF images
  • Next by thread: Re: Generating PDF images (+followup question)
  • Index(es):
    • Date
    • Thread