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

GPPMR - Set Polymarker Representation

GPPMR (wsid, index, mtype, msize, color)

Purpose

Use GPPMR to set the given attribute values in the specified entry of the polymarker bundle table.

Parameters

wsid -- specified by user, fullword integer

Workstation identifier.

index -- specified by user, fullword integer

Polymarker bundle table index (>=1) Index of table entry to be loaded.

mtype -- specified by user, fullword integer

Specifies an index into the marker type table of the workstation. The table size and specific entries supported are workstation dependent. Use the Inquire Polymarker Facilities (GPQPMF) subroutine to locate the supported marker types on your workstation. The default marker type table for supported entries is defined with the following marker types: (1=DOT, 2=PLUS_SIGN, 3=ASTERISK, 4=CIRCLE, 5=DIAGONAL_CROSS, 6-n=ASTERISK Any entry may be changed by the Set Marker Type Representation (GPMTR) subroutine except entry 3)

msize -- specified by user, short floating-point number

Marker size scale factor is specified as a fraction of the nominal marker size. A marker size scale factor of 1.0, which is the default, generates a nominal size marker on any workstation. Any other value is mapped to the closest available marker size on the workstation.

color -- specified by user, fullword integer

Polymarker color index (>=0)

Error Codes

25
SPECIFIED WORKSTATION DOES NOT EXIST
35
WORKSTATION HAS ONLY INPUT CAPABILITIES
43
BUNDLE INDEX EXCEEDS WORKSTATION TABLE CAPACITY
60
BUNDLE INDEX VALUE < ONE
69
MARKER TYPE VALUE < ONE
70
SPECIFIED MARKER TYPE NOT AVAILABLE ON WORKSTATION
92
COLOR INDEX < ZERO
93
COLOR INDEX VALUE(S) EXCEED WORKSTATION TABLE CAPACITY

Related Subroutines

GPXPMR
Set Extended Polymarker Representation

RCP code

201329410 (X'0C000B02')


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