[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE PREDEFINED PATTERN
REPRESENTATION (PHOP,*,*,*)
Purpose
Use
Inquire Predefined Pattern Representation
to inquire a predefined pattern table entry.
For a given workstation type, the graPHIGS API returns
the values corresponding to
the specified index of the predefined pattern table.
The graPHIGS API returns the pattern color index array.
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
- 112
- Pattern Index Value < ONE
- 102
- Representation Has Not Been Predefined On This Workstation
Language Bindings
C
pinq_pred_pat_rep
(ws_type,
index, store, err_ind, pat_rep) |
Pint ws_typeWorkstation type.
Pint indexPredefined pattern index
(>=1).
Pstore storeHandle to the store object.
The graPHIGS API uses an object of type Store to facilitate
the use of subroutines which return complex data.
See Create Store
(
CREATE STORE (PHOP,*,*,*))
subroutine for details on how the graPHIGS API uses
this parameter on inquiries.
Pint *err_indError indicator.
Ppat_rep **pat_repPredefined pattern representation.
The memory referenced by *pat_rep
is managed by the parameter store.
FORTRAN
PQPPAR
(wtype, ppai, dimx,
dimy, errind, dx, dy,
colia) |
integer wtypeWorkstation type.
integer ppaiPredefined pattern index
(>=1).
integer dimxMaximum x-axis dimension of colia
(>=0).
integer dimyMaximum y-axis dimension of colia
(>=0).
integer errindError indicator.
integer dxx-axis dimension of the pattern color index array.
integer dyy-axis dimension of the pattern color index array.
integer colia (dimx,dimy)Pattern color index array.
Errors
None
Related Subroutines
Inquire Workstation Connection And Type
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]