Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ panno_text_rel3(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

panno_text_rel3(3g)  —  Subroutines

Name

panno_text_rel3 − Specifies a reference point for the annotated text in world and defines an annotated offset. 

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

Syntax

void panno_text_rel3 (
  const Ppoint3   ∗ref_pt,   /∗ (I) Reference point, in modeling
                                    coordinates ∗/
  const Pvec3     ∗offset,   /∗ (I) Annotation offset, in normalized
                                    projection coordinates ∗/
  const char      ∗text      /∗ (I) Character string ∗/
)

Data Structures

typedef struct {
    Pfloat     x;    /∗ x coordinate ∗/
    Pfloat     y;    /∗ y coordinate ∗/
    Pfloat     z;    /∗ z coordinate ∗/
} Ppoint3;
typedef struct {
    Pfloat     delta_x;    /∗ delta x value ∗/
    Pfloat     delta_y;    /∗ delta y value ∗/
    Pfloat     delta_z;    /∗ delta z value ∗/
} Pvec3;

Description

panno_text_rel3 specifies a reference point for the annotated text (text that must appear parallel to the viewing surface) in world coordinate points, and then defines an annotated offset in normalized projection coordinates.  The annotation point is the point at which Digital PHIGS places the text, which Digital PHIGS computes by adding the value of the annotation offset argument to the transformed reference point. 

Depending on the text attribute source flag values, Digital PHIGS gathers the attributes -- text color, text precision, character expansion, character spacing, and text font -- from the current attribute text values or from the text bundle index attribute. 

Depending on the 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 annotation text relative 3 element. 

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

See Also

padd_names_set
panno_text_rel
pinq_anno_facs
pinq_text_extent
premove_names_set
pset_anno_style
pset_anno_align
pset_anno_char_ht
pset_anno_char_up_vec
pset_anno_path
pset_char_expan
pset_char_space
pset_depth_cue_ind
pset_hlhsr_id
pset_indiv_asf
pset_text_align
pset_text_colr
pset_text_colr_ind
pset_text_font
pset_text_ind
pset_text_prec
pset_view_ind

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