Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: Source/core/svg/SVGPathBlender.h

Issue 1014023003: Simplify SVGPathBlender::blendArcToSegment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/svg/SVGPathBlender.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGPathBlender.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698