mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
basically operational switch to canvas drawing coordinates, although text and waves don't work, and redraw areas are too small
This commit is contained in:
parent
a0c5de281a
commit
77f5f4c4bf
14 changed files with 160 additions and 149 deletions
|
|
@ -37,7 +37,9 @@ Polygon::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
|
|||
render_path (area, context);
|
||||
|
||||
if (!_points.empty ()) {
|
||||
context->move_to (_points.front().x, _points.front().y);
|
||||
/* close path */
|
||||
Duple p = item_to_window (Duple (_points.front().x, _points.front().y));
|
||||
context->move_to (p.x, p.y);
|
||||
}
|
||||
|
||||
context->stroke_preserve ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue