diff options
| author | Jasper van de Gronde <jasper.vandegronde@gmail.com> | 2008-03-21 19:53:10 +0000 |
|---|---|---|
| committer | jaspervdg <jaspervdg@users.sourceforge.net> | 2008-03-21 19:53:10 +0000 |
| commit | 40a243a7a5e67d4f09a82bfbee5babe40ec924b7 (patch) | |
| tree | 5f43830b59a1c448f880a39cd2d23b8cc1058d97 /src/libnr/nr-matrix-scale-ops.cpp | |
| parent | Start working toward multiple inheritance (diff) | |
| download | inkscape-40a243a7a5e67d4f09a82bfbee5babe40ec924b7.tar.gz inkscape-40a243a7a5e67d4f09a82bfbee5babe40ec924b7.zip | |
No more NRMatrix or NRPoint.
(bzr r5149)
Diffstat (limited to 'src/libnr/nr-matrix-scale-ops.cpp')
| -rw-r--r-- | src/libnr/nr-matrix-scale-ops.cpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/libnr/nr-matrix-scale-ops.cpp b/src/libnr/nr-matrix-scale-ops.cpp deleted file mode 100644 index 0079d3f76..000000000 --- a/src/libnr/nr-matrix-scale-ops.cpp +++ /dev/null @@ -1,35 +0,0 @@ -#include "libnr/nr-matrix-ops.h" - -NR::Matrix -operator/(NR::Matrix const &m, NR::scale const &s) -{ - using NR::X; using NR::Y; - NR::Matrix ret(m); - ret[0] /= s[X]; ret[1] /= s[Y]; - ret[2] /= s[X]; ret[3] /= s[Y]; - ret[4] /= s[X]; ret[5] /= s[Y]; - return ret; -} - -NR::Matrix -operator*(NR::Matrix const &m, NR::scale const &s) -{ - using NR::X; using NR::Y; - NR::Matrix ret(m); - ret[0] *= s[X]; ret[1] *= s[Y]; - ret[2] *= s[X]; ret[3] *= s[Y]; - ret[4] *= s[X]; ret[5] *= s[Y]; - return ret; -} - - -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : |
