aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects/SkAvoidXfermode.h
diff options
context:
space:
mode:
authorGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2010-02-18 19:32:03 +0000
committerGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2010-02-18 19:32:03 +0000
commit81dc331e65ba5a24d515c11890234dd205408c89 (patch)
treea927ccc502d9040f7f11163e47924654dd63741c /include/effects/SkAvoidXfermode.h
parent86d4008e894f6ce0b1938ac6b45d4074af85d3b7 (diff)
update layers
git-svn-id: http://skia.googlecode.com/svn/trunk@502 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/effects/SkAvoidXfermode.h')
-rw-r--r--include/effects/SkAvoidXfermode.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/effects/SkAvoidXfermode.h b/include/effects/SkAvoidXfermode.h
index 2803c07ce1..9af4a4b58e 100644
--- a/include/effects/SkAvoidXfermode.h
+++ b/include/effects/SkAvoidXfermode.h
@@ -38,13 +38,13 @@ public:
Avoid: In this mode, drawing is allowed only on destination pixels that
are different from the op-color.
- Tolerance near 0: avoid anything close to the op-color
- Tolerance near 255: avoid only colors very close to the op-color
+ Tolerance near 0: avoid any colors even remotely similar to the op-color
+ Tolerance near 255: avoid only colors nearly identical to the op-color
Target: In this mode, drawing only occurs on destination pixels that
are similar to the op-color
- Tolerance near 0: draw on colors that are very close to op-color
- Tolerance near 255: draw on colors that to the op-color
+ Tolerance near 0: draw only on colors that are nearly identical to the op-color
+ Tolerance near 255: draw on any colors even remotely similar to the op-color
*/
SkAvoidXfermode(SkColor opColor, U8CPU tolerance, Mode mode);