text_length
Returns the length of a string in pixels.
Description
Returns the length (in pixels) of a string in the specified font. Example:
int width = text_length(font, "I love spam");
...
bmp = create_bitmap(width, height);
Related Discussions
The following threads each have code containing this keyword:
Note: You can click on the numbers to jump directly to the posts that reference this page.
Related Projects
The following projects include source code containing this keyword: