| 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 void currentValuesForValuesAnimation(float percent, float& effectivePercent,
String& from, String& to); | 217 void currentValuesForValuesAnimation(float percent, float& effectivePercent,
String& from, String& to); |
| 218 void calculateKeyTimesForCalcModePaced(); | 218 void calculateKeyTimesForCalcModePaced(); |
| 219 float calculatePercentFromKeyPoints(float percent) const; | 219 float calculatePercentFromKeyPoints(float percent) const; |
| 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) | |
| 228 END_DECLARE_ANIMATED_PROPERTIES | |
| 229 | |
| 230 void setCalcMode(const AtomicString&); | 227 void setCalcMode(const AtomicString&); |
| 231 | 228 |
| 232 bool m_animationValid; | 229 bool m_animationValid; |
| 233 | 230 |
| 234 AttributeType m_attributeType; | 231 AttributeType m_attributeType; |
| 235 Vector<String> m_values; | 232 Vector<String> m_values; |
| 236 // FIXME: We should probably use doubles for this, but there's no point | 233 // FIXME: We should probably use doubles for this, but there's no point |
| 237 // making such a change unless all SVG logic for sampling animations is | 234 // making such a change unless all SVG logic for sampling animations is |
| 238 // changed to use doubles. | 235 // changed to use doubles. |
| 239 Vector<float> m_keyTimes; | 236 Vector<float> m_keyTimes; |
| 240 Vector<float> m_keyPoints; | 237 Vector<float> m_keyPoints; |
| 241 Vector<UnitBezier> m_keySplines; | 238 Vector<UnitBezier> m_keySplines; |
| 242 String m_lastValuesAnimationFrom; | 239 String m_lastValuesAnimationFrom; |
| 243 String m_lastValuesAnimationTo; | 240 String m_lastValuesAnimationTo; |
| 244 bool m_hasInvalidCSSAttributeType; | 241 bool m_hasInvalidCSSAttributeType; |
| 245 CalcMode m_calcMode; | 242 CalcMode m_calcMode; |
| 246 AnimationMode m_animationMode; | 243 AnimationMode m_animationMode; |
| 247 }; | 244 }; |
| 248 | 245 |
| 249 } // namespace WebCore | 246 } // namespace WebCore |
| 250 | 247 |
| 251 #endif // SVGAnimationElement_h | 248 #endif // SVGAnimationElement_h |
| OLD | NEW |