Go to the source code of this file.
|
| REG_FIDDLE (Canvas_kInitWithPrevious_SaveLayerFlag, 256, 160, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Canvas_kInitWithPrevious_SaveLayerFlag |
, |
|
|
256 |
, |
|
|
160 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Canvas_kInitWithPrevious_SaveLayerFlag.cpp.
4 {
6 SkPaint redPaint, bluePaint, scalePaint;
20}
21}
constexpr SkColor SK_ColorBLUE
constexpr SkColor SK_ColorRED
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
int saveLayer(const SkRect *bounds, const SkPaint *paint)
@ kInitWithPrevious_SaveLayerFlag
initializes with previous contents
void drawCircle(SkScalar cx, SkScalar cy, SkScalar radius, const SkPaint &paint)
static sk_sp< SkImageFilter > MatrixTransform(const SkMatrix &matrix, const SkSamplingOptions &sampling, sk_sp< SkImageFilter > input)
void setColor(SkColor color)
void setImageFilter(sk_sp< SkImageFilter > imageFilter)
unsigned useCenter Optional< SkMatrix > matrix
SkSamplingOptions(SkFilterMode::kLinear))