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