summaryrefslogtreecommitdiffstats
path: root/src/selection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/selection.h')
-rw-r--r--src/selection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/selection.h b/src/selection.h
index af0facc3d..39e75685e 100644
--- a/src/selection.h
+++ b/src/selection.h
@@ -247,6 +247,9 @@ public:
Geom::OptRect bounds(SPItem::BBoxType type) const;
Geom::OptRect visualBounds() const;
Geom::OptRect geometricBounds() const;
+ /** @brief Returns either the visual or geometric bounding rectangle of the selection, based on the
+ * preferences specified for the selector tool */
+ Geom::OptRect preferredBounds() const;
/// Returns the bounding rectangle of the selectionin document coordinates.
Geom::OptRect documentBounds(SPItem::BBoxType type) const;