Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

GfxText

Write text characters (no formatting).

Declaration

Source position: agraphics.pas line 2052

procedure GfxText(

  Rp: PRastPort;

  const String_: PChar;

  Count: LongWord

);

Arguments

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.

Description

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.

See also

GfxMove

  

Move graphics pen position.

TextLength

  

Determine raster length of text data.

TextExtent

  

Determine raster extent of text data.

TextFit

  

Count characters that will fit in a given extent


Documentation generated on: 2021-07-30