1 #ifndef ANDROID_GRAPHICS_PAINT_FILTER_H_ 2 #define ANDROID_GRAPHICS_PAINT_FILTER_H_ 3 4 class SkPaint; 5 6 namespace android { 7 8 class PaintFilter : public SkRefCnt { 9 public: 10 /** 11 * Called with the paint that will be used to draw. 12 * The implementation may modify the paint as they wish. 13 */ 14 virtual void filter(SkPaint*) = 0; 15 virtual void filterFullPaint(Paint*) = 0; 16 }; 17 18 } // namespace android 19 20 #endif 21