Code

Warning cleanup.
[inkscape.git] / src / seltrans.h
index 64ced3dc5fa3e2521d38582ab1336e79df516938..42effff7c03dfb4e2eff255362ba5bb44884fe5a 100644 (file)
@@ -102,6 +102,8 @@ private:
     Geom::Point _getGeomHandlePos(Geom::Point const &visual_handle_pos);
     Geom::Point _calcAbsAffineDefault(Geom::Scale const default_scale);
     Geom::Point _calcAbsAffineGeom(Geom::Scale const geom_scale);
+    void _keepClosestPointOnly(std::vector<Geom::Point> &points, const Geom::Point &reference);
+    void _display_snapsource();
 
     enum State {
         STATE_SCALE, //scale or stretch
@@ -131,9 +133,9 @@ private:
 
     SPItem::BBoxType _snap_bbox_type;
     
-    boost::optional<Geom::Rect> _bbox;
-    boost::optional<Geom::Rect> _approximate_bbox;
-    boost::optional<Geom::Rect> _geometric_bbox;
+    Geom::OptRect _bbox;
+    Geom::OptRect _approximate_bbox;
+    Geom::OptRect _geometric_bbox;
     gdouble _strokewidth;
     
     Geom::Matrix _current_relative_affine;