| Index: src/effects/gradients/SkTwoPointConicalGradient.cpp
|
| ===================================================================
|
| --- src/effects/gradients/SkTwoPointConicalGradient.cpp (revision 8232)
|
| +++ src/effects/gradients/SkTwoPointConicalGradient.cpp (working copy)
|
| @@ -190,6 +190,12 @@
|
| this->init();
|
| }
|
|
|
| +bool SkTwoPointConicalGradient::isOpaque() const {
|
| + // Because areas outside the cone are left untouched, we cannot treat the
|
| + // shader as opaque even if the gradient itself is opaque.
|
| + return false;
|
| +}
|
| +
|
| void SkTwoPointConicalGradient::shadeSpan(int x, int y, SkPMColor* dstCParam,
|
| int count) {
|
| int toggle = init_dither_toggle(x, y);
|
|
|