void PEXOCCSetMarkerColorIndex( PEXOCC context, unsigned int index )
void PEXSetMarkerColorIndex( Display *display, XID resource_id, PEXOCRequestType req_type, unsigned int index )
None.
Invoke PEXOCCSetMarkerColorIndex to set the marker color entry of the renderer's pipeline state to an indexed color according to the value specified by index. The index selects an entry of the renderer's color table. You can alternately use the PEXOCCSetMarkerColor function which allows you to specify a color of any type.
By setting the marker color index attribute's ASF to PEXIndividual (see PEXOCCSetIndividualASF), you use the pipeline state's marker color entry to determine the color of marker attributes. When you set the marker color attribute's ASF to PEXBundled, the implementation uses the marker color from the marker bundle table.
If you specify an undefined color index, then the index defaults to color index one. If color index one is not defined, then the color defaults to white. If you specify a color index which is greater than 65534, then the implementation issues a BadPEXOutputCommand error.
This function is a member of the marker attribute set.
For an overview and for a list of all output attribute functions, see Output Attribute Functions.