8 #ifndef SkMaskFilter_DEFINED
9 #define SkMaskFilter_DEFINED
36 bool respectCTM =
true);
49 static void RegisterFlattenables();
SkBlurStyle
Definition: SkBlurTypes.h:11
float SkScalar
Definition: SkScalar.h:14
SkFlattenable is the base class for objects that need to be flattened into a data stream for either t...
Definition: SkFlattenable.h:28
SkMaskFilter is the base class for object that perform transformations on the mask before drawing it.
Definition: SkMaskFilter.h:27
static sk_sp< SkMaskFilter > Deserialize(const void *data, size_t size, const SkDeserialProcs *procs=nullptr)
static sk_sp< SkMaskFilter > MakeBlur(SkBlurStyle style, SkScalar sigma, bool respectCTM=true)
Create a blur maskfilter.
SkRect approximateFilteredBounds(const SkRect &src) const
Returns the approximate bounds that would result from filtering the src rect.
Definition: SkSerialProcs.h:97
SkRect holds four float coordinates describing the upper and lower bounds of a rectangle.
Definition: SkRect.h:582