summaryrefslogtreecommitdiffstats
path: root/src/seltrans.h
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2007-04-08 21:07:29 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2007-04-08 21:07:29 +0000
commit8417209743e184c46d7ec845928bfbee5f8d8d77 (patch)
tree9c9e0738f2cc3c3d7b4c8007dafd5e3f98750a8f /src/seltrans.h
parentCorrected jumping and alignment of coordinates in status. (diff)
downloadinkscape-8417209743e184c46d7ec845928bfbee5f8d8d77.tar.gz
inkscape-8417209743e184c46d7ec845928bfbee5f8d8d77.zip
Changes to the selector tool, e.g. option to choose either APPROXIMATE_BBOX or GEOMETRIC_BBOX
(bzr r2833)
Diffstat (limited to 'src/seltrans.h')
-rw-r--r--src/seltrans.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/seltrans.h b/src/seltrans.h
index df4b4d77b..74734cdd8 100644
--- a/src/seltrans.h
+++ b/src/seltrans.h
@@ -117,14 +117,17 @@ private:
bool _empty;
bool _changed;
- NR::Maybe<NR::Rect> _box;
+ SPItem::BBoxType _snap_bbox_type;
+
+ NR::Maybe<NR::Rect> _bbox;
+ NR::Maybe<NR::Rect> _approximate_bbox;
gdouble _strokewidth;
NR::Matrix _current;
NR::Point _opposite; ///< opposite point to where a scale is taking place
- NR::Point _opposite_for_snappoints;
+ NR::Point _opposite_for_specpoints;
NR::Point _opposite_for_bboxpoints;
- NR::Point _origin_for_snappoints;
+ NR::Point _origin_for_specpoints;
NR::Point _origin_for_bboxpoints;
NR::Maybe<NR::Point> _center;