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 );

Description

This function draws a filled rectangle of width (width) at position (x,y) on the specified drawable using the graphics context gc.

Parameters

TypeNameDescription
GR_DRAW_IDidThe ID of the drawable to draw the rectangle on.
GR_GC_IDgcThe ID of the graphics context to use when drawing the rectangle.
GR_COORDxThe X coordinate of the rectangle relative to the drawable.
GR_COORDyThe Y coordinate of the rectangle relative to the drawable.
GR_SIZEwidthThe width of the rectangle in pixels.
GR_SIZEheightThe height of the rectangle in pixels.

See Also

GrRect(), GrFillPoly(), GrFillEllipse().