[cairo] bug: result depends on 'right/left'

calmar mac at calmar.ws
Sun Apr 13 13:55:05 PDT 2008


I did not double check that but well:

Assuming line width is 1 pixel.

When I want a point at position 10,10, I can achive this with:

| cairo_move_to 10,10 + cairo_line_to 11,11
| or
| cairo_move_to 11,10 + cairo_line_to 10,10

that seems to be quite complex to handle - thinking about if you
draw from left to right or vice versa

Theoretically in both cases there should be a line 2 pixels long?

Anyway, maybe I err


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

More information about the cairo mailing list