MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getPixel

Method getPixel

snap_drawing/test/utils/TestBitmap.cpp:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34void TestBitmap::unlockBytes() {}
35
36Color TestBitmap::getPixel(int x, int y) const {
37 return *getPixelPtr(x, y);
38}
39
40void TestBitmap::setPixel(int x, int y, Color pixel) {
41 *getPixelPtr(x, y) = pixel;

Callers 6

expectBitmapIsRedFunction · 0.80
TestBitmap.cppFile · 0.80
updateAndDrawMethod · 0.80
TESTFunction · 0.80
expectBitmapIsRedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected