| PathEngine home | previous: | next: |
Prints a horizontal line of text at a y position that is incremented with each call in a given frame.
void printTextLine(tSigned32 x, const char* text);
|
| x | x coordinate to place the text. | ||
| text | A C string containing the text to be printed. This may safely be deleted after the method returns. |
A y coordinate is maintained internally by the testbed, incremented each time this method is called, and reset when the frame is completed.
The x coordinate passed in, together with the internal y coordinate, places the bottom left of the first character printed. This coordinate is relative to an origin at the bottom left of the testbed window.
The text is printed with a fixed width font, and with the current colour against a black background.
| Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEngine | next: |