FILL

Draws a filled area
Operating state: SGOP

Syntax

return-code-variable=GDRAW('FILL', n, x-values, y-values);

Required Arguments

n
numeric constant or numeric variable name; the number of vertices (x and y pairs) in the polygon. You can specify a missing value (.) for n. If n is missing, the number of vertices is computed from the number of x and y arguments.
x-values
list of numeric constants, variables, or OF arguments that describe the x coordinates for the vertices in units based on the current window system.
y-values
list of numeric constants, variables, or OF arguments that describe the y coordinates for the vertices in units based on the current window system.

Return Codes

This function returns:
0, 4, 76, 79, 80, 86, 100, or 301. See Return Codes for DSGI Routines and Functions.

Details

The GDRAW('FILL' . . . ) function draws a filled polygon. The fill attributes and bundles affect the appearance of this primitive. See DATA Step Graphics Interface Routines for a list of these attributes.
Note: All of the x coordinates are listed in the function first, followed by the y coordinates. This primitive takes the first n values and stores them as x coordinates. The next n values are stored as y coordinates.