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

Unified Diff: include/core/SkRegion.h

Issue 311263015: Add dump() to SkClipStack to help with debugging. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add \n. Created 6 years, 6 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 | « include/core/SkRect.h ('k') | src/core/SkClipStack.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkRegion.h
diff --git a/include/core/SkRegion.h b/include/core/SkRegion.h
index c9aa8daf880be37b4b5f3196d54f7ade25fdb2dc..20366bc63822441af294015df930c3eb34818770 100644
--- a/include/core/SkRegion.h
+++ b/include/core/SkRegion.h
@@ -244,9 +244,13 @@ public:
kXOR_Op, //!< exclusive-or the two regions
/** subtract the first region from the op region */
kReverseDifference_Op,
- kReplace_Op //!< replace the dst region with the op region
+ kReplace_Op, //!< replace the dst region with the op region
+
+ kLastOp = kReplace_Op
};
+ static const int kOpCnt = kLastOp + 1;
+
/**
* Set this region to the result of applying the Op to this region and the
* specified rectangle: this = (this op rect).
« no previous file with comments | « include/core/SkRect.h ('k') | src/core/SkClipStack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698