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

Unified Diff: Source/core/svg/SVGPathParser.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/SVGPathByteStreamSource.cpp ('k') | Source/core/svg/SVGPathParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathParser.h
diff --git a/Source/core/svg/SVGPathParser.h b/Source/core/svg/SVGPathParser.h
index dcc9c184d3deb673a4eff34594c3e3b9560d1f95..fdf66895a7384ad382adcef40237b5b925151191 100644
--- a/Source/core/svg/SVGPathParser.h
+++ b/Source/core/svg/SVGPathParser.h
@@ -48,17 +48,17 @@ public:
DECLARE_TRACE();
private:
+ bool initialCommandIsMoveTo();
bool decomposeArcToCubic(float, float, float, const FloatPoint&, const FloatPoint&, bool largeArcFlag, bool sweepFlag);
- void parseClosePathSegment();
- bool parseMoveToSegment();
- bool parseLineToSegment();
- bool parseLineToHorizontalSegment();
- bool parseLineToVerticalSegment();
- bool parseCurveToCubicSegment();
- bool parseCurveToCubicSmoothSegment();
- bool parseCurveToQuadraticSegment();
- bool parseCurveToQuadraticSmoothSegment();
- bool parseArcToSegment();
+ void emitMoveToSegment(PathSegmentData&);
+ void emitLineToSegment(PathSegmentData&);
+ void emitLineToHorizontalSegment(PathSegmentData&);
+ void emitLineToVerticalSegment(PathSegmentData&);
+ void emitCurveToCubicSegment(PathSegmentData&);
+ void emitCurveToCubicSmoothSegment(PathSegmentData&);
+ void emitCurveToQuadraticSegment(PathSegmentData&);
+ void emitCurveToQuadraticSmoothSegment(PathSegmentData&);
+ void emitArcToSegment(PathSegmentData&);
RawPtrWillBeMember<SVGPathSource> m_source;
RawPtrWillBeMember<SVGPathConsumer> m_consumer;
« no previous file with comments | « Source/core/svg/SVGPathByteStreamSource.cpp ('k') | Source/core/svg/SVGPathParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698