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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 float calculateDistance(const String& fromString, | 60 float calculateDistance(const String& fromString, |
61 const String& toString) override; | 61 const String& toString) override; |
62 | 62 |
63 enum RotateMode { RotateAngle, RotateAuto, RotateAutoReverse }; | 63 enum RotateMode { RotateAngle, RotateAuto, RotateAutoReverse }; |
64 RotateMode getRotateMode() const; | 64 RotateMode getRotateMode() const; |
65 | 65 |
66 bool m_hasToPointAtEndOfDuration; | 66 bool m_hasToPointAtEndOfDuration; |
67 | 67 |
68 void updateAnimationMode() override; | 68 void updateAnimationMode() override; |
69 | 69 |
70 // Note: we do not support percentage values for to/from coords as the spec im
plies we should (opera doesn't either) | 70 // Note: we do not support percentage values for to/from coords as the spec |
| 71 // implies we should (opera doesn't either) |
71 FloatPoint m_fromPoint; | 72 FloatPoint m_fromPoint; |
72 FloatPoint m_toPoint; | 73 FloatPoint m_toPoint; |
73 FloatPoint m_toPointAtEndOfDuration; | 74 FloatPoint m_toPointAtEndOfDuration; |
74 | 75 |
75 Path m_path; | 76 Path m_path; |
76 Path m_animationPath; | 77 Path m_animationPath; |
77 }; | 78 }; |
78 | 79 |
79 } // namespace blink | 80 } // namespace blink |
80 | 81 |
81 #endif // SVGAnimateMotionElement_h | 82 #endif // SVGAnimateMotionElement_h |
OLD | NEW |