9 { 0x00000000, 0x2a0e002a, 0x55380055, 0x7f7f007f },
10 { 0x2a000e2a, 0x551c1c55, 0x7f542a7f, 0xaaaa38aa },
11 { 0x55003855, 0x7f2a547f, 0xaa7171aa, 0xd4d48dd4 },
12 { 0x7f007f7f, 0xaa38aaaa, 0xd48dd4d4, 0xffffffff }
15 for (
int y = 0;
y <
h; ++
y) {
17 for (
int x = 0;
x <
w; ++
x) {
23 bitmap.installPixels(pixmap);
25 for (
int y = 0;
y <
h; ++
y) {
27 for (
int x = 0;
x <
w; ++
x) {
REG_FIDDLE(Bitmap_getColor, 256, 256, true, 0)
@ kPremul_SkAlphaType
pixel components are premultiplied by alpha
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
PODArray< SkColor > colors
static SkImageInfo MakeN32(int width, int height, SkAlphaType at)