_size = 4.0;
_item = new ArdourCanvas::Rectangle (&_line.canvas_group());
- _item->set_fill (false);
+ _item->set_fill (true);
_item->set_fill_color (ARDOUR_UI::config()->get_canvasvar_ControlPointFill());
_item->set_outline_color (ARDOUR_UI::config()->get_canvasvar_ControlPointOutline());
_item->set_data ("control_point", this);
_size = other._size;
_item = new ArdourCanvas::Rectangle (&_line.canvas_group());
- _item->set_fill (false);
+ _item->set_fill (true);
_item->set_outline_color (ARDOUR_UI::config()->get_canvasvar_ControlPointOutline());
/* NOTE: no event handling in copied ControlPoints */
_shape = shape;
}
-void
-ControlPoint::i2w (double& x, double& y) const
+ArdourCanvas::Item&
+ControlPoint::item() const
{
- _item->item_to_canvas (x, y);
+ return *_item;
}