GrRect

Name

GrRect -- Draw the perimeter of a rectangle

Synopsis

void GrRect (
  GR_DRAW_ID id,
  GR_GC_ID   gc,
  GR_COORD   x,
  GR_COORD   y,
  GR_SIZE    width,
  GR_SIZE    height
);

Parameters

id

The ID of the window or other drawable area.

gc

The graphics context to use when drawing the rectangle.

x, y

The upper left corner of the rectangle relative to the drawable area.

widht, height

The dimensions of the rectangle.

Description

The GrRect function draws the perimeter of a rectangle with its upper left corner at ( x, y) with dimensions width and height.

See Also

GrFillRect