From 53933f5fea9d07d1ba6304b88439fba257ee8c34 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Wed, 2 Feb 2011 22:24:36 +0100 Subject: update to latest 2geom ! (bzr r10025) --- src/transf_mat_3x4.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/transf_mat_3x4.cpp') diff --git a/src/transf_mat_3x4.cpp b/src/transf_mat_3x4.cpp index 533972e29..20eee658c 100644 --- a/src/transf_mat_3x4.cpp +++ b/src/transf_mat_3x4.cpp @@ -13,7 +13,7 @@ #include "transf_mat_3x4.h" #include -#include <2geom/matrix.h> +#include <2geom/affine.h> #include "svg/stringstream.h" #include "syseq.h" #include "document.h" @@ -133,7 +133,7 @@ TransfMat3x4::operator==(const TransfMat3x4 &rhs) const /* Multiply a projective matrix by an affine matrix (by only multiplying the 'affine part' of the * projective matrix) */ TransfMat3x4 -TransfMat3x4::operator*(Geom::Matrix const &A) const { +TransfMat3x4::operator*(Geom::Affine const &A) const { TransfMat3x4 ret; for (int j = 0; j < 4; ++j) { @@ -148,7 +148,7 @@ TransfMat3x4::operator*(Geom::Matrix const &A) const { // FIXME: Shouldn't rather operator* call operator*= for efficiency? (Because in operator*= // there is in principle no need to create a temporary object, which happens in the assignment) TransfMat3x4 & -TransfMat3x4::operator*=(Geom::Matrix const &A) { +TransfMat3x4::operator*=(Geom::Affine const &A) { *this = *this * A; return *this; } -- cgit v1.2.3