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

SET TEXT INDEX (PHOP,*,STOP,*)

Purpose

Use Set Text Index to insert a Set Text Index structure element into the open structure following the element pointer or replace the element pointed at by the element pointer with a Set Text Index structure element, depending on the current edit mode.

This structure element specifies an entry in the workstation's text bundle table. The entry contains attribute settings for text font, text precision, character expansion factor, character spacing, and color. At structure traversal time, the graPHIGS API uses these attribute settings to render all subsequent annotation and geometric text primitives for the attributes that have an aspect source flag set to BUNDLED (Set Individual ASF).

The traversal default value for text index is 1.

If the workstation does not support the specified text index or the specified index is outside the text bundle table size, then the text index defaults to a value of 1.

Language Bindings

C

pset_text_ind (text_ind)

Input Parameters

Pint text_ind
Text index (>=1).

FORTRAN

PSTXI (txi)

Input Parameters

integer txi
Text index (>=1).

Errors

5
Function Requires State (PHOP,*,STOP,*)
100
Bundle Index Value Is Less Than One

Related Subroutines

  • Inquire Predefined Text Representation

  • Inquire Text Representation

  • Inquire Workstation State Table Lengths

  • Set Text Representation


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