[cairo] Portrait/Landscape?

Behdad Esfahbod behdad at behdad.org
Tue Feb 10 12:27:38 PST 2009


Ian Britten wrote:
> Hi all,
> Does Cairo expose or support anything corresponding to the usual
> Portrait/Landscape setting that a user expects to see, when
> exporting/printing to formats like PS/PDF?
> 
> Or is everything done as if it's all Portrait, and it's up to me
> to simulate Landscape, typically by swapping the width and height,
> setting a rotation angle, etc?

What you said.  Cairo's coordinate system is always the same.  You can change
as you wish using regular matrix operations.

behdad


> I didn't see anything, but I figured I'd double-check...
> 
> Thanks for any info!
> Ian



More information about the cairo mailing list