Skip navigation.
 
mlRe: Scaling CGPDFPageRefs
FROM : David Duncan
DATE : Thu Jan 24 18:48:30 2008

On Jan 24, 2008, at 8:15 AM, Maryanna Rogers wrote:

> Again, what I would like to do, is have an existing bitmap context of
> a given size (128 x 128, for example), and draw scaled subregions of a
> given PDF document page into that bitmap context. Is there a simple
> way to do this?



Do what you would do for any other content you wanted to scale, just 
add an additional scaling transform. For example, if you wanted to 
scale to 200%, you would also call "CGContextScaleCTM(context, 2.0, 
2.0)" before you draw the image.
--
David Duncan
Apple DTS Animation and Printing
david.<email_removed>

Related mailsAuthorDate
mlScaling CGPDFPageRefs Maryanna Rogers Jan 24, 17:15
mlRe: Scaling CGPDFPageRefs David Duncan Jan 24, 18:48
mlRe: Scaling CGPDFPageRefs John Calhoun Jan 24, 23:47
mlRe: Scaling CGPDFPageRefs David Duncan Jan 25, 00:40