Code

Use subdirectories with icon sizes.
[inkscape.git] / src / libnr / nr-scale-matrix-ops.cpp
1 #include "libnr/nr-matrix-ops.h"
3 NR::Matrix
4 operator*(NR::scale const &s, NR::Matrix const &m)
5 {
6     using NR::X; using NR::Y;
7     NR::Matrix ret(m);
8     ret[0] *= s[X];
9     ret[1] *= s[X];
10     ret[2] *= s[Y];
11     ret[3] *= s[Y];
12     return ret;
13 }
16 /*
17   Local Variables:
18   mode:c++
19   c-file-style:"stroustrup"
20   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
21   indent-tabs-mode:nil
22   fill-column:99
23   End:
24 */
25 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :