MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / Draw

Method Draw

olcPixelGameEngine.h:2727–2730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2725 }
2726
2727 bool PixelGameEngine::Draw(const olc::vi2d& pos, Pixel p)
2728 {
2729 return Draw(pos.x, pos.y, p);
2730 }
2731
2732 // This is it, the critical function that plots a pixel
2733 bool PixelGameEngine::Draw(int32_t x, int32_t y, Pixel p)

Callers

nothing calls this directly

Calls 3

PixelClass · 0.85
SetPixelMethod · 0.80
GetPixelMethod · 0.80

Tested by

no test coverage detected