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

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

Purpose

Use Set Text Color Index to insert a Set Text Color 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 Color Index structure element, depending on the current edit mode.

This structure element specifies an entry in the workstation's rendering color table that defines the color the graPHIGS API uses to render all subsequent annotation and geometric text primitives. At structure traversal time, the graPHIGS API uses this index to render the text primitives when the text color aspect source flag is set to INDIVIDUAL (Set Individual ASF).

The traversal default for text color is a color index value of 1.

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

Language Bindings

C

pset_text_colr_ind (text_colr_ind)

Input Parameters

Pint text_colr_ind
Text color index (>=0).

FORTRAN

PSTXCI (coli)

Input Parameters

integer coli
Text color index (>=0).

Errors

5
Function Requires State (PHOP,*,STOP,*)
113
Color Index Value < ZERO

Related Subroutines

  • Inquire Predefined Text Representation

  • Inquire Text Representation

  • Set Individual ASF

  • Set Text Representation


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