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

Unified Diff: src/pathops/SkPathOpsBounds.h

Issue 1037953004: add conics to path ops (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: turn off pathops specific debuggging Created 5 years, 8 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 | « src/pathops/SkOpSpan.cpp ('k') | src/pathops/SkPathOpsBounds.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pathops/SkPathOpsBounds.h
diff --git a/src/pathops/SkPathOpsBounds.h b/src/pathops/SkPathOpsBounds.h
index cabc639225bfec1427d27c34faba7f9b31dac273..b65d3bea03e4f0ca85e640ef9e04bba1df7f6e9c 100644
--- a/src/pathops/SkPathOpsBounds.h
+++ b/src/pathops/SkPathOpsBounds.h
@@ -55,9 +55,10 @@ struct SkPathOpsBounds : public SkRect {
|| (fLeft == fRight && fTop == fBottom);
}
- void setCubicBounds(const SkPoint a[4]);
- void setLineBounds(const SkPoint a[2]);
- void setQuadBounds(const SkPoint a[3]);
+ void setConicBounds(const SkPoint a[3], SkScalar weight);
+ void setCubicBounds(const SkPoint a[4], SkScalar );
+ void setLineBounds(const SkPoint a[2], SkScalar );
+ void setQuadBounds(const SkPoint a[3], SkScalar );
void setPointBounds(const SkPoint& pt) {
fLeft = fRight = pt.fX;
@@ -67,6 +68,6 @@ struct SkPathOpsBounds : public SkRect {
typedef SkRect INHERITED;
};
-extern void (SkPathOpsBounds::* const SetCurveBounds[])(const SkPoint[]);
+extern void (SkPathOpsBounds::* const SetCurveBounds[])(const SkPoint[], SkScalar weight);
#endif
« no previous file with comments | « src/pathops/SkOpSpan.cpp ('k') | src/pathops/SkPathOpsBounds.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698