Code

Fixed const/non-const mismatch loop.
[inkscape.git] / src / sp-item-transform.h
index df87da84c000f0ddd36d4d6fcf2ec8f3dfab365d..893ab5822856a5e9fa70605747334fce81bbac6a 100644 (file)
@@ -2,19 +2,15 @@
 #define SP_ITEM_TRANSFORM_H
 
 #include "forward.h"
-namespace NR {
-class translate;
-class rotate;
-class Rect;
-}
+#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 (Geom::OptRect const &initial_geom_bbox, Geom::Matrix const &abs_affine, gdouble const initial_strokewidth, bool const transform_stroke);
 
 
 #endif /* !SP_ITEM_TRANSFORM_H */
@@ -28,4 +24,4 @@ NR::Rect get_visual_bbox (NR::Maybe<NR::Rect> const &initial_geom_bbox, NR::Matr
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :