[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference

SET TEXT REPRESENTATION (PHOP,WSOP,*,*)

Purpose

Use Set Text Representation to set the given attribute values into the specified entry of the text bundle table.

If you specify a precision that the workstation does not support, then the graPHIGS API substitutes the font's highest available precision for that workstation.

Language Bindings

C

pset_text_rep (ws_id, text_ind, text_bundle)

Input Parameters

Pint ws_id
Workstation identifier.

Pint text_ind
Text bundle index (>=1).

const Ptext_bundle *text_bundle
Text representation.

FORTRAN

PSTXR (wkid, txi, font, prec, chxp, chsp, coli)

Input Parameters

integer wkid
Workstation identifier.

integer text
Text bundle index (>=1).

integer font
Text font.

integer prec
Text precision (0=PSTRP, 1=PCHARP, 2=PSTRKP).

real chxp
Character expansion factor.

real chsp
Character spacing.

integer coli
Text color index (>=0).

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
103
Exceeded Maximum Number Of Workstation Bundle Table Entries
106
Specified Font Not Available For Requested Text Precision
113
Color Index Value < ZERO

Related Subroutines

  • Inquire Text Representation

  • Set Character Expansion Factor

  • Set Character Spacing

  • Set Color Model

  • Set Individual ASF

  • Set Text Color Index

  • Set Text Font

  • Set Text Index

  • Set Text Precision


  • [ Previous | Next | Contents | Glossary | Home | Search ]