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;
}