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