[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE GENERALIZED DRAWING PRIMITIVE 3 (PHOP,*,*,*)
Purpose
Use
Inquire Generalized Drawing Primitive 3
to inquire the list of sets of attributes used by the
specified Generalized Drawing Primitive 3 (GDP 3) on the
specified workstation.
Possible sets of attributes include:
POLYLINE, POLYMARKER,
TEXT, INTERIOR and/or EDGE attributes.
The graPHIGS API returns a list of the attributes used by the
specified GDP 3.
For registered GDP 3 identifiers,
the ISO International Register of Graphical Items defines
the list of sets of attributes used.
For implementation dependent GDP 3 identifiers, the
list of sets of attributes used is workstation dependent.
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:
- 2
- Function Requires State (PHOP,*,*,*)
- 52
- Workstation Type Not Recognized By Implementation
- 51
- Information Not Available For Generic Workstation Type
- 59
- Specified Workstation Does Not Have Output Capability
- 64
- Specified Workstation Type Cannot Generate Specified GDP
- 62
- This Information Not Available For MO Workstation Type
Language Bindings
C
pinq_gdp3
(ws_type,
gdp, err_ind, num_attr, attr) |
Pint ws_typeWorkstation type.
Pint gdpGDP 3 function identifier.
Pint *err_indError indicator.
Pint *num_attrNumber of sets of attributes used.
Pattrs attr[5]List of sets of attributes used
(0=PATTR_LINE, 1=PATTR_MARKER,
2=PATTR_TEXT, 3=PATTR_INT,
4=PATTR_EDGE).
FORTRAN
PQGDP3
(wtype, gdp, errind,
nbnd, bndl) |
integer wtypeWorkstation type.
integer gdpGDP 3 function identifier.
integer errindError indicator.
integer nbndNumber of sets of attributes used.
integer bndl(5)List of sets of attributes used
(0=PPLATT, 1=PPMATT, 2=PTXATT, 3=PINATT,
4=PEDATT).
Errors
None
Related Subroutines
Generalized Drawing Primitive 3
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]