[cairo] cairo_line_to bug (probably)

Øyvind Kolås pippin at gimp.org
Sat Jan 26 05:23:01 PST 2008

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);
cairo_set_line_join (cr, CAIRO_LINE_JOIN_BEVEL);

before stroking the path.

/Øyvind K.

«The future is already here. It's just not very evenly distributed»
                                                 -- William Gibson
http://pippin.gimp.org/                            http://ffii.org/

More information about the cairo mailing list