[cairo] Line widths and coordinate system transformations
Behdad Esfahbod
behdad at behdad.org
Thu Jun 5 10:39:07 PDT 2008
On Thu, 2008-06-05 at 16:25 +0200, Holger Berndt wrote:
>
>
> Thanks a lot, Dirk and Simon. Having different scalings during path
> creation and stroking of course does the trick. Awesome!
So to summarize, this is what you want:
cairo_save (cr);
cairo_identity_matrix (cr);
cairo_set_line_width (cr, line_width);
cairo_stroke (cr);
cairo_restore (cr);
> Holger
--
behdad
http://behdad.org/
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
More information about the cairo
mailing list