Go to the source code of this file.
◆ GetBitmapAlpha()
Definition at line 523 of file SkBitmap.cpp.
523 {
526
528 if (!
src.peekPixels(&pmap)) {
529 for (
int y = 0;
y <
src.height(); ++
y) {
530 memset(alpha, 0,
src.width());
531 alpha += alphaRowBytes;
532 }
533 return false;
534 }
537}
bool SkConvertPixels(const SkImageInfo &dstInfo, void *dstPixels, size_t dstRB, const SkImageInfo &srcInfo, const void *srcPixels, size_t srcRB)
const SkImageInfo & info() const
const void * addr() const
static SkImageInfo MakeA8(int width, int height)
◆ invoke_release_proc()
static void invoke_release_proc |
( |
void(*)(void *pixels, void *ctx) |
proc, |
|
|
void * |
pixels, |
|
|
void * |
ctx |
|
) |
| |
|
static |
Definition at line 317 of file SkBitmap.cpp.
317 {
318 if (proc) {
319 proc(pixels, ctx);
320 }
321}
◆ reset_return_false()
static bool reset_return_false |
( |
SkBitmap * |
bm | ) |
|
|
static |