8 #ifndef SkEmbossMaskFilter_DEFINED
9 #define SkEmbossMaskFilter_DEFINED
11 #include "SkMaskFilter.h"
20 SkScalar fDirection[3];
28 #ifdef SK_SUPPORT_LEGACY_MASKFILTER_PTR
30 return Make(blurSigma, light).release();
41 SK_TO_STRING_OVERRIDE()
This mask filter creates a 3D emboss look, by specifying a light and blur amount. ...
Definition: SkEmbossMaskFilter.h:17
The SkMatrix class holds a 3x3 matrix for transforming coordinates.
Definition: SkMatrix.h:26
SkMask is used to describe alpha bitmaps, either 1bit, 8bit, or the 3-channel 3D format.
Definition: SkMask.h:19
virtual bool filterMask(SkMask *dst, const SkMask &src, const SkMatrix &, SkIPoint *margin) const
Create a new mask by filter the src mask.
SkMaskFilter is the base class for object that perform transformations on an alpha-channel mask befor...
Definition: SkMaskFilter.h:44
virtual SkMask::Format getFormat() const =0
Returns the format of the resulting mask that this subclass will return when its filterMask() method ...
Format
Definition: SkMask.h:22
Definition: SkWriteBuffer.h:26
SkIPoint holds two 32 bit integer coordinates.
Definition: SkPoint.h:40
Definition: SkEmbossMaskFilter.h:19