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

Method DrawLine

olcPixelGameEngine.h:2768–2771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2766
2767
2768 void PixelGameEngine::DrawLine(const olc::vi2d& pos1, const olc::vi2d& pos2, Pixel p, uint32_t pattern)
2769 {
2770 DrawLine(pos1.x, pos1.y, pos2.x, pos2.y, p, pattern);
2771 }
2772
2773 void PixelGameEngine::DrawLine(int32_t x1, int32_t y1, int32_t x2, int32_t y2, Pixel p, uint32_t pattern)
2774 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected