diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-19 17:43:27 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-19 17:43:27 +0000 |
commit | 9fdb70576b7cf44e46f3ec1ae07c48dbca9cc239 (patch) | |
tree | 74eb0ee922f7557d6d64e4f8ed156c774e6836cb /include/core/SkColor.h | |
parent | 9345d94db69ce20d49dce0372bb267f7cd5ddd18 (diff) |
SkAlpha constant defs
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
Diffstat (limited to 'include/core/SkColor.h')
-rw-r--r-- | include/core/SkColor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core/SkColor.h b/include/core/SkColor.h index dafc59676d..7faeca7f84 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 |