DrawText16

Draws a text character to the display window.

Synopsis

Err DrawText16 (GrafCon *gcon,Item bitmapItem,uint16 *text)

Description

This call plots the specified text string to the window of the display. It accepts a 16-bit null-terminated text string and calls DrawChar() to plot each text character.

This call is the same as DrawText8(), except that the characters are 16 bits wide.

Arguments

gcon
A pointer to a GrafCon structure for pen position information.
bitmapItem
An item number for the bitmap to receive the rendering.
text
A 16-bit null-terminated text string to be printed to the display's window.

Return Value

The call returns 0 if successful or an error code (a negative value) if an error occurs.

Implementation

Folio call implemented in Graphics folio V20.

Associated Files

graphics.h, graphics.lib

See Also

DrawChar(), DrawText8()