SVGAnimatedNumberOptionalNumber.h [plain text]
#ifndef SVGAnimatedNumberOptionalNumber_h
#define SVGAnimatedNumberOptionalNumber_h
#if ENABLE(SVG)
#include "SVGAnimatedTypeAnimator.h"
namespace WebCore {
class SVGAnimationElement;
class SVGAnimatedNumberOptionalNumberAnimator : public SVGAnimatedTypeAnimator {
public:
SVGAnimatedNumberOptionalNumberAnimator(SVGAnimationElement*, SVGElement*);
virtual ~SVGAnimatedNumberOptionalNumberAnimator() { }
virtual PassOwnPtr<SVGAnimatedType> constructFromString(const String&);
virtual PassOwnPtr<SVGAnimatedType> startAnimValAnimation(const SVGElementAnimatedPropertyList&);
virtual void stopAnimValAnimation(const SVGElementAnimatedPropertyList&);
virtual void resetAnimValToBaseVal(const SVGElementAnimatedPropertyList&, SVGAnimatedType*);
virtual void animValWillChange(const SVGElementAnimatedPropertyList&);
virtual void animValDidChange(const SVGElementAnimatedPropertyList&);
virtual void addAnimatedTypes(SVGAnimatedType*, SVGAnimatedType*);
virtual void calculateAnimatedValue(float percentage, unsigned repeatCount, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*);
virtual float calculateDistance(const String& fromString, const String& toString);
};
}
#endif // ENABLE(SVG)
#endif