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

Function GetStringWidth

Source/SynthGlobals.cpp:418–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416}
417
418float GetStringWidth(std::string text, float size)
419{
420 return gFont.GetStringWidth(text, size);
421}
422
423void AssertIfDenormal(float input)
424{

Callers 10

UpdateDimensionsMethod · 0.85
UpdateWidthMethod · 0.85
DrawModuleUnclippedMethod · 0.85
UpdateDisplayMethod · 0.85
ReloadSaveDataMethod · 0.85
DropdownListMethod · 0.85
CalculateWidthMethod · 0.85
DrawMethod · 0.85
UpdateWidthMethod · 0.85
DrawModuleUnclippedMethod · 0.85

Calls 1

GetStringWidthMethod · 0.80

Tested by

no test coverage detected