s3d_strlen

Langue: en

Version: 292244 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

s3d_strlen - get rendered string size

SYNOPSIS

 #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 Wunderlich

Author of s3d