X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fseltrans.h;h=0183683ffe028026dd0bbdd525a0c4e4cd04d5ba;hb=42382dfb4164b919ffcdf03766da9f8be4e43b42;hp=d0ac5dccf5a679d49653cc9d7130999a22bb0ac2;hpb=5298510723002cb748ba289db848223eadb8b217;p=inkscape.git diff --git a/src/seltrans.h b/src/seltrans.h index d0ac5dccf..0183683ff 100644 --- a/src/seltrans.h +++ b/src/seltrans.h @@ -24,6 +24,7 @@ #include "selcue.h" #include "message-context.h" #include +#include "sp-item.h" struct SPKnot; class SPDesktop; @@ -102,7 +103,7 @@ 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 > &points, const Geom::Point &reference); + void _keepClosestPointOnly(std::vector &points, const Geom::Point &reference); void _display_snapsource(); enum State { @@ -117,9 +118,9 @@ private: std::vector _items_affines; std::vector _items_centers; - std::vector > _snap_points; - std::vector > _bbox_points; // the bbox point of the selection as a whole, i.e. max. 4 corners plus optionally some midpoints - std::vector > _bbox_points_for_translating; // the bbox points of each selected item, only to be used for translating + std::vector _snap_points; + std::vector _bbox_points; // the bbox point of the selection as a whole, i.e. max. 4 corners plus optionally some midpoints + std::vector _bbox_points_for_translating; // the bbox points of each selected item, only to be used for translating Inkscape::SelCue _selcue;