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

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

Issue 1023993002: Rework the SVGPathSource interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Blender fixups. 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 | « Source/core/svg/SVGParserUtilities.cpp ('k') | 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 585b6279d25e9aa08780ad0caf990d215d778dde..ed37e092cfcc348b5fe36980e78e86b50c937731 100644
--- a/Source/core/svg/SVGPathBlender.h
+++ b/Source/core/svg/SVGPathBlender.h
@@ -30,6 +30,7 @@ enum FloatBlendMode {
BlendVertical
};
+struct PathSegmentData;
class SVGPathSource;
class SVGPathBlender : public NoBaseWillBeGarbageCollectedFinalized<SVGPathBlender> {
@@ -43,15 +44,15 @@ public:
DECLARE_TRACE();
private:
- bool blendMoveToSegment();
- bool blendLineToSegment();
- bool blendLineToHorizontalSegment();
- bool blendLineToVerticalSegment();
- bool blendCurveToCubicSegment();
- bool blendCurveToCubicSmoothSegment();
- bool blendCurveToQuadraticSegment();
- bool blendCurveToQuadraticSmoothSegment();
- bool blendArcToSegment();
+ 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);
float blendAnimatedDimensonalFloat(float, float, FloatBlendMode);
FloatPoint blendAnimatedFloatPoint(const FloatPoint& from, const FloatPoint& to);
« no previous file with comments | « Source/core/svg/SVGParserUtilities.cpp ('k') | Source/core/svg/SVGPathBlender.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698