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

Unified Diff: Source/core/svg/SVGPathBlender.h

Issue 1037463002: Rework the SVGPathConsumer interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase; FIXME -> TODO. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/svg/SVGPathBlender.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathBlender.h
diff --git a/Source/core/svg/SVGPathBlender.h b/Source/core/svg/SVGPathBlender.h
index 2992c6a530072dfdfe0563c603fb671ad7343e07..403dd291e4d05c3500b1a27af70ab46437464fb2 100644
--- a/Source/core/svg/SVGPathBlender.h
+++ b/Source/core/svg/SVGPathBlender.h
@@ -21,6 +21,7 @@
#define SVGPathBlender_h
#include "core/svg/SVGPathConsumer.h"
+#include "platform/geometry/FloatPoint.h"
#include "platform/heap/Handle.h"
namespace blink {
@@ -44,15 +45,16 @@ public:
DECLARE_TRACE();
private:
- void blendMoveToSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
- void blendLineToSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
- void blendLineToHorizontalSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
- void blendLineToVerticalSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
- void blendCurveToCubicSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
- void blendCurveToCubicSmoothSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
- void blendCurveToQuadraticSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
- void blendCurveToQuadraticSmoothSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
- void blendArcToSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
+ PathSegmentData blendMoveToSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
+ PathSegmentData blendLineToSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
+ PathSegmentData blendLineToHorizontalSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
+ PathSegmentData blendLineToVerticalSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
+ PathSegmentData blendCurveToCubicSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
+ PathSegmentData blendCurveToCubicSmoothSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
+ PathSegmentData blendCurveToQuadraticSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
+ PathSegmentData blendCurveToQuadraticSmoothSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
+ PathSegmentData blendArcToSegment(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
+ void blendSegments(const PathSegmentData& fromSeg, const PathSegmentData& toSeg);
float blendAnimatedDimensonalFloat(float, float, FloatBlendMode);
FloatPoint blendAnimatedFloatPoint(const FloatPoint& from, const FloatPoint& to);
« 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