• 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: PDFKit guidance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PDFKit guidance


  • Subject: Re: PDFKit guidance
  • From: Antonio Nunes <email@hidden>
  • Date: Fri, 20 Jun 2008 12:09:12 +0100

On 20 Jun 2008, at 11:07, Torsten Curdt wrote:

you can't go wrong by reading the "Cocoa
Drawing Guide."

Surely will read through that. Because frankly speaking I didn't think this was Quartz related.

Well, you need to know how to generally draw in Cocoa, and you need to know how to take advantage of PDFKit, so both John Calhoun and Joel Norvell provided useful pointers.


The scaling is done when a PDFPage needs to be drawn, so you need to implement it in your subclass's drawWithBox: method. Use an affine transform set up to serve your needs and apply it to the current graphics context within the drawWithBox: method before drawing the page.

António

--------------------------------------------
I try to take one day at a time, but sometimes, several days attack me all at once!
--------------------------------------------



_______________________________________________

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: PDFKit guidance
      • From: Torsten Curdt <email@hidden>
References: 
 >Re: PDFKit guidance (From: Joel Norvell <email@hidden>)
 >Re: PDFKit guidance (From: Torsten Curdt <email@hidden>)

  • Prev by Date: Re: Cocoa can be used to execute arbitrary (privileged) code !
  • Next by Date: Re: PDFKit guidance
  • Previous by thread: Re: PDFKit guidance
  • Next by thread: Re: PDFKit guidance
  • Index(es):
    • Date
    • Thread