[cairo] cairo_line_to bug (probably)

calmar mac at calmar.ws
Sat Jan 26 05:49:06 PST 2008

On Sat, Jan 26, 2008 at 01:23:01PM +0000, Øyvind Kolås wrote:
> On Jan 26, 2008 12:42 PM, calmar <mac at calmar.ws> wrote:
> > But when I draw to a point, and sharply back, and sharply forward
> > again (sharpely = the x offset is just 1), it seems to 'overdraw'
> > or so.
> It sounds like you should try issuing:
> cairo_set_line_join (cr, CAIRO_LINE_JOIN_ROUND);
> or
> cairo_set_line_join (cr, CAIRO_LINE_JOIN_BEVEL);

Yeah, that did it (both variants even). I actually thought when
the line width is 1 pixel only, that wouldn't have any effect.

Great anyway!

thanks a lot

PS: going to read about that...

   (o_  It rocks: LINUX + Command-Line-Interface
   V_/_                     http://www.calmar.ws

More information about the cairo mailing list