1 #ifndef SP_ITEM_TRANSFORM_H
2 #define SP_ITEM_TRANSFORM_H
4 #include "forward.h"
5 namespace NR {
6 class translate;
7 class rotate;
8 class Rect;
9 }
11 void sp_item_rotate_rel(SPItem *item, NR::rotate const &rotation);
12 void sp_item_scale_rel (SPItem *item, NR::scale const &scale);
13 void sp_item_skew_rel (SPItem *item, double skewX, double skewY);
14 void sp_item_move_rel(SPItem *item, NR::translate const &tr);
16 NR::Matrix get_scale_transform_with_stroke (NR::Rect &bbox, gdouble strokewidth, bool transform_stroke, gdouble x0, gdouble y0, gdouble x1, gdouble y1);
18 #endif /* !SP_ITEM_TRANSFORM_H */
20 /*
21 Local Variables:
22 mode:c++
23 c-file-style:"stroustrup"
24 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
25 indent-tabs-mode:nil
26 fill-column:99
27 End:
28 */
29 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :