cf_text_width¶
Category: text
GitHub: cute_draw.h
Returns the width of a text given the currently pushed font.
| Parameters | Description |
|---|---|
text |
The text considered for rendering. |
num_chars_to_draw |
The number of characters to draw text. Use -1 to draw the whole string. |