MCPcopy Create free account
hub / github.com/EasyRPG/Player / pixels

Method pixels

src/bitmap.cpp:559–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557}
558
559void* Bitmap::pixels() {
560 if (!bitmap) {
561 return nullptr;
562 }
563
564 return (void*) pixman_image_get_data(bitmap.get());
565}
566void const* Bitmap::pixels() const {
567 return (void const*) pixman_image_get_data(bitmap.get());
568}

Callers 15

ToneBlitMethod · 0.95
CreateRainParticleMethod · 0.80
CreateSnowParticleMethod · 0.80
CreateSandParticleMethod · 0.80
CreateFogOverlayMethod · 0.80
CreateMethod · 0.80
GetSubimageMethod · 0.80
vRenderMethod · 0.80
vRenderShapedMethod · 0.80
DrawMethod · 0.80
NxUiMethod · 0.80
UpdateDisplayMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected