[cairo] After 'set_line_width', subsequent stroking is slow [ Background image]

Behdad Esfahbod behdad at behdad.org
Wed Feb 21 06:57:07 PST 2007

On Wed, 2007-02-21 at 03:03 -0500, Olivier Jolet wrote:
> > On 2/20/07, Olivier Jolet <olivier.jolet at skynet.be> wrote:
> > > Also, I have another problem of performance, if I use the
> > > 'cairo_set_line_width' primitive, it is very much slower. I don't
> > > understand why there is a such difference? 

So what are you setting line width to and what coordinates are you using
for stroking?  Depending on those, the drawn line may completely include
opaque pixels (fast), or composited antialiased translucent pixels


"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