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

Method DrawStringPropDecal

extensions/olcPGEX_TransformedView.h:657–660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

655 }
656
657 void TransformedView::DrawStringPropDecal(const olc::vf2d & pos, const std::string & sText, const olc::Pixel col, const olc::vf2d & scale )
658 {
659 pge->DrawStringPropDecal(WorldToScreen(pos), sText, col, scale * m_vWorldScale * m_vRecipPixel);
660 }
661
662 void TransformedView::FillRectDecal(const olc::vf2d & pos, const olc::vf2d & size, const olc::Pixel col)
663 {

Callers 2

OnBeforeUserUpdateMethod · 0.45
DrawDecalMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected