This source file includes following definitions.
- add
- calculateAnimatedValue
- calculateDistance
#include "config.h"
#include "core/svg/SVGString.h"
#include "core/svg/SVGAnimateElement.h"
namespace WebCore {
void SVGString::add(PassRefPtr<SVGPropertyBase>, SVGElement*)
{
ASSERT_NOT_REACHED();
}
void SVGString::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> from, PassRefPtr<SVGPropertyBase> to, PassRefPtr<SVGPropertyBase>, SVGElement*)
{
ASSERT(animationElement);
String fromString = toSVGString(from)->m_value;
String toString = toSVGString(to)->m_value;
animationElement->animateDiscreteType<String>(percentage, fromString, toString, m_value);
}
float SVGString::calculateDistance(PassRefPtr<SVGPropertyBase>, SVGElement*)
{
return -1;
}
}