text_dimensions

declaration:

function text_dimensions(messagestr, [vspacing], [tspacing]) => width, height;

messagestr follows the same formatting rules as [render_text] but instead of allocating VIDs and GL resources, just keeps and returns the dimensions occupied.

related functions:

[render_text]


Related

Wiki: Video Functions
Wiki: render_text

MongoDB Logo MongoDB