diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-06-18 02:13:41 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-06-18 02:13:41 +0000 |
| commit | 8086024a530b8879b0add9a245f339c664b0690a (patch) | |
| tree | 6c82a534658b4fa7ba792932ef233b924ab600a3 /src/2geom/transforms.cpp | |
| parent | Temporary shortcut for LPEParallel in pen tool (diff) | |
| download | inkscape-8086024a530b8879b0add9a245f339c664b0690a.tar.gz inkscape-8086024a530b8879b0add9a245f339c664b0690a.zip | |
update 2geom
(bzr r5977)
Diffstat (limited to 'src/2geom/transforms.cpp')
| -rw-r--r-- | src/2geom/transforms.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/2geom/transforms.cpp b/src/2geom/transforms.cpp index 0a27c31f6..b2f305d18 100644 --- a/src/2geom/transforms.cpp +++ b/src/2geom/transforms.cpp @@ -45,6 +45,12 @@ Matrix operator*(Matrix const &m, Scale const &s) { return ret; } +Matrix operator*(Matrix const &m, Rotate const &r) { + Matrix ret(m); + ret *= (Matrix) r; + return ret; +} + Translate pow(Translate const &t, int n) { return Translate(t[0]*n, t[1]*n); } |
