bool with_events)
: NoteBase (region, with_events, note)
{
- _polygon = new Polygon (group);
+ _polygon = new ArdourCanvas::Polygon (group);
set_item (_polygon);
}
Coord
Hit::x0 () const
{
- boost::optional<Rect> bbox = _polygon->bounding_box ();
+ boost::optional<ArdourCanvas::Rect> bbox = _polygon->bounding_box ();
assert (bbox);
return bbox.get().x0;
}
Coord
Hit::x1 () const
{
- boost::optional<Rect> bbox = _polygon->bounding_box ();
+ boost::optional<ArdourCanvas::Rect> bbox = _polygon->bounding_box ();
assert (bbox);
return bbox.get().x1;
}
Coord
Hit::y0 () const
{
- boost::optional<Rect> bbox = _polygon->bounding_box ();
+ boost::optional<ArdourCanvas::Rect> bbox = _polygon->bounding_box ();
assert (bbox);
return bbox.get().y0;
}
Coord
Hit::y1 () const
{
- boost::optional<Rect> bbox = _polygon->bounding_box ();
+ boost::optional<ArdourCanvas::Rect> bbox = _polygon->bounding_box ();
assert (bbox);
return bbox.get().y1;
}