Text related functions

The relevant functions and data types are as follows.

Function or data type Description
gettextcolor Gets the current font color.
gettextstyle Gets the current font style
LOGFONT Saves the structure of the font style.
outtextxy Output the string at the specified location.
drawtext Output the string in the specified format within the specified area.
settextcolor Sets the current font color.
settextstyle Sets the current font style.
textheight Gets the pixel height that the string actually occupies.
textwidth Gets the pixel width that the string actually occupies.