summaryrefslogtreecommitdiffstats
path: root/src/selection.h
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2011-09-04 18:11:51 +0000
committerDiederik van Lierop <mail@diedenrezi.nl>2011-09-04 18:11:51 +0000
commit1c0a4eca434ada5675c6edc476325b7bb64da1a6 (patch)
tree75c5ac045388b1be8cedc8ac8f8177f10c7bea38 /src/selection.h
parentAllow changing dimensions of vertical/horizontal lines using the numeric inpu... (diff)
downloadinkscape-1c0a4eca434ada5675c6edc476325b7bb64da1a6.tar.gz
inkscape-1c0a4eca434ada5675c6edc476325b7bb64da1a6.zip
1) Fix absolute scaling in transform dialog
2) Transform dialog now follows the user prefs for geometric vs. visual bounding box (bzr r10615)
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;