diff options
-rw-r--r-- | include/core/SkPaint.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h index a64c89ded4..b63845982f 100644 --- a/include/core/SkPaint.h +++ b/include/core/SkPaint.h @@ -291,8 +291,9 @@ public: kFill_Style, //!< fill the geometry kStroke_Style, //!< stroke the geometry kStrokeAndFill_Style, //!< fill and stroke the geometry - - kStyleCount + }; + enum { + kStyleCount = kStrokeAndFill_Style + 1 }; /** Return the paint's style, used for controlling how primitives' |