[Xr] Axis orientation.

Carl Worth cworth at east.isi.edu
Mon Jun 9 18:54:01 PDT 2003


On Jun 9, Owen Taylor wrote:
 > On Mon, 2003-06-09 at 09:27, Roman Bednarek wrote:
 > >    Do you plan to add the ability to choose the Y-axis orientation?
 > 
 > You should be able to do that yourself.

Yup, XrScale(xrs, 1, -1) will reverse Y. Of course, one will also need
to XrTranslate() the origin as appropriate.

 > I don't think there is any restriction on setting a transform that
 > mirrors (a transform with negative determinant, to get technical)

No, no restrictions. (though there may still be a bug or two in the
rendering of caps/joins under a mirrored transform).

-Carl




More information about the cairo mailing list