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

Unified Diff: src/pathops/SkOpAngle.h

Issue 1037953004: add conics to path ops (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix linux build 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
Index: src/pathops/SkOpAngle.h
diff --git a/src/pathops/SkOpAngle.h b/src/pathops/SkOpAngle.h
index 84b37010c94ecf11f98a004c67c7b5cfe89e731b..9805dd4fd4a42576a74e840709e5b5d31ac94ac6 100644
--- a/src/pathops/SkOpAngle.h
+++ b/src/pathops/SkOpAngle.h
@@ -8,6 +8,7 @@
#define SkOpAngle_DEFINED
#include "SkLineParameters.h"
+#include "SkPathOpsCurve.h"
#if DEBUG_ANGLE
#include "SkString.h"
#endif
@@ -38,7 +39,7 @@ struct SkOpAngle {
SkOpContour* debugContour(int id);
int debugID() const {
- return PATH_OPS_DEBUG_RELEASE(fID, -1);
+ return SkDEBUGRELEASE(fID, -1);
}
#if DEBUG_SORT
@@ -102,7 +103,7 @@ struct SkOpAngle {
void setCurveHullSweep();
void setID(int id) {
- PATH_OPS_DEBUG_CODE(fID = id);
+ SkDEBUGCODE(fID = id);
}
void setLastMarked(SkOpSpanBase* marked) {
@@ -124,7 +125,7 @@ struct SkOpAngle {
return fUnorderable;
}
- SkDCubic fCurvePart; // the curve from start to end
+ SkDCurve fCurvePart; // the curve from start to end
double fSide;
SkLineParameters fTangentHalf; // used only to sort a pair of lines or line-like sections
SkOpAngle* fNext;
@@ -143,7 +144,7 @@ struct SkOpAngle {
bool fComputeSector;
bool fComputedSector;
bool fCheckCoincidence;
- PATH_OPS_DEBUG_CODE(int fID);
+ SkDEBUGCODE(int fID);
};

Powered by Google App Engine
This is Rietveld 408576698