Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
40
void TestBitmap::setPixel(int x, int y, Color pixel) {
41
*getPixelPtr(x, y) = pixel;
42
}
43
44
void TestBitmap::setPixelsRow(int y, const Color* pixels) {
45
auto* ptr = getPixelPtr(0, y);
Callers
2
enqueueColorToQueue
Method · 0.80
TEST
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected