• 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: PDFDocuments and CGPDFDocuments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PDFDocuments and CGPDFDocuments


  • Subject: Re: PDFDocuments and CGPDFDocuments
  • From: Kevin Ross <email@hidden>
  • Date: Sat, 31 May 2008 16:03:18 -0700

Whoops, I sent this yesterday but didn't hit reply-all...

Thanks Joel, I just took a look at the PDFAnnotationEditor example. It seems to be doing all of it's transformations in the PDFView subclass. I'm not sure if I am able to do this since I would like to perform the impositions by working strictly with the data of the PDFDocument.

David's book is fantastic, I'm been using it plus a lot of inspiration to get to where I am now. It has been essential on this journey.

In my naiveté, I had hoped that I could cast between the two with a smaller performance penalty than converting PDFDocument -> NSData -> CGPDFDocumentRef. Needless to say, there has been no headway on that front.

I currently have an "Initilalizing..." document modal window activate when I'm initializing the CGPDFDocumentRef so it's not too bad, it would just be nice to avoid this behavior completely.

I realize that perhaps this question might be better suited for quartz- dev, thank you for your insight!

- Kevin

On May 29, 2008, at 8:52 PM, Joel Norvell wrote:

Kevin,

The PDFAnnotationEditor example program does a lot of this sort of thing; have
you looked at it?


Also, any operation you can perform on an NSView also applies to a PDFView;
plus you have the additional PDFView protocol.


Other pertinent resources would be Apple's quartz-dev list and David Gelphman's
beautiful book, Programming With Quartz.


HTH,
Joel





_______________________________________________

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

_______________________________________________

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


References: 
 >Re: PDFDocuments and CGPDFDocuments (From: Joel Norvell <email@hidden>)

  • Prev by Date: Re: PDFDocuments and CGPDFDocuments
  • Next by Date: Re: Copying NSTextStorage
  • Previous by thread: Re: PDFDocuments and CGPDFDocuments
  • Next by thread: Re: Re: newbie question: menu item appears when app runs, but is not visible in NIB
  • Index(es):
    • Date
    • Thread