mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
drop use of bounding box to determine whether an item covers a point; add Item::covers(Duple const&)
Default implementation for Item still uses bounding box, but specializations for Arc (Circle), Polygon, Line and PolyLine have been added
This commit is contained in:
parent
08b485db75
commit
6473cc7cb4
23 changed files with 254 additions and 48 deletions
|
|
@ -104,3 +104,9 @@ LineSet::clear ()
|
|||
_bounding_box_dirty = true;
|
||||
end_change ();
|
||||
}
|
||||
|
||||
bool
|
||||
LineSet::covers (Duple const & /*point*/) const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue