Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pset_text_prec(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pset_text_prec(3g)  —  Subroutines

Name

pset_text_prec − Controls how closely displayed characters adhere to the defined text representation. 

 
Operating States: PHOP, ∗, STOP, ∗
PHIGS standard function
Creates a structure element

Syntax

void pset_text_prec (
  Ptext_prec     prec   /∗ (I) Text precision ∗/
)

Data Structures

typedef enum {
    PPREC_STRING,   /∗ String precision. Digital PHIGS evaluates character
                       height and width attributes. ∗/
    PPREC_CHAR,     /∗ Character precision. Digital PHIGS evaluates each
                       character for compliance with all other specified
                       text attributes.  ∗/
    PPREC_STROKE    /∗ Stroke precision. Digital PHIGS looks for exact
                       compliance with all specified text
                       attributes. ∗/
} Ptext_prec;

Description

pset_text_prec creates a text precision value to control how closely the displayed characters adhere to the text representation defined by the workstation-independent text attributes, and the current transformation and clipping values.  Depending on the current edit mode, this function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer.  The pointer then points to the new set text precision element. 

During structure traversal, the set text precision element sets the specified value for the current text precision entry in the PHIGS traversal state list. If the current text precision ASF entry in the PHIGS traversal state list is INDIVIDUAL, Digital PHIGS uses the text precision value when traversing subsequent text, text 3, annotation text, and annotation text 3 primitives.  If the ASF setting is BUNDLED, the value has no effect. 

If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element. 

See Also

panno_text_rel
panno_text_rel3
pinq_text_facs
pinq_text_rep
pinq_text_rep_plus
pset_indiv_asf
pset_text_font
pset_text_ind
pset_text_rep
pset_text_rep_plus
ptext
ptext3

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026