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

Behdad Esfahbod behdad at behdad.org
Thu Feb 22 08:54:37 PST 2007


On Thu, 2007-02-22 at 09:54 -0500, Olivier Jolet wrote:
> 
> 
> Here is the application reduced. The important part (the graphics
> interpreter) is in the hello.c file in the 'cairo_draw' function. The
> performances are really different with/out the primitive
> cairo_set_line_width (line 175) and using antialiasing or not.

I can't reproduce your numbers.  Perhaps something wrong with your X
server?  All the numbers I get with and without set_line_width are in
the range of 50 to 80 ms.


-- 
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