MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / DrawText

Method DrawText

engine/Poseidon/Graphics/Rendering/Draw/FontDraw.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace Poseidon
26{
27void Engine::DrawText(const Point2DAbs& pos, float size, Font* font, PackedColor color, const char* text)
28{
29 DrawText(pos, size, Rect2DClipAbs, font, color, text);
30}
31
32void Engine::DrawText(const Point2DFloat& pos, float size, Font* font, PackedColor color, const char* text)
33{

Callers

nothing calls this directly

Calls 15

ConvertFunction · 0.85
WidthFunction · 0.85
HeightFunction · 0.85
IsFreeTypeMethod · 0.80
IsOKMethod · 0.80
AWidthMethod · 0.80
AHeightMethod · 0.80
toIntFunction · 0.50
Rect2DAbsClass · 0.50
HeightMethod · 0.45
SetColorMethod · 0.45
SetUMethod · 0.45

Tested by

no test coverage detected