OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
5 * Copyright (C) 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2008 Apple Inc. All rights reserved. |
6 * Copyright (C) 2008 Cameron McCormack <cam@mcc.id.au> | 6 * Copyright (C) 2008 Cameron McCormack <cam@mcc.id.au> |
7 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 7 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 void currentValuesFromKeyPoints(float percent, float& effectivePercent, Stri
ng& from, String& to) const; | 220 void currentValuesFromKeyPoints(float percent, float& effectivePercent, Stri
ng& from, String& to) const; |
221 float calculatePercentForSpline(float percent, unsigned splineIndex) const; | 221 float calculatePercentForSpline(float percent, unsigned splineIndex) const; |
222 float calculatePercentForFromTo(float percent) const; | 222 float calculatePercentForFromTo(float percent) const; |
223 unsigned calculateKeyTimesIndex(float percent) const; | 223 unsigned calculateKeyTimesIndex(float percent) const; |
224 | 224 |
225 void adjustForInheritance(SVGElement* targetElement, const QualifiedName& at
tributeName, String&); | 225 void adjustForInheritance(SVGElement* targetElement, const QualifiedName& at
tributeName, String&); |
226 | 226 |
227 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAnimationElement) | 227 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAnimationElement) |
228 END_DECLARE_ANIMATED_PROPERTIES | 228 END_DECLARE_ANIMATED_PROPERTIES |
229 | 229 |
230 // SVGTests | |
231 virtual void synchronizeRequiredFeatures() OVERRIDE FINAL { SVGTests::synchr
onizeRequiredFeatures(this); } | |
232 virtual void synchronizeRequiredExtensions() OVERRIDE FINAL { SVGTests::sync
hronizeRequiredExtensions(this); } | |
233 virtual void synchronizeSystemLanguage() OVERRIDE FINAL { SVGTests::synchron
izeSystemLanguage(this); } | |
234 | |
235 void setCalcMode(const AtomicString&); | 230 void setCalcMode(const AtomicString&); |
236 | 231 |
237 bool m_animationValid; | 232 bool m_animationValid; |
238 | 233 |
239 AttributeType m_attributeType; | 234 AttributeType m_attributeType; |
240 Vector<String> m_values; | 235 Vector<String> m_values; |
241 // FIXME: We should probably use doubles for this, but there's no point | 236 // FIXME: We should probably use doubles for this, but there's no point |
242 // making such a change unless all SVG logic for sampling animations is | 237 // making such a change unless all SVG logic for sampling animations is |
243 // changed to use doubles. | 238 // changed to use doubles. |
244 Vector<float> m_keyTimes; | 239 Vector<float> m_keyTimes; |
245 Vector<float> m_keyPoints; | 240 Vector<float> m_keyPoints; |
246 Vector<UnitBezier> m_keySplines; | 241 Vector<UnitBezier> m_keySplines; |
247 String m_lastValuesAnimationFrom; | 242 String m_lastValuesAnimationFrom; |
248 String m_lastValuesAnimationTo; | 243 String m_lastValuesAnimationTo; |
249 bool m_hasInvalidCSSAttributeType; | 244 bool m_hasInvalidCSSAttributeType; |
250 CalcMode m_calcMode; | 245 CalcMode m_calcMode; |
251 AnimationMode m_animationMode; | 246 AnimationMode m_animationMode; |
252 }; | 247 }; |
253 | 248 |
254 } // namespace WebCore | 249 } // namespace WebCore |
255 | 250 |
256 #endif // SVGAnimationElement_h | 251 #endif // SVGAnimationElement_h |
OLD | NEW |