fontPrint

Home


The fontPrint function fils the vertex arrays for printing.

Prototype

bool fontPrint(char* message, float x, float y, float z, float size)

Parameters

message
The message you'd like to write
x,y,z
The x,y,z coordnates you'd like to place your message
size
The scale of the message. Note: At and above 10.0f, artifacts start appearing.

Remarks

fontSetState() and fontSetBind() changes the behaviors of fontPrint().
If the autoflush setting is turned off(default) then fontPrint only adds entries into a vertex array.

Error Codes

Returns false if fontInit() was not called. True otherwise.