GrFillRect

Name

GrFillRect -- Draw a filled rectangle

Synopsis

void GrFillRect (
  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 GrFillRect function draws a filled rectangle (including the permiter that would draw with the GrRect function). The new rectangle has its upper left corner at ( x, y) and dimensions of width and height.