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

Unified Diff: include/core/SkColor.h

Issue 19592014: SkAlpha constant defs (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkColor.h
diff --git a/include/core/SkColor.h b/include/core/SkColor.h
index dafc59676d2fd3ea50fa1c131d5a65db3fcba107..7faeca7f84b34ad0aab097142ed78419b9c00b83 100644
--- a/include/core/SkColor.h
+++ b/include/core/SkColor.h
@@ -73,6 +73,9 @@ static inline SkColor SkColorSetA(SkColor c, U8CPU a) {
// common colors
+#define SK_AlphaTRANSPARENT 0x00 //!< transparent SkAlpha value
+#define SK_AlphaOPAQUE 0xFF //!< opaque SkAlpha value
+
#define SK_ColorTRANSPARENT 0x00000000 //!< transparent SkColor value
#define SK_ColorBLACK 0xFF000000 //!< black SkColor value
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698