13
0

fix incorrect coordinate space when drawing first poly-curve line

This commit is contained in:
Paul Davis 2013-06-21 13:56:01 -04:00
parent 1c74a3ab2d
commit a079118981

View File

@ -109,7 +109,7 @@ PolyItem::render_curve (Rect const & area, Cairo::RefPtr<Cairo::Context> context
} else { } else {
Duple c = item_to_window (Duple (i->x, i->y)); Duple c = item_to_window (Duple (i->x, i->y));
context->move_to (i->x, i->y); context->move_to (c.x, c.y);
done_first = true; done_first = true;
} }
} }