table of contents
other versions
- stretch 0.2.2-14
- testing 0.2.2-16
- unstable 0.2.2-16
- experimental 0.2.2-18
S3D_STRLEN(3) | s3d Manual | S3D_STRLEN(3) |
NAME¶
s3d_strlen - get rendered string sizeSYNOPSIS¶
#include <s3d.h>
float s3d_strlen(const char *str);
DESCRIPTION¶
Returns the length of the string if it were rendered with the currently selected font. That might be useful to estimate the size used for a text and render the background or bounding box before inserting the text.AUTHOR¶
Simon WunderlichAuthor of s3d
s3d |