Re: PDF zooming
Re: PDF zooming
- Subject: Re: PDF zooming
- From: "R. Scott Thompson" <email@hidden>
- Date: Wed, 22 Sep 2004 09:35:54 -0500
On Sep 22, 2004, at 1:21 AM, Tim Conkling wrote:
Sorry -- I didn't realize until too late that there was more to your
question. I'm currently using the CGPDF* functions to draw the PDF.
All you need to do is use CGContextScaleCTM to change the scale of the
current coordinate system so that it matches the size you want the PDF
to draw. For example, to draw the PDF at 200% you would use:
CGContextSaveGState(cgContext);
CGContextScaleCTM(cgContext, 2.0, 2.0); // scaling 2x or 200%
CGContextDrawPDFDocument(... your arguments here...)
CTContextRestoreGState(cgContext); // undo the scaling for other
drawing.
Scott
--
Macintosh Software Engineering Consulting Services
Visit my resume at <http://homepage.mac.com/easco/RSTResume.html>
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden