MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / DrawText

Function DrawText

include/Color.hpp:127–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 void DrawLineStrip(::Vector2* points, int numPoints) const { ::DrawLineStrip(points, numPoints, *this); }
126
127 void DrawText(const char* text, int posX = 0, int posY = 0, int fontSize = 10.0f) const {
128 ::DrawText(text, posX, posY, fontSize, *this);
129 }
130
131 void DrawText(const std::string& text, int posX = 0, int posY = 0, int fontSize = 10.0f) const {
132 ::DrawText(text.c_str(), posX, posY, fontSize, *this);

Callers

nothing calls this directly

Calls 3

DrawTextExFunction · 0.85
DrawTextProFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected