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

GPQAMF - Inquire Actual Polymarker Facilities

GPQAMF (wsid, start, number, errind, ntype, mtype, nsize, size, minms, maxms)

Purpose

Use GPQAMF to inquire the quantity of polymarker types and polymarker sizes on the specified workstation.

The graPHIGS API returns a number that indicates the total quantity of polymarker types and their identifiers and data indicating the total quantity of nominal, minimum, and maximum polymarker sizes for the specified workstation. The marker sizes are returned in Device Coordinates (DC) If the number of available marker sizes is returned as zero, the workstation supports a continuous range of marker sizes within the minimum and maximum sizes indicated.

If the inquired information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. If the error indicator is 543 (the start value exceeds the extent of the available data), then only the total number (totnum) parameter is set. If the inquired information is unavailable, then the error indicator (errind) contains an error number indicating the reason, and the values returned in the output parameters are unpredictable.

Parameters

wsid -- specified by user, fullword integer

Workstation identifier.

start -- specified by user, fullword integer

Starting member of the list of marker types (>=1)

number -- specified by user, fullword integer

Number of marker types requested (>=0)

This number refers to the quantity of marker type values the graPHIGS API returns.

errind -- returned by the graPHIGS API, fullword integer

Error indicator. If the error indicator is zero, the request has been completed. Otherwise, one of the following errors exists:
25
SPECIFIED WORKSTATION DOES NOT EXIST
35
WORKSTATION HAS ONLY INPUT CAPABILITIES
538
START VALUE < ONE
539
REQUESTED NUMBER < ZERO
543
START EXCEEDS DATA EXTENT. TOTAL NUMBER AVAILABLE RETURNED

ntype -- returned by the graPHIGS API, fullword integer

Total number of available marker types.

mtype -- returned by the graPHIGS API, array of fullword integers.

Specifies an index into the marker type table of the workstation. The table size and specific entries supported are workstation dependent. 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. Any output array must be large enough to contain the requested data.

nsize -- returned by the graPHIGS API, fullword integer

Number of available marker sizes. (Zero means that the workstation supports a continuous range of marker sizes)

size -- returned by the graPHIGS API, short floating-point number (DC)

Nominal marker size.

minms -- returned by the graPHIGS API, short floating-point number (DC)

Minimum marker size.

maxms -- returned by the graPHIGS API, short floating-point number (DC)

Maximum marker size.

Error Codes

None

Related Subroutines

GPQPMF
Inquire Polymarker Facilities
GPQRCT
Inquire Realized Connection Type

RCP code

201336581 (X'0C002705')


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