Index: include/core/SkPaint.h |
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h |
index 293ffedc12aee6efac85be0ab93d685e73b859c5..6f5fb4bad80565db6cb80f2e7acc84a5811d2776 100644 |
--- a/include/core/SkPaint.h |
+++ b/include/core/SkPaint.h |
@@ -409,9 +409,9 @@ public: |
kRound_Cap, //!< begin/end contours with a semi-circle extension |
kSquare_Cap, //!< begin/end contours with a half square extension |
- kCapCount, |
kDefault_Cap = kButt_Cap |
}; |
robertphillips
2016/07/06 15:01:47
Have we given up on the whole 'kLast_Cap' thing ?
bsalomon
2016/07/06 15:57:53
Done
|
+ static constexpr int kCapCount = 3; |
/** Join enum specifies the settings for the paint's strokejoin. This is |
the treatment that is applied to corners in paths and rectangles. |
@@ -421,9 +421,9 @@ public: |
kRound_Join, //!< connect path segments with a round join |
kBevel_Join, //!< connect path segments with a flat bevel join |
- kJoinCount, |
kDefault_Join = kMiter_Join |
}; |
+ static constexpr int kJoinCount = 3; |
/** Return the paint's stroke cap type, controlling how the start and end |
of stroked lines and paths are treated. |