[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPPMCI - Set Polymarker Color Index

GPPMCI (index)

Purpose

Use GPPMCI to insert a Set Polymarker Color Index structure element into the open structure following the element pointer or to replace the element pointed at by the element pointer with a Set Polymarker Color Index structure element depending on the current edit mode.

This structure element specifies an entry in the workstation's rendering color table that defines the color values that the graPHIGS API uses to render all polymarker primitives. At structure traversal time, the graPHIGS API uses this index to render the polymarker primitives when the polymarker color aspect source flag is set to 2=INDIVIDUAL

This attribute sets the same traversal state as the Set Polymarker Color Direct (GPPMCD) subroutine. The traversal default for polymarker color is a color index value of 1.

If the workstation does not support the specified polymarker color, then the polymarker color index defaults to a value of 1.

Parameters

index -- specified by user, fullword integer

Color index (>=0)

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)
92
COLOR INDEX < ZERO

Related Subroutines

GPASF
Attribute Source Flag Setting
GPPMCD
Set Polymarker Color Direct
GPQPMF
Inquire Polymarker Facilities
GPQPMR
Inquire Predefined Polymarker Representation
GPQXMR
Inquire Extended Polymarker Representation
GPXPMR
Set Extended Polymarker Representation

RCP code

201328646 (X'0C000806')


[ Previous | Next | Contents | Glossary | Home | Search ]