[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE TEXT REPRESENTATION (PHOP,WSOP,*,*)
Purpose
Use
Inquire Text Representation
to inquire the current text attributes contained in
the specified entry in the text bundle table of the specified
workstation.
Returned values of type SET or
REALIZED may be specified.
The graPHIGS API returns data indicating the text font and precision,
character expansion factor and spacing, and text color of the
specified entry.
Possible text precisions include:
STRING,
CHARACTER, and STROKE.
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_text_rep
(ws_id,
index, type, err_ind, text_rep) |
Pint ws_idWorkstation identifier.
Pint indexText index (>=1).
Pinq_type typeType of returned values
(0=PINQ_SET,
1=PINQ_REALIZED).
Pint *err_indError indicator.
Ptext_bundle *text_repText representation.
FORTRAN
PQTXR
(wkid, txi, type,
errind, font, prec,
chxp, chsp, coli) |
integer wkidWorkstation identifier.
integer txiText index (>=1).
integer typeType of returned values
(0=PSET, 1=PREALI).
integer errindError indicator.
integer fontText font.
integer precText precision
(0=PSTRP, 1=PCHARP, 2=PSTRKP).
real chxpCharacter expansion factor.
real chspCharacter spacing.
integer coliText color index.
Errors
None
Related Subroutines
Set Text Representation
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]