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

Method setPixel

snap_drawing/test/utils/TestBitmap.cpp:40–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40void TestBitmap::setPixel(int x, int y, Color pixel) {
41 *getPixelPtr(x, y) = pixel;
42}
43
44void TestBitmap::setPixelsRow(int y, const Color* pixels) {
45 auto* ptr = getPixelPtr(0, y);

Callers 2

enqueueColorToQueueMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected