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

Method DrawString

extensions/olcPGEX_TransformedView.h:542–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540 }
541
542 void TransformedView::DrawString(float x, float y, const std::string& sText, Pixel col, const olc::vf2d& scale)
543 {
544 DrawString({ x, y }, sText, col, scale);
545 }
546
547 void TransformedView::DrawString(const olc::vf2d& pos, const std::string& sText, const Pixel col, const olc::vf2d& scale)
548 {

Callers 1

DrawSelfMethod · 0.45

Calls 3

GetPixelModeMethod · 0.80
SetPixelModeMethod · 0.80
GetFontSpriteMethod · 0.80

Tested by

no test coverage detected