| Index: include/core/SkShader.h
|
| diff --git a/include/core/SkShader.h b/include/core/SkShader.h
|
| index 4d3ac5c9efdd59116974ad202d936574c43a922c..60ef280d5ec37f8038fdec42b8820b5c3530bda5 100644
|
| --- a/include/core/SkShader.h
|
| +++ b/include/core/SkShader.h
|
| @@ -15,6 +15,7 @@
|
| #include "SkPaint.h"
|
| #include "../gpu/GrColor.h"
|
|
|
| +class SkColorFilter;
|
| class SkPath;
|
| class SkPicture;
|
| class SkXfermode;
|
| @@ -309,6 +310,12 @@ public:
|
| * The specified matrix will be applied before any matrix associated with this shader.
|
| */
|
| SkShader* newWithLocalMatrix(const SkMatrix&) const;
|
| +
|
| + /**
|
| + * Create a new shader that produces the same colors as invoking this shader and then applying
|
| + * the colorfilter.
|
| + */
|
| + SkShader* newWithColorFilter(SkColorFilter*) const;
|
|
|
| //////////////////////////////////////////////////////////////////////////
|
| // Factory methods for stock shaders
|
|
|