GINO Graphics Suite - GINO v9.0  

gFillRect

Syntax

[C/C++:]
void gFillRect(GLIMIT *limit);

void gFillRect(int fill, int line, GLIMIT *limit);
[F90:]
subroutine gFillRect(limit)

subroutine gFillRect(fill, line, limit)

integer, intent(in) :: fill,line
type (GLIMIT), intent(in) :: limit

Arguments

fill
Local polygon fill style (see gSetFillAttribs)

= GHOLLOW, Draw boundary
= GSOLID, Solid fill
= 1 - 256, Fill style index (hardware fill) or hatch style index (software fill)
> 256, Fill style index (hardware fill) or solid fill (software fill)

line
Local polygon fill line style (see gSetFillAttribs)

= GCURRENT, Current line style
= 1 - 256, Line style index
> 256, Current line style

limit
Coordinates of the rectangle to be filled

Description

The routine gFillRect() fills a rectangle whose corners are transformed according to the current GINO transformation and clipped to the current clipping limits - the result of which may not be a rectangle.

The routine may be used with the global filling attributes, set by gSetFillAttribs(), or locally overridding the filling attributes by including the fill,and line arguments.

The current position is restored to that prior to calling gFillRect().

See Also

gFillRect Usage
gSetFillMode
gDefineHatchStyle
gDefineLineStyle