Skip navigation.
 
mlRe: PDFDocuments and CGPDFDocuments
FROM : John Calhoun
DATE : Mon Jun 02 20:10:16 2008

On May 31, 2008, at 3:43 PM, Kevin Ross wrote:
> My ultimate goal is an application that is like a printer's PDF 
> workflow, that will allow page manipulations like resizing / 
> cropping / adding bleed information, and imposing multiple pages 
> onto one with crop marks and the like.  After researching it seems 
> like some of the functions (imposition with crop marks, page 
> cropping/scaling with/without preserving aspects, etc) are best 
> suited for quartz, while the rest (page reordering/inserting, 
> rotating, etc) have Cocoa APIs.



Well, FWIW, Apple's Preview is cropping in PDF Kit ... basically you 
call -[setBoundsForBox:] on the PDFPage in question.

Additionally you should probably look into subclassing PDFPage. 
Within that domain you can overlay crop marks, apply additional 
transforms, etc.

See PDFCalendar sample code for a PDFPage subclassing example.

John Calhoun—_______________________________________________

Cocoa-dev mailing list (<email_removed>)

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:
http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>

This email sent to <email_removed>

Related mailsAuthorDate
mlPDFDocuments and CGPDFDocuments Kevin Ross May 30, 03:50
mlRe: PDFDocuments and CGPDFDocuments Joel Norvell May 30, 05:52
mlRe: PDFDocuments and CGPDFDocuments John Calhoun May 30, 21:59
mlRe: PDFDocuments and CGPDFDocuments Kevin Ross Jun 1, 00:43
mlRe: PDFDocuments and CGPDFDocuments Kevin Ross Jun 1, 01:03
mlRe: PDFDocuments and CGPDFDocuments John Calhoun Jun 2, 20:10