8 #ifndef SkColorFilterImageFilter_DEFINED
9 #define SkColorFilterImageFilter_DEFINED
11 #include "SkImageFilter.h"
21 SK_TO_STRING_OVERRIDE()
31 bool affectsTransparentBlack()
const override;
36 const CropRect* cropRect);
Definition: SkImageFilter.h:76
ColorFilters are optional objects in the drawing pipeline.
Definition: SkColorFilter.h:32
void flatten(SkWriteBuffer &) const override
Override this if your subclass needs to record data that it will need to recreate itself from its Cre...
virtual sk_sp< SkSpecialImage > onFilterImage(SkSpecialImage *src, const Context &, SkIPoint *offset) const =0
This is the virtual which should be overridden by the derived class to perform image filtering...
Definition: SkColorFilterImageFilter.h:15
virtual bool onIsColorFilterNode(SkColorFilter **) const
Return true (and return a ref'd colorfilter) if this node in the DAG is just a colorfilter w/o CropRe...
Definition: SkImageFilter.h:350
Base class for image filters.
Definition: SkImageFilter.h:36
bool onCanHandleComplexCTM() const override
Override this to describe the behavior of your subclass - as a leaf node.
Definition: SkColorFilterImageFilter.h:30
Definition: SkWriteBuffer.h:27
Definition: SkImageFilter.h:54
SkIPoint holds two 32 bit integer coordinates.
Definition: SkPoint.h:40