[cairo] PDF device origin?

Ian Britten britten at caris.com
Tue Aug 12 13:56:05 PDT 2008


Hi all,
Is the device origin of the PdfSurface in the lower-left corner, or
in the upper-left?
For some reason, my data is coming out upside-down  :(  I've been
assuming it was lower-left, but now I'm beginning to have doubts...

[ I'm pretty sure the user origin is always lower-left, independent
of the Surface type being used, eh? ]

On a related note, is there anything I can do with a
cairo_matrix_t to flip my data (Top-to-bottom, not left-to-right)
I didn't see any 'flip' type of functions available...

Thanks for any info!
Ian


More information about the cairo mailing list