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:
Paul Davis 2013-11-04 11:56:10 -05:00
parent 08b485db75
commit 6473cc7cb4
23 changed files with 254 additions and 48 deletions

View file

@ -97,7 +97,6 @@ public:
double gradient_depth() const { return _gradient_depth; }
void set_shape (Shape);
/* currently missing because we don't need them (yet):
set_shape_independent();
set_logscaled_independent()