Previous Page | Next Page

DATA Step Graphics Interface Dictionary

FILREP



Finds the fill area attributes associated with a bundle index
Operating States: GKOP, WSOP, WSAC, SGOP
Return Codes: 0, 8, 75, 76

Syntax
Description
Argument Definitions
See Also

Syntax

CALL GASK ('FILREP', index, color-index, interior, style-index, return-code-variable);


Description

The GASK('FILREP', . . . ) routine returns the color, type of interior, and fill pattern associated with a specific fill bundle. If the bundle indicated by index has not been previously defined with the GSET('FILREP', . . . ) function, DSGI issues the following error message:

ERROR: A representation for the specified fill area index has
 not been defined on this workstation.


Argument Definitions

index

numeric constant or numeric variable name; indicates the fill bundle to check. Valid values are 1 to 20, inclusive. If index is expressed as a variable, the variable must be initialized to a value between 1 and 20.

color-index

numeric variable name; returns the color index of the fill color associated with the bundle. The color index that is returned corresponds to a color specification in the following order:

  1. a color index assigned to a color name with the GSET('COLREP', . . . ) function

  2. the nth color in the color list of the COLORS= graphics option

  3. the nth color in the device's default color list found in the device entry.

interior

character variable name; returns the style of the interior associated with the bundle index:

  • HATCH

  • HOLLOW

  • PATTERN

  • SOLID.

style-index

numeric variable name; returns the index of the fill pattern associated with the bundle. See the FILSTYLE for the fill patterns represented by style-index.

return-code-variable

numeric variable name; returns the return code of the routine call.


See Also

COLORS= graphics option (see COLORS)

FILINDEX

COLREP

FILREP

FILSTYLE

Previous Page | Next Page | Top of Page