Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Hard_Light |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
3 |
|
|
) |
| |
Definition at line 5 of file Hard_Light.cpp.
5 {
13 canvas->
clipRect({0, 128, 256, 256});
15}
16}
@ kHardLight
multiply or screen, depending on source
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void clipRect(const SkRect &rect, SkClipOp op, bool doAntiAlias)
void drawPaint(const SkPaint &paint)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
static sk_sp< SkShader > MakeRadial(const SkPoint ¢er, SkScalar radius, const SkColor colors[], const SkScalar pos[], int count, SkTileMode mode, uint32_t flags=0, const SkMatrix *localMatrix=nullptr)
PODArray< SkColor > colors