diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/svg/SVGAnimateTransformElement.h')
-rw-r--r-- | src/3rdparty/webkit/WebCore/svg/SVGAnimateTransformElement.h | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/src/3rdparty/webkit/WebCore/svg/SVGAnimateTransformElement.h b/src/3rdparty/webkit/WebCore/svg/SVGAnimateTransformElement.h index 9b1f192ebd..c93e69425f 100644 --- a/src/3rdparty/webkit/WebCore/svg/SVGAnimateTransformElement.h +++ b/src/3rdparty/webkit/WebCore/svg/SVGAnimateTransformElement.h @@ -4,8 +4,6 @@ Copyright (C) 2007 Eric Seidel <eric@webkit.org> Copyright (C) 2008 Apple Inc. All Rights Reserved. - This file is part of the KDE 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 @@ -32,34 +30,34 @@ namespace WebCore { - class TransformationMatrix; +class AffineTransform; - class SVGAnimateTransformElement : public SVGAnimationElement { - public: - SVGAnimateTransformElement(const QualifiedName&, Document*); - virtual ~SVGAnimateTransformElement(); - - virtual bool hasValidTarget() const; +class SVGAnimateTransformElement : public SVGAnimationElement { +public: + SVGAnimateTransformElement(const QualifiedName&, Document*); + virtual ~SVGAnimateTransformElement(); + + virtual bool hasValidTarget() const; - virtual void parseMappedAttribute(MappedAttribute*); + virtual void parseMappedAttribute(MappedAttribute*); - private: - virtual void resetToBaseValue(const String&); - virtual bool calculateFromAndToValues(const String& fromString, const String& toString); - virtual bool calculateFromAndByValues(const String& fromString, const String& byString); - virtual void calculateAnimatedValue(float percentage, unsigned repeat, SVGSMILElement* resultElement); - virtual void applyResultsToTarget(); - virtual float calculateDistance(const String& fromString, const String& toString); +private: + virtual void resetToBaseValue(const String&); + virtual bool calculateFromAndToValues(const String& fromString, const String& toString); + virtual bool calculateFromAndByValues(const String& fromString, const String& byString); + virtual void calculateAnimatedValue(float percentage, unsigned repeat, SVGSMILElement* resultElement); + virtual void applyResultsToTarget(); + virtual float calculateDistance(const String& fromString, const String& toString); - SVGTransform parseTransformValue(const String&) const; - - SVGTransform::SVGTransformType m_type; - - unsigned m_baseIndexInTransformList; + SVGTransform parseTransformValue(const String&) const; + + SVGTransform::SVGTransformType m_type; + + unsigned m_baseIndexInTransformList; - SVGTransform m_toTransform; - SVGTransform m_fromTransform; - }; + SVGTransform m_toTransform; + SVGTransform m_fromTransform; +}; } // namespace WebCore |