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

Unified Diff: src/pathops/SkReduceOrder.h

Issue 75453003: optimize pathops coverage (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: remove fill parameter from reduce order Created 7 years, 1 month 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 | « src/pathops/SkOpSegment.h ('k') | src/pathops/SkReduceOrder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pathops/SkReduceOrder.h
diff --git a/src/pathops/SkReduceOrder.h b/src/pathops/SkReduceOrder.h
index c167951f8bb121380cc94b7f260916820e583598..4ff9a1d127e68ecdea02145d2f41ac8a3d9be77c 100644
--- a/src/pathops/SkReduceOrder.h
+++ b/src/pathops/SkReduceOrder.h
@@ -18,14 +18,10 @@ union SkReduceOrder {
kNo_Quadratics,
kAllow_Quadratics
};
- enum Style {
- kStroke_Style,
- kFill_Style
- };
- int reduce(const SkDCubic& cubic, Quadratics, Style);
+ int reduce(const SkDCubic& cubic, Quadratics);
int reduce(const SkDLine& line);
- int reduce(const SkDQuad& quad, Style);
+ int reduce(const SkDQuad& quad);
static SkPath::Verb Cubic(const SkPoint pts[4], SkPoint* reducePts);
static SkPath::Verb Quad(const SkPoint pts[3], SkPoint* reducePts);
« no previous file with comments | « src/pathops/SkOpSegment.h ('k') | src/pathops/SkReduceOrder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698