logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

s3d_strlen - get rendered string size

Author

SimonWunderlich
           Author of s3d

s3d                                                                                                S3D_STRLEN(3)

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.

Name

       s3d_strlen - get rendered string size

Synopsis

#include<s3d.h>floats3d_strlen(constchar*str);

See Also