OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 bool blendLineToHorizontalSegment(); | 48 bool blendLineToHorizontalSegment(); |
49 bool blendLineToVerticalSegment(); | 49 bool blendLineToVerticalSegment(); |
50 bool blendCurveToCubicSegment(); | 50 bool blendCurveToCubicSegment(); |
51 bool blendCurveToCubicSmoothSegment(); | 51 bool blendCurveToCubicSmoothSegment(); |
52 bool blendCurveToQuadraticSegment(); | 52 bool blendCurveToQuadraticSegment(); |
53 bool blendCurveToQuadraticSmoothSegment(); | 53 bool blendCurveToQuadraticSmoothSegment(); |
54 bool blendArcToSegment(); | 54 bool blendArcToSegment(); |
55 | 55 |
56 float blendAnimatedDimensonalFloat(float, float, FloatBlendMode); | 56 float blendAnimatedDimensonalFloat(float, float, FloatBlendMode); |
57 FloatPoint blendAnimatedFloatPoint(const FloatPoint& from, const FloatPoint&
to); | 57 FloatPoint blendAnimatedFloatPoint(const FloatPoint& from, const FloatPoint&
to); |
| 58 FloatPoint blendAnimatedFloatPointSameCoordinates(const FloatPoint& from, co
nst FloatPoint& to); |
58 | 59 |
59 RawPtrWillBeMember<SVGPathSource> m_fromSource; | 60 RawPtrWillBeMember<SVGPathSource> m_fromSource; |
60 RawPtrWillBeMember<SVGPathSource> m_toSource; | 61 RawPtrWillBeMember<SVGPathSource> m_toSource; |
61 RawPtrWillBeMember<SVGPathConsumer> m_consumer; | 62 RawPtrWillBeMember<SVGPathConsumer> m_consumer; |
62 | 63 |
63 FloatPoint m_fromCurrentPoint; | 64 FloatPoint m_fromCurrentPoint; |
64 FloatPoint m_toCurrentPoint; | 65 FloatPoint m_toCurrentPoint; |
65 | 66 |
66 PathCoordinateMode m_fromMode; | 67 PathCoordinateMode m_fromMode; |
67 PathCoordinateMode m_toMode; | 68 PathCoordinateMode m_toMode; |
68 float m_progress; | 69 float m_progress; |
69 unsigned m_addTypesCount; | 70 unsigned m_addTypesCount; |
70 bool m_isInFirstHalfOfAnimation; | 71 bool m_isInFirstHalfOfAnimation; |
71 }; | 72 }; |
72 | 73 |
73 } // namespace blink | 74 } // namespace blink |
74 | 75 |
75 #endif // SVGPathBlender_h | 76 #endif // SVGPathBlender_h |
OLD | NEW |