fix incorrect coordinate space when drawing first poly-curve line
This commit is contained in:
parent
1c74a3ab2d
commit
a079118981
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user