diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2016-02-07 00:12:34 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2016-02-07 00:12:34 +0000 |
| commit | 7c5342d04a8c59714becfdf0ceb8ea1de4686736 (patch) | |
| tree | ad0d2e79be2855fc85b209f79697ab11509aab4a /src/document.h | |
| parent | Added phantom meassure feature to meassure tool (diff) | |
| download | inkscape-7c5342d04a8c59714becfdf0ceb8ea1de4686736.tar.gz inkscape-7c5342d04a8c59714becfdf0ceb8ea1de4686736.zip | |
Fix for bug 1540518. Improved performance based on previous meassure code comment
Fixed bugs:
- https://launchpad.net/bugs/1540518
(bzr r14635)
Diffstat (limited to 'src/document.h')
| -rw-r--r-- | src/document.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/document.h b/src/document.h index cf8ebc3cb..b4a8a8e8e 100644 --- a/src/document.h +++ b/src/document.h @@ -260,8 +260,8 @@ public: bool addResource(char const *key, SPObject *object); bool removeResource(char const *key, SPObject *object); const std::set<SPObject *> getResourceList(char const *key) const; - std::vector<SPItem*> getItemsInBox(unsigned int dkey, Geom::Rect const &box) const; - std::vector<SPItem*> getItemsPartiallyInBox(unsigned int dkey, Geom::Rect const &box) const; + std::vector<SPItem*> getItemsInBox(unsigned int dkey, Geom::Rect const &box, bool into_groups = false) const; + std::vector<SPItem*> getItemsPartiallyInBox(unsigned int dkey, Geom::Rect const &box, bool into_groups = false) const; SPItem *getItemAtPoint(unsigned int key, Geom::Point const &p, bool into_groups, SPItem *upto = NULL) const; std::vector<SPItem*> getItemsAtPoints(unsigned const key, std::vector<Geom::Point> points, bool all_layers = true, size_t limit = 0) const; SPItem *getGroupAtPoint(unsigned int key, Geom::Point const &p) const; |
