GPICD (color) |
Purpose
Use GPICD to insert a Set Interior Color Direct structure element into the open structure following the element pointer or to replace the element pointed at by the element pointer with a Set Interior Color Direct structure element depending on the current edit mode.
This structure element specifies the direct color values the graPHIGS API uses to fill all following polygon definitions if the interior style is set to 1=HOLLOW and edge is 1=OFF or if the interior style is set to 2=SOLID or 4=HATCH
Face distinguish mode must be set to 2=COLOR_SURFACE_PROPERTIES for the graPHIGS API to use these values to fill the front facing portions only. If the face distinguish mode is 1=NONE , then the graPHIGS API uses these values to fill both the front facing and back facing portions of the area defining primitives.
At structure traversal time, the graPHIGS API uses these values to render the interiors when the interior color aspect source flag is set to 2=INDIVIDUAL
This attribute sets the same traversal state as the Set Interior Color Index (GPICI) subroutine. The traversal default for interior color is the content of entry 1 of the rendering color table.
Parameters
Error Codes
Related Subroutines
RCP code
201328905 (X'0C000909')