Write text characters (no formatting).
Source position: agraphics.pas line 2398
function GfxText( |
rp: pRastPort; |
const string_: pCHAR; |
count: LongWord |
):LongInt; |
rp |
|
A pointer to the RastPort which describes where the text is to be output |
string_ |
|
The address of string to output |
count |
|
The number of characters in the string. If 0, there are no characters to be output. |
This graphics function writes printable text characters to the specified RastPort at the current position. No control meaning is applied to any of the characters, thus only text on the current line is output.
The current position in the RastPort is updated to the next character position. If the characters displayed run past the RastPort boundary, the current position is truncated to the boundary, and thus does not equal the old position plus the text length.
|
Move graphics pen position. |
|
|
Determine raster length of text data. |
|
|
Determine raster extent of text data. |
|
|
Count characters that will fit in a given extent |