MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / DrawTextRightJustify

Function DrawTextRightJustify

Source/SynthGlobals.cpp:408–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406}
407
408void DrawTextRightJustify(std::string text, int x, int y, float size)
409{
410 gFont.DrawString(text, size, x - gFont.GetStringWidth(text, size), y);
411}
412
413void DrawTextBold(std::string text, int x, int y, float size)
414{

Callers 11

DrawModuleMethod · 0.85
DrawModuleMethod · 0.85
DrawRowLabelMethod · 0.85
DrawMethod · 0.85
DrawModuleMethod · 0.85
DrawModuleMethod · 0.85
RenderMethod · 0.85
DrawModuleMethod · 0.85
DrawModuleMethod · 0.85
DrawModuleMethod · 0.85
DrawModuleMethod · 0.85

Calls 2

DrawStringMethod · 0.80
GetStringWidthMethod · 0.80

Tested by

no test coverage detected