std :: gui::gui_draw
Function std::gui_text_width
int gui_text_width(const &char text, int scale)Width/height in pixels 'text' would occupy if drawn with the built-in font at the given scale, without actually drawing it — used by widgets to size themselves to their label/text content.