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

Method DrawStringDecal

extensions/olcPGEX_TransformedView.h:652–655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

650 }
651
652 void TransformedView::DrawStringDecal(const olc::vf2d & pos, const std::string & sText, const olc::Pixel col, const olc::vf2d & scale)
653 {
654 pge->DrawStringDecal(WorldToScreen(pos), sText, col, scale * m_vWorldScale * m_vRecipPixel);
655 }
656
657 void TransformedView::DrawStringPropDecal(const olc::vf2d & pos, const std::string & sText, const olc::Pixel col, const olc::vf2d & scale )
658 {

Callers 1

OnBeforeUserUpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected