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

Unified Diff: Source/core/svg/SVGPathBuilder.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/SVGPathBlender.cpp ('k') | Source/core/svg/SVGPathBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathBuilder.h
diff --git a/Source/core/svg/SVGPathBuilder.h b/Source/core/svg/SVGPathBuilder.h
index 8427d42c8d64ab75b69c434001ee4f04935ed425..4d6b1a360d575c13dcad519268e1eee7187e1fb4 100644
--- a/Source/core/svg/SVGPathBuilder.h
+++ b/Source/core/svg/SVGPathBuilder.h
@@ -25,7 +25,6 @@
#define SVGPathBuilder_h
#include "core/svg/SVGPathConsumer.h"
-#include "platform/geometry/FloatPoint.h"
namespace blink {
@@ -39,19 +38,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 { ASSERT_NOT_REACHED(); }
- virtual void lineToVertical(float, PathCoordinateMode) override { ASSERT_NOT_REACHED(); }
- virtual void curveToCubicSmooth(const FloatPoint&, const FloatPoint&, PathCoordinateMode) override { ASSERT_NOT_REACHED(); }
- virtual void curveToQuadratic(const FloatPoint&, const FloatPoint&, PathCoordinateMode) override { ASSERT_NOT_REACHED(); }
- virtual void curveToQuadraticSmooth(const FloatPoint&, PathCoordinateMode) override { ASSERT_NOT_REACHED(); }
- virtual void arcTo(float, float, float, bool, bool, const FloatPoint&, PathCoordinateMode) override { ASSERT_NOT_REACHED(); }
+ virtual void emitSegment(const PathSegmentData&) override;
Path& m_path;
bool m_closed;
« no previous file with comments | « Source/core/svg/SVGPathBlender.cpp ('k') | Source/core/svg/SVGPathBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698