[cairo-bugs] [Bug 4441] inverse transformation of line width
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Sep 13 06:44:04 PDT 2005
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=4441
------- Additional Comments From ababo at jura.hu 2005-09-13 06:44 -------
Sorry, this is the correct code to keep the line width:
double lw=cairo_get_line_width(cr);
cairo_user_to_device_distance(cr, &lw, &lw);
cairo_scale(cr, ..., ...);
cairo_device_to_user(cr, &lw, &lw);
cairo_set_line_width(cr, lw);
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the cairo-bugs
mailing list