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

Method DrawRectDecal

extensions/olcPGEX_TransformedView.h:667–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

665 }
666
667 void TransformedView::DrawRectDecal(const olc::vf2d& pos, const olc::vf2d& size, const olc::Pixel col)
668 {
669 pge->DrawRectDecal(WorldToScreen(pos), (size * m_vWorldScale).ceil(), col);
670 }
671
672 void TransformedView::DrawLineDecal(const olc::vf2d& pos1, const olc::vf2d& pos2, Pixel p)
673 {

Callers

nothing calls this directly

Calls 1

ceilMethod · 0.45

Tested by

no test coverage detected