summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGTransformable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGTransformable.cpp')
-rw-r--r--WebCore/svg/SVGTransformable.cpp55
1 files changed, 21 insertions, 34 deletions
diff --git a/WebCore/svg/SVGTransformable.cpp b/WebCore/svg/SVGTransformable.cpp
index d710a34..a47cd1f 100644
--- a/WebCore/svg/SVGTransformable.cpp
+++ b/WebCore/svg/SVGTransformable.cpp
@@ -1,25 +1,23 @@
/*
- Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
- 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
- 2007 Eric Seidel <eric@webkit.org>
-
- This file is part of the WebKit project
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
+ * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
+ * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
+ * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
#include "config.h"
@@ -35,7 +33,8 @@
namespace WebCore {
-SVGTransformable::SVGTransformable() : SVGLocatable()
+SVGTransformable::SVGTransformable()
+ : SVGLocatable()
{
}
@@ -43,18 +42,6 @@ SVGTransformable::~SVGTransformable()
{
}
-AffineTransform SVGTransformable::getCTM(const SVGElement* element) const
-{
- AffineTransform ctm = SVGLocatable::getCTM(element);
- return animatedLocalTransform() * ctm;
-}
-
-AffineTransform SVGTransformable::getScreenCTM(const SVGElement* element) const
-{
- AffineTransform ctm = SVGLocatable::getScreenCTM(element);
- return animatedLocalTransform() * ctm;
-}
-
static int parseTransformParamList(const UChar*& ptr, const UChar* end, float* values, int required, int optional)
{
int optionalParams = 0, requiredParams = 0;