[cairo] After 'set_line_width', subsequent stroking isslow

Olivier Jolet olivier.jolet at skynet.be
Thu Mar 1 00:04:44 PST 2007


> On 2/23/07, Olivier Jolet <olivier.jolet at skynet.be> wrote:
> > > 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
> >
> > Strange, I've tested on various machines, and each time, the values
I
> > get with set_line_width are much higher.
> 
> Any update on this Olivier? It seems that no one has been able to
> reproduce your problem. Do you still have it?
> 
> Dan

I still have a difference using or not cairo_set_line_width. But I
reduced the variation using amongst other things par values for the
line_width. 




More information about the cairo mailing list