[cairo] Fwd: Re: Uniform Line Widths

Behdad Esfahbod behdad at behdad.org
Mon Feb 25 14:23:34 PST 2008

On Mon, 2008-02-25 at 00:28 -0800, Bill Spitzak wrote:
> > One thing these changes mean is that for example, if you have a
> routine
> > draw_happy_face(cr), then just cairo_scale()ing before calling that
> > routine doesn't linearly enlarge the drawing.  because the stroke
> width
> > is not scaled anymore, and the font size is not scaled either.
> That's a
> > serious change in semantics.
> Well that is the entire point of this change. Most people do NOT
> expect 
> the lines to get thicker. The Cairo and PostScript behavior is
> *bizarre* 
> and not at all what is wanted by anybody trying to draw graphics.

You are right.  If the draw_happy_face(cr) doesn't set the line width,
it's its bug.


"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