summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGPointList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGPointList.cpp')
-rw-r--r--WebCore/svg/SVGPointList.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/svg/SVGPointList.cpp b/WebCore/svg/SVGPointList.cpp
index 3be16ea..8a3d870 100644
--- a/WebCore/svg/SVGPointList.cpp
+++ b/WebCore/svg/SVGPointList.cpp
@@ -54,6 +54,11 @@ String SVGPointList::valueAsString() const
return result;
}
+float inline adjustAnimatedValue(float from, float to, float progress)
+{
+ return (to - from) * progress + from;
+}
+
PassRefPtr<SVGPointList> SVGPointList::createAnimated(const SVGPointList* fromList, const SVGPointList* toList, float progress)
{
unsigned itemCount = fromList->numberOfItems();