Previous Next Up Title Contents Index Functions Index Top Library

SET TEXT REPRESENTATION

PSET_TEXT_REP


CALL SEQUENCE

void pset_text_rep(
)

TYPES

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;

PHIGS STATE

(PHOP, WSOP, *, *).

EFFECT

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.

ERRORS

3
Ignoring function, function requires state (PHOP, WSOP,*,*)
54
Ignoring function, the specified workstation is not open
59
Ignoring function, the specified workstation does not have output capability (i.e. the workstation category is neither OUTPUT, OUTIN, nor MO)
100
Ignoring function, the bundle index value is less than one
103
Ignoring function, setting this bundle table entry would exceed the maximum number of entries allowed in the workstation
106
Ignoring function, the specified font is not available for the requested text precision on the specified workstation
113
Ignoring function, the colour index value is less than zero

SEE ALSO

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


Previous Next Up Title Contents Index Functions Index Top Library