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

Unified Diff: include/core/SkPaint.h

Issue 12906016: Fix more clang tautological-constant-out-of-range-compare errors. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 9 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 | « no previous file | include/core/SkXfermode.h » ('j') | include/core/SkXfermode.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPaint.h
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index a73a46a2c6d3b6e612cdbb0eb67fe826d2cce104..1be3f253810d5c1d31bb862947b5ebe495ff655e 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -386,8 +386,9 @@ public:
kRound_Cap, //!< begin/end contours with a semi-circle extension
kSquare_Cap, //!< begin/end contours with a half square extension
+ kDefault_Cap = kButt_Cap,
reed1 2013/03/28 13:13:07 kCapCount now has the wrong value.
+
kCapCount,
- kDefault_Cap = kButt_Cap
};
/** Join enum specifies the settings for the paint's strokejoin. This is
@@ -398,8 +399,9 @@ public:
kRound_Join, //!< connect path segments with a round join
kBevel_Join, //!< connect path segments with a flat bevel join
+ kDefault_Join = kMiter_Join,
reed1 2013/03/28 13:13:07 kJoinCount now has the wrong value.
+
kJoinCount,
- kDefault_Join = kMiter_Join
};
/** Return the paint's stroke cap type, controlling how the start and end
« no previous file with comments | « no previous file | include/core/SkXfermode.h » ('j') | include/core/SkXfermode.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698