Code

Patch by Tavmjong for 451588
[inkscape.git] / src / sp-item-transform.h
index 26258a1fe7567bd55f88c6984633b15ceede71b6..40bf0fa4e2d500cc4e2f60942c8a701d25750f22 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 (boost::optional<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 (Geom::OptRect const &initial_geom_bbox, Geom::Matrix const &abs_affine, gdouble const initial_strokewidth, bool const transform_stroke);
 
 
 #endif /* !SP_ITEM_TRANSFORM_H */