1 #ifndef SP_ITEM_TRANSFORM_H
2 #define SP_ITEM_TRANSFORM_H
4 #include "forward.h"
5 #include <2geom/forward.h>
7 void sp_item_rotate_rel(SPItem *item, Geom::Rotate const &rotation);
8 void sp_item_scale_rel (SPItem *item, Geom::Scale const &scale);
9 void sp_item_skew_rel (SPItem *item, double skewX, double skewY);
10 void sp_item_move_rel(SPItem *item, Geom::Translate const &tr);
12 Geom::Matrix get_scale_transform_with_stroke (Geom::Rect const &bbox, gdouble strokewidth, bool transform_stroke, gdouble x0, gdouble y0, gdouble x1, gdouble y1);
13 Geom::Rect get_visual_bbox (Geom::OptRect const &initial_geom_bbox, Geom::Matrix const &abs_affine, gdouble const initial_strokewidth, bool const transform_stroke);
16 #endif /* !SP_ITEM_TRANSFORM_H */
18 /*
19 Local Variables:
20 mode:c++
21 c-file-style:"stroustrup"
22 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
23 indent-tabs-mode:nil
24 fill-column:99
25 End:
26 */
27 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :