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 (Cocoa-dev@lists.apple.com) 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/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]