Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pset_anno_char_up_vec(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pset_anno_char_up_vec(3g)  —  Subroutines

Name

pset_anno_char_up_vec − Sets the x and y components of the up vector for annotation text primitives. 

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

Syntax

void pset_anno_char_up_vec (
  const Pvec   ∗up_vec  /∗ (I) Annotation text character up vector in text
                               local coordinates, whose unit size is
                               unscaled from normalized projection
                               coordinates.  The default value is
                               (0.0, 1.0). ∗/
)

Data Structures

typedef struct {
    Pfloat     delta_x;    /∗ delta x value ∗/
    Pfloat     delta_y;    /∗ delta y value ∗/
} Pvec;

Description

pset_anno_char_up_vec sets the x and y components of the vector that defines the up direction for annotation text primitives.  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 annotation text character up vector element. 

The annotation text character up vector is specified in the text local coordinate system. The text local coordinate system has unit size unscaled from normalized projection coordinates. 

If the annotation text character up vector is zero length, Digital PHIGS uses the value (0,1) for the annotation text character up vector.  The value is (1,0) for the annotation text character base vector. 

During structure traversal, Digital PHIGS sets the current annotation text character up vector entry in the PHIGS traversal state list to the value specified by the parameter. Digital PHIGS sets the value of the current annotation text character base vector entry in the PHIGS traversal state list to a vector of arbitrary length, at right angles in the clockwise direction to the value specified by the parameter. 

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

See Also

pe_alt_anno_text_rel
pe_alt_anno_text_rel3
panno_text_rel
panno_text_rel3
pset_char_up_vec

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