554b5790adad775d12f6f27d34bdf142658f839c
1 #include "libnr/nr-matrix-ops.h"
3 namespace NR {
5 Matrix
6 operator*(Matrix const &m, translate const &t)
7 {
8 Matrix ret(m);
9 ret[4] += t[X];
10 ret[5] += t[Y];
11 return ret;
12 }
14 } // namespace NR
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:encoding=utf-8:textwidth=99 :