[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE PREDEFINED POLYLINE REPRESENTATION (PHOP,*,*,*)
Purpose
Use
Inquire Predefined Polyline Representation
to inquire the predefined polyline attributes in
an entry of the bundle table for a specified workstation
type.
The graPHIGS API returns the polyline type, width, and color for
the specified index of the specified workstation type.
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
- 62
- This Information Not Available For MO Workstation Type
- 100
- Bundle Index Value Is Less Than One
- 102
- Representation Has Not Been Predefined On This Workstation
Language Bindings
C
pinq_pred_line_rep
(ws_type,
index, err_ind, bundle) |
Pint ws_typeWorkstation type.
Pint indexPredefined polyline index
(>=1).
Pint *err_indError indicator.
Pline_bundle *bundlePredefined polyline representation.
FORTRAN
PQPPLR
(wtype, pli, errind,
ltype, lwidth, coli) |
integer wtypeWorkstation type.
integer pliPredefined polyline index
(>=1).
integer errindError indicator.
integer ltypeLine type.
real lwidthLine width scale factor.
integer coliPolyline color index.
Errors
None
Related Subroutines
Inquire Workstation Connection And Type
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]