SkAlpha constant defs
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 19 Jul 2013 17:43:27 +0000 (17:43 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 19 Jul 2013 17:43:27 +0000 (17:43 +0000)
R=edisonn@google.com, vandebo@chromium.org, reed@google.com

Author: richardlin@chromium.org

Review URL: https://chromiumcodereview.appspot.com/19592014

git-svn-id: http://skia.googlecode.com/svn/trunk@10195 2bbb7eff-a529-9590-31e7-b0007b416f81

include/core/SkColor.h

index dafc596..7faeca7 100644 (file)
@@ -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