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

Unified Diff: Source/core/svg/SVGPathStringBuilder.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 | « Source/core/svg/SVGPathSegListBuilder.cpp ('k') | Source/core/svg/SVGPathStringBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathStringBuilder.h
diff --git a/Source/core/svg/SVGPathStringBuilder.h b/Source/core/svg/SVGPathStringBuilder.h
index 35ab62991dc5ee6d18f706141871e83995d30375..5836f25b35ffa24914ed8eaf9ca5b8aad8ba0ad6 100644
--- a/Source/core/svg/SVGPathStringBuilder.h
+++ b/Source/core/svg/SVGPathStringBuilder.h
@@ -21,7 +21,6 @@
#define SVGPathStringBuilder_h
#include "core/svg/SVGPathConsumer.h"
-#include "platform/geometry/FloatPoint.h"
#include "wtf/text/StringBuilder.h"
namespace blink {
@@ -34,19 +33,7 @@ private:
virtual void incrementPathSegmentCount() override { }
virtual bool continueConsuming() override { return true; }
- // Used in UnalteredParsing/NormalizedParsing modes.
- virtual void moveTo(const FloatPoint&, PathCoordinateMode) override;
- virtual void lineTo(const FloatPoint&, PathCoordinateMode) override;
- virtual void curveToCubic(const FloatPoint&, const FloatPoint&, const FloatPoint&, PathCoordinateMode) override;
- virtual void closePath() override;
-
- // Only used in UnalteredParsing mode.
- virtual void lineToHorizontal(float, PathCoordinateMode) override;
- virtual void lineToVertical(float, PathCoordinateMode) override;
- virtual void curveToCubicSmooth(const FloatPoint&, const FloatPoint&, PathCoordinateMode) override;
- virtual void curveToQuadratic(const FloatPoint&, const FloatPoint&, PathCoordinateMode) override;
- virtual void curveToQuadraticSmooth(const FloatPoint&, PathCoordinateMode) override;
- virtual void arcTo(float, float, float, bool largeArcFlag, bool sweepFlag, const FloatPoint&, PathCoordinateMode) override;
+ virtual void emitSegment(const PathSegmentData&) override;
StringBuilder m_stringBuilder;
};
« no previous file with comments | « Source/core/svg/SVGPathSegListBuilder.cpp ('k') | Source/core/svg/SVGPathStringBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698