void pset_text_rep(
Pint ws_id /* workstation identifier */ Pint index /* text bundle index */ const Ptext_bundle *rep /* text representation */
)
typedef struct {
Pint font; /* text font */
Ptext_prec prec; /* text precision */
Pfloat char_expan; /* character expansion factor */
Pfloat char_space; /* character spacing */
Pint colr_ind; /* text colour index */
} Ptext_bundle ;
typedef enum {
PPREC_STRING,
PPREC_CHAR,
PPREC_STROKE
} Ptext_prec;
The rep values are placed in the text bundle table at index in the workstation state list.
The text bundle table in the workstation state list is initialized from the ws_id workstation description table when the workstation is opened.
When the text primitives are displayed during traversal, the current text index entry in the PHIGS traversal state list refers to the corresponding entry in the ws_id workstation text bundle table. If the index is invalid, the default value is 1. If the colour index is not available for the workstation, the colour index used is 1.
set text index, set individual asf, set text representation plus, inquire text representation, inquire predefined text representation, inquire text facilities, inquire workstation state table length