DOKK / manpages / debian 12 / s3d-doc / s3dw_label_new.3.en
S3DW_LABEL_NEW(3) s3d Manual S3DW_LABEL_NEW(3)

s3dw_label_new - create a new label in the surface

#include <s3dw.h>

s3dw_label *s3dw_label_new(const s3dw_surface *surface, const char *text, float posx, float posy);

Creates a new label on the surface, with "text" written on it and the upper left corner at (posx,posy) on the surface.

See s3dw_label for information about callbacks which may be defined.

Simon Wunderlich

Author of s3d
s3d