Re: cairo_path_extents() question
Cosmin Apreutesei <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAKJdRakpzX0fzQUM2ZPrgxAaioZDu7Znf8KtX+VsnavDG7=9UA@mail.gmail.com> |
> 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. In the above case there's a 45deg-rotated-around-origin space in which I draw a 50deg circle around origin. Shouldn't the box be 100x100 either way? The 141x141 box looks like the result of computing the 100x100 box, transforming it by current matrix and then computing the bounding box of that box again, resulting in the 141x141 box I see. -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo