diff options
Diffstat (limited to 'src/selection.cpp')
| -rw-r--r-- | src/selection.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/selection.cpp b/src/selection.cpp index 413048f5c..ae11a1432 100644 --- a/src/selection.cpp +++ b/src/selection.cpp @@ -446,6 +446,14 @@ std::vector<NR::Point> Selection::getBBoxPoints() const { return p; } +std::vector<NR::Point> Selection::getBBoxPointsOuter() const { + std::vector<NR::Point> p; + NR::Rect bbox = bounds(); + p.push_back(bbox.min()); + p.push_back(bbox.max()); + return p; +} + void Selection::_removeObjectDescendants(SPObject *obj) { GSList *iter, *next; for ( iter = _objs ; iter ; iter = next ) { |
