Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
ColorSetA |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
3 |
|
|
) |
| |
Definition at line 5 of file ColorSetA.cpp.
5 {
8 for (
int y = 0;
y < 256;
y += 16) {
9 for (
int x = 0;
x < 256;
x += 16) {
14 }
15 }
16}
17}
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)