Text related functions
The relevant functions and data types are as follows.
| Function or data type | Description |
|---|---|
| gettextcolor | Get the current text color. |
| gettextstyle | Get the current text style |
| LOGFONT | The structure of the text style. |
| outtextxy | Output a string at the specified location. |
| drawtext | Output a string in the specified format within the specified area. |
| settextcolor | Set the current text color. |
| settextstyle | Set the current text style. |
| textheight | Get the height of a string. |
| textwidth | Get the width of a string. |