[cairo] Uniform Line Widths
behdad at behdad.org
Wed Feb 20 11:17:11 PST 2008
On Wed, 2008-02-20 at 10:39 -0800, Bobby Salazar wrote:
> I currently have a function that accepts a cairo context (with a path already set) and strokes the path with a pre-set width and color. The context can have any arbitrary transformation already applied to it. So given this situation, how would I ensure that I get a uniform line width from the stroke even when they may have applied a deforming scale to the context? Any ideas would be appreciated!
cairo_set_line_width (cr, width);
Have fun with cairo!
"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