OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
3 * Copyright (C) 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 26 matching lines...) Expand all Loading... |
37 private: | 37 private: |
38 explicit SVGAnimateMotionElement(Document&); | 38 explicit SVGAnimateMotionElement(Document&); |
39 | 39 |
40 bool hasValidAttributeType() override; | 40 bool hasValidAttributeType() override; |
41 bool hasValidAttributeName() override; | 41 bool hasValidAttributeName() override; |
42 | 42 |
43 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS
tring&) override; | 43 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS
tring&) override; |
44 | 44 |
45 void resetAnimatedType() override; | 45 void resetAnimatedType() override; |
46 void clearAnimatedType() override; | 46 void clearAnimatedType() override; |
| 47 void lockAnimatedType() override { } |
| 48 void unlockAnimatedType() override { } |
47 bool calculateToAtEndOfDurationValue(const String& toAtEndOfDurationString)
override; | 49 bool calculateToAtEndOfDurationValue(const String& toAtEndOfDurationString)
override; |
48 bool calculateFromAndToValues(const String& fromString, const String& toStri
ng) override; | 50 bool calculateFromAndToValues(const String& fromString, const String& toStri
ng) override; |
49 bool calculateFromAndByValues(const String& fromString, const String& byStri
ng) override; | 51 bool calculateFromAndByValues(const String& fromString, const String& byStri
ng) override; |
50 void calculateAnimatedValue(float percentage, unsigned repeatCount, SVGSMILE
lement* resultElement) override; | 52 void calculateAnimatedValue(float percentage, unsigned repeatCount, SVGSMILE
lement* resultElement) override; |
51 void applyResultsToTarget() override; | 53 void applyResultsToTarget() override; |
52 float calculateDistance(const String& fromString, const String& toString) ov
erride; | 54 float calculateDistance(const String& fromString, const String& toString) ov
erride; |
53 | 55 |
54 enum RotateMode { | 56 enum RotateMode { |
55 RotateAngle, | 57 RotateAngle, |
56 RotateAuto, | 58 RotateAuto, |
(...skipping 10 matching lines...) Expand all Loading... |
67 FloatPoint m_toPoint; | 69 FloatPoint m_toPoint; |
68 FloatPoint m_toPointAtEndOfDuration; | 70 FloatPoint m_toPointAtEndOfDuration; |
69 | 71 |
70 Path m_path; | 72 Path m_path; |
71 Path m_animationPath; | 73 Path m_animationPath; |
72 }; | 74 }; |
73 | 75 |
74 } // namespace blink | 76 } // namespace blink |
75 | 77 |
76 #endif // SVGAnimateMotionElement_h | 78 #endif // SVGAnimateMotionElement_h |
OLD | NEW |