Re: cairo_path_extents() question
Cosmin Apreutesei <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAKJdRamcd_diJCmj5mYRn+=4QGnOS+c-4tb9eonVdJ0gN6WiHg@mail.gmail.com> |
(sorry for the useless post) - reseting the matrix before querying the extents solves it for path_extents() - gives the extents in device coordinates which is what I needed anyway - but the problem remains for stroke_extents() with width > 1 (see screenshot). Of course I could do the measurements myself but I would need a cairo_copy_stroke_path_flat() for that. Anyway, I ran out of ideas as far as stroke extents are concerned. -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo
screenshot.jpg
(image/jpeg, 10.1 KB) - not displayed