Code

Add a warning to sp-object.h to not use some of the new methods
[inkscape.git] / src / libnr / nr-matrix-div.cpp
1 #include "libnr/nr-matrix-ops.h"
2 #include "libnr/nr-point-matrix-ops.h"
4 NR::Point operator/(NR::Point const &p, NR::Matrix const &m) {
5     return p * m.inverse();
6 }
8 NR::Matrix operator/(NR::Matrix const &a, NR::Matrix const &b) {
9     return a * b.inverse();
10 }
13 /*
14   Local Variables:
15   mode:c++
16   c-file-style:"stroustrup"
17   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
18   indent-tabs-mode:nil
19   fill-column:99
20   End:
21 */
22 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :