Code

From trunk
[inkscape.git] / src / sp-item-transform.h
index 8f6cdc24d930c694f88acb593db742f2cac1f9ff..884732abe3f9b5f2a6c9a877606cb7d67e80abb8 100644 (file)
@@ -2,15 +2,15 @@
 #define SP_ITEM_TRANSFORM_H
 
 #include "forward.h"
-#include <libnr/nr-forward.h>
+#include <2geom/forward.h>
 
-void sp_item_rotate_rel(SPItem *item, NR::rotate const &rotation);
-void sp_item_scale_rel (SPItem *item, NR::scale const &scale);
+void sp_item_rotate_rel(SPItem *item, Geom::Rotate const &rotation);
+void sp_item_scale_rel (SPItem *item, Geom::Scale const &scale);
 void sp_item_skew_rel (SPItem *item, double skewX, double skewY);
-void sp_item_move_rel(SPItem *item, NR::translate const &tr);
+void sp_item_move_rel(SPItem *item, Geom::Translate const &tr);
 
-NR::Matrix get_scale_transform_with_stroke (NR::Rect &bbox, gdouble strokewidth, bool transform_stroke, gdouble x0, gdouble y0, gdouble x1, gdouble y1);
-NR::Rect get_visual_bbox (NR::Maybe<NR::Rect> const &initial_geom_bbox, NR::Matrix const &abs_affine, gdouble const initial_strokewidth, bool const transform_stroke);
+Geom::Matrix get_scale_transform_with_stroke (Geom::Rect const &bbox, gdouble strokewidth, bool transform_stroke, gdouble x0, gdouble y0, gdouble x1, gdouble y1);
+Geom::Rect get_visual_bbox (boost::optional<Geom::Rect> const &initial_geom_bbox, Geom::Matrix const &abs_affine, gdouble const initial_strokewidth, bool const transform_stroke);
 
 
 #endif /* !SP_ITEM_TRANSFORM_H */