• 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
PDFDocument and PDFPage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PDFDocument and PDFPage


  • Subject: PDFDocument and PDFPage
  • From: Fabio Mancinelli <email@hidden>
  • Date: Mon, 02 Oct 2006 01:17:25 +0200

Hello all.

I would like to do a sort-of slideshow using pages from a PDF file.
I started with rendering a page in the following way:

1) Loaded a PDF using PDFDocument
2) Extracted a page with PDFPage
3) Got the data representation
4) Created a NSImage with it
5) Painted the image on a custom view.

Now the problem is how to scale the PDFPage so that the created image fit the size of the custom view.

Basically I would like to mimic some of the behaviors of PDFView (zoom in/zoom out) but I don't want to use it because I would like to apply Quartz transitions between the page switches.

Does anyone know a way to achieve this?

Thank you.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: PDFDocument and PDFPage
      • From: Antonio Nunes <email@hidden>
  • Prev by Date: Re: Cannot Access Data File
  • Next by Date: Re: Distributed Objects, delegates, and retain cycles
  • Previous by thread: Re: Cannot Access Data File
  • Next by thread: Re: PDFDocument and PDFPage
  • Index(es):
    • Date
    • Thread