Re: NSImage to PDFPage in Tiger?
Re: NSImage to PDFPage in Tiger?
- Subject: Re: NSImage to PDFPage in Tiger?
- From: John Calhoun <email@hidden>
- Date: Wed, 2 Jan 2008 13:25:45 -0800
On Dec 21, 2007, at 11:56 AM, Jerry LeVan wrote:
The only thing holding back the Universal version of my app from
being on a par
with the Leopard version is a replacement for the PDFPage method -
initWithImage.
There is sample code about (PDFCalendar I think) that shows you a way
to do this using a PDFPage subclass. The PDFPage's draw and bounds
methods are overridden, The bounds method will return the image
bounds and the draw method displays the image. This "PDFPage" object
can be added to a PDFDocument.
john calhoun—_______________________________________________
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