[cairo] how to interprete extents of rotated path

Theo Veenker Theo.Veenker at let.uu.nl
Mon May 26 13:07:26 PDT 2008


Hi,

I'm trying to get the bounding box of a path using cairo_stroke_extents().
The returned numbers are OK when the path is not rotated, but when it is
rotated the bounding box returned doesn't make sense to me.
See http://www.let.uu.nl/~Theo.Veenker/personal/extents/ for my test
program and two images.

What am I doing wrong here?

Theo


More information about the cairo mailing list