KHTML
Go to the documentation of this file.
24 #ifndef SVGAnimateElement_h
25 #define SVGAnimateElement_h
27 #if ENABLE(SVG) && ENABLE(SVG_ANIMATION)
33 class SVGAnimateElement :
public SVGAnimationElement {
35 SVGAnimateElement(
const QualifiedName&, Document*);
36 virtual ~SVGAnimateElement();
39 virtual const SVGElement* contextElement()
const {
return this; }
41 virtual void resetToBaseValue(
const String&);
42 virtual bool calculateFromAndToValues(
const String& fromString,
const String& toString);
43 virtual bool calculateFromAndByValues(
const String& fromString,
const String& byString);
44 virtual void calculateAnimatedValue(
float percentage,
unsigned repeat, SVGSMILElement* resultElement);
45 virtual void applyResultsToTarget();
46 virtual float calculateDistance(
const String& fromString,
const String& toString);
49 enum PropertyType { NumberProperty, ColorProperty, StringProperty };
50 PropertyType determinePropertyType(
const String& attribute)
const;
51 PropertyType m_propertyType;
55 double m_animatedNumber;
59 Color m_animatedColor;
68 #endif // SVGAnimateElement_h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:19 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.