diff options
Diffstat (limited to 'WebCore/svg/SVGTransformList.cpp')
-rw-r--r-- | WebCore/svg/SVGTransformList.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/svg/SVGTransformList.cpp b/WebCore/svg/SVGTransformList.cpp index 9800922..ed457f4 100644 --- a/WebCore/svg/SVGTransformList.cpp +++ b/WebCore/svg/SVGTransformList.cpp @@ -23,7 +23,7 @@ #include "config.h" #if ENABLE(SVG) -#include "AffineTransform.h" +#include "TransformationMatrix.h" #include "SVGTransform.h" #include "SVGSVGElement.h" #include "SVGTransformDistance.h" @@ -40,7 +40,7 @@ SVGTransformList::~SVGTransformList() { } -SVGTransform SVGTransformList::createSVGTransformFromMatrix(const AffineTransform& matrix) const +SVGTransform SVGTransformList::createSVGTransformFromMatrix(const TransformationMatrix& matrix) const { return SVGSVGElement::createSVGTransformFromMatrix(matrix); } @@ -57,7 +57,7 @@ SVGTransform SVGTransformList::concatenate() const if (!length) return SVGTransform(); - AffineTransform matrix; + TransformationMatrix matrix; ExceptionCode ec = 0; for (unsigned int i = 0; i < length; i++) matrix = getItem(i, ec).matrix() * matrix; @@ -87,7 +87,7 @@ String SVGTransformList::valueAsString() const // TODO: We may want to build a real transform string, instead of concatting to a matrix(...). SVGTransform transform = concatenate(); if (transform.type() == SVGTransform::SVG_TRANSFORM_MATRIX) { - AffineTransform matrix = transform.matrix(); + TransformationMatrix matrix = transform.matrix(); return String::format("matrix(%f %f %f %f %f %f)", matrix.a(), matrix.b(), matrix.c(), matrix.d(), matrix.e(), matrix.f()); } |