#include <SkPaintFlagsDrawFilter.h>
Inherits SkDrawFilter.
Public Member Functions | |
SkPaintFlagsDrawFilter (uint32_t clearFlags, uint32_t setFlags) | |
virtual bool | filter (SkCanvas *, SkPaint *, Type) |
virtual void | restore (SkCanvas *, SkPaint *, Type) |
Definition at line 22 of file SkPaintFlagsDrawFilter.h.
SkPaintFlagsDrawFilter::SkPaintFlagsDrawFilter | ( | uint32_t | clearFlags, | |
uint32_t | setFlags | |||
) |
Return true to allow the draw to continue (with possibly modified canvas/paint). If true is returned, then restore() will be called.
Implements SkDrawFilter.
If filter() returned true, then restore() will be called to restore the canvas/paint to their previous states
Implements SkDrawFilter.