8 #ifndef SkLayerDrawLooper_DEFINED
9 #define SkLayerDrawLooper_DEFINED
11 #include "SkDrawLooper.h"
14 #include "SkBlendMode.h"
29 kTextSkewX_Bit = 1 << 1,
30 kPathEffect_Bit = 1 << 2,
31 kMaskFilter_Bit = 1 << 3,
33 kColorFilter_Bit = 1 << 5,
34 kXfermode_Bit = 1 << 6,
42 kEntirePaint_Bits = -1
45 typedef int32_t BitFlags;
60 SkBlendMode fColorMode;
78 SK_TO_STRING_OVERRIDE()
80 Factory getFactory()
const override {
return CreateProc; }
131 void addLayer(SkScalar dx, SkScalar dy);
A Canvas encapsulates all of the state about drawing into a device (bitmap).
Definition: SkCanvas.h:59
Definition: SkLayerDrawLooper.h:116
Definition: SkPoint.h:156
Definition: SkLayerDrawLooper.h:16
The SkPaint class holds the style and color information about how to draw geometries, text and bitmaps.
Definition: SkPaint.h:45
Bits
Bits specifies which aspects of the layer's paint should replace the corresponding aspects on the dra...
Definition: SkLayerDrawLooper.h:27
SkFlattenable is the base class for objects that need to be flattened into a data stream for either t...
Definition: SkFlattenable.h:70
Shared pointer class to wrap classes that support a ref()/unref() interface.
Definition: SkRefCnt.h:246
Definition: SkLayerDrawLooper.h:100
Info for how to apply the layer's paint and offset.
Definition: SkLayerDrawLooper.h:58
Holds state during a draw.
Definition: SkDrawLooper.h:41
void addLayer()
This layer will with the original paint and no offset.
Definition: SkLayerDrawLooper.h:136
Subclasses of SkDrawLooper can be attached to a SkPaint.
Definition: SkDrawLooper.h:33
Definition: SkWriteBuffer.h:27
Definition: SkDrawLooper.h:82
bool fPostTranslate
applies to fOffset
Definition: SkLayerDrawLooper.h:62
Definition: SkLayerDrawLooper.h:91