Index: include/effects/SkLumaColorFilter.h |
diff --git a/include/effects/SkLumaColorFilter.h b/include/effects/SkLumaColorFilter.h |
index fef06ab12ad7009563aee458948a9822f1c6c1e8..a0c08bbb987b81db23671453f39ac049353d5a85 100644 |
--- a/include/effects/SkLumaColorFilter.h |
+++ b/include/effects/SkLumaColorFilter.h |
@@ -15,9 +15,10 @@ |
* http://www.w3.org/TR/SVG/masking.html#Masking |
* http://www.w3.org/TR/css-masking/#MaskValues |
* |
- * Each color is scaled by the (unpremultiplied) luminance value: |
+ * The resulting color is black with transparency equal to the |
+ * luminance value modulated by alpha: |
* |
- * C' = [Lum * a, Lum * r, Lum * g, Lum * b] |
+ * C' = [ Lum * a, 0, 0, 0 ] |
* |
*/ |
class SK_API SkLumaColorFilter : public SkColorFilter { |