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

INQUIRE POLYMARKER REPRESENTATION (PHOP,WSOP,*,*)

Purpose

Use Inquire Polymarker Representation to inquire the current polymarker representation in the specified entry in the polymarker bundle table of the specified workstation. Returned values of type SET or REALIZED may be specified.

If the specified polymarker index is not present in the polyline bundle table on the workstation and the specified type of returned values is REALIZED, then the graPHIGS API returns the representation for polymarker index 1.

If the information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. If the information is unavailable, then the values returned in the output parameters are unpredictable and the graPHIGS API sets the error indicator to one of the following errors:

3
Function Requires State (PHOP,WSOP,*,*)
54
Specified Workstation Is Not Open
59
Specified Workstation Does Not Have Output Capability
100
Bundle Index Value Is Less Than One
101
Specified Representation Has Not Been Defined

Language Bindings

C

pinq_marker_rep (ws_id, index, type, *err_ind, *marker_rep)

Input Parameters

Pint ws_id
Workstation identifier.

Pint index
Polymarker index (>=1).

Pinq_type type
Type of returned values (0=PINQ_SET, 1=PINQ_REALIZED).

Output Parameters

Pint *err_ind
Error indicator.

Pmarker_bundle *marker_rep
Polymarker representation.

FORTRAN

PQPMR (wkid, pmi, type, errind, mtype, mszsf, coli)

Input Parameters

integer wkid
Workstation identifier.

integer pmi
Polymarker index (>=1).

integer type
Type of returned values (0=PSET, 1=PREALI).

Output Parameters

integer errind
Error indicator.

integer mtype
Marker type.

real mszsf
Marker size scale factor.

integer coli
Polymarker color index.

Errors

None

Related Subroutines

  • Set Polymarker Representation


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