[cairo] cairo_path_extents() question

Simon Sapin simon.sapin at exyr.org
Mon Oct 8 01:57:53 PDT 2012


Le 08/10/2012 03:35, Cosmin Apreutesei a écrit :
> Interesting, if I reset the current matrix to identity just before
> getting the path extents, I get the correct box. Is this a bug?

Hi,

I’m not sure if this answers your question, but cairo_path_extents gives 
a result in user-space coordinates, so it is affected by any change to 
the current transformation matrix.

Cheers,
-- 
Simon Sapin


More information about the cairo mailing list