Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
ColorSetA |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
3 |
|
|
) |
| |
Definition at line 4 of file ColorSetA.cpp.
4 {
7 for (
int y = 0;
y < 256;
y += 16) {
8 for (
int x = 0;
x < 256;
x += 16) {
13 }
14 }
15}
16}
static constexpr SkColor SkColorSetA(SkColor c, U8CPU a)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
sk_sp< SkImage > asImage() const
SkColor getColor(int x, int y) const
void drawRect(const SkRect &rect, const SkPaint &paint)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)