GrText

Name

GrText -- Draw a text string

Synopsis

void GrText (
  GR_DRAW_ID id,
  GR_GC_ID   gc,
  GR_COORD   x,
  GR_COORD   y,
  GR_CHAR *  str,
  GR_COUNT   count
);

Parameters

id

The ID of the window or other drawable area.

gc

The graphics context to use when drawing the rectangle.

x, y

The location in the drawable area to begin drawing the string.

str

A pointer to a string.

count

The number of characters in the str string.

Description

The GrText function draws a text string beginning at the coordinates (x, y) using the gc graphics context.