[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE TEXT FACILITIES (PHOP,*,*,*)
Purpose
Use
Inquire Text Facilities
to inquire the text facilities for the specified
workstation type.
Only the highest supported precision for each font is present in
the list of text font and precision pairs. Possible text
precisions include:
STRING, CHARACTER, or STROKE.
If the graPHIGS API returns a value of zero for the number of
available character heights, then the workstation supports
a continuous range of character heights.
If the graPHIGS API returns a value of zero for the number of
available character expansion factors, then the workstation supports
a continuous range of character expansion factors.
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
Language Bindings
C
pinq_text_facs
(ws_type,
num_elems_appl_list, start_ind, err_ind,
fac, num_elems_impl_list) |
Pint ws_typeWorkstation type.
Pint num_elems_appl_listNumber of elements in the application list
(>=0).
Pint start_indStarting index (>=0).
Pint *err_indError indicator.
Ptext_facs *facText facilities.
Pint *num_elems_impl_listNumber of elements in the implementation list.
FORTRAN
PQTXF
(wtype, n, errind,
nfpp, font, prec,
nchh, minchh, maxchh,
nchx, minchx, maxchx,
nptxi) |
integer wtypeWorkstation type.
integer nList element requested (>=0).
integer errindError indicator.
integer nfppNumber of text font and precision pairs.
integer fontnth element in the list of text fonts.
integer precnth element in the list of text precisions
(0=PSTRP, 1=PCHARP, 2=PSTRKP).
integer nchhNumber of available character heights.
real minchhMinimum character height in DC.
real maxchhMaximum character height in DC.
integer nchxNumber of available character expansion factors.
real minchxMinimum character expansion factor.
real maxchxMaximum character expansion factor.
integer nptxiNumber of predefined text indexes.
Errors
None
Related Subroutines
Inquire Workstation Connection And Type
Set Text Representation
Text
Text 3
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]