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

Method DrawLine

extensions/olcPGEX_TransformedView.h:414–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412 }
413
414 void TransformedView::DrawLine(float x1, float y1, float x2, float y2, olc::Pixel p, uint32_t pattern)
415 {
416 DrawLine({ x1, y1 }, { x2, y2 }, p, pattern);
417 }
418
419 void TransformedView::DrawLine(const olc::vf2d & pos1, const olc::vf2d & pos2, olc::Pixel p, uint32_t pattern)
420 {

Callers 3

DrawModelFunction · 0.45
DrawMethod · 0.45
RenderLineMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected