summaryrefslogtreecommitdiffstats
path: root/src/seltrans.h
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2007-03-11 19:57:07 +0000
committermental <mental@users.sourceforge.net>2007-03-11 19:57:07 +0000
commit58b0e69b7336a8a06c447cf786f73df903120e53 (patch)
tree7b4e064fee2a8813127b3c1f3ee3a68425d8990c /src/seltrans.h
parentAdd ctrl+click to paint bucket to change clicked object's fill and stroke to ... (diff)
downloadinkscape-58b0e69b7336a8a06c447cf786f73df903120e53.tar.gz
inkscape-58b0e69b7336a8a06c447cf786f73df903120e53.zip
Switch selection bounds and center to use NR::Maybe, addressing most of the
recent bbox regressions. (bzr r2604)
Diffstat (limited to 'src/seltrans.h')
-rw-r--r--src/seltrans.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/seltrans.h b/src/seltrans.h
index 8d527ca5c..e8aee252e 100644
--- a/src/seltrans.h
+++ b/src/seltrans.h
@@ -105,7 +105,6 @@ private:
std::vector<NR::Point> _snap_points;
std::vector<NR::Point> _bbox_points;
- std::vector<NR::Point> _bbox_4points;
Inkscape::SelCue _selcue;
@@ -118,12 +117,12 @@ private:
bool _empty;
bool _changed;
- NR::Rect _box;
+ NR::Maybe<NR::Rect> _box;
gdouble _strokewidth;
NR::Matrix _current;
NR::Point _opposite; ///< opposite point to where a scale is taking place
- NR::Point _center;
+ NR::Maybe<NR::Point> _center;
bool _center_is_set; ///< we've already set _center, no need to reread it from items
SPKnot *_shandle[8];