On Mar 28, 2007, at 10:20 AM, Fabio Mancinelli wrote:
On Mar 28, 2007, at 8:17 AM, Antonio Nunes wrote:
Hi Fabio,
You do not create CFMutableDataRef from a CGPDFPageRef. The
consumer will be the destination of the data from the Quartz
drawing functions. You draw the CGPDFPageRef into the PDF context
created with the consumer. Here is a minimal example:
So actually, when I want to modify an existing page I have to
redraw its content to a newly created page and then do some other
drawings. And I can only do "incremental" operations if I am not
wrong.
Yes, as far as I know you cannot modify the original page data (at
least not the objects on the page, you can change display boxes and
stuff). So you create a new PDF document and draw the original to it,
then you can add to the contents by drawing more.
-António
----------------------------------------------------
It isn't so important to do great things,
as to do what you do with great love.
----------------------------------------------------
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com