Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_pred_text_rep(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_pred_text_rep(3g)  —  Subroutines

Name

pinq_pred_text_rep − Returns text information. 

Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function

Syntax

void pinq_pred_text_rep (
  Pint           wstype,     /∗ (I) Workstation type ∗/
  Pint           index,      /∗ (I) Predefined text index ∗/
  Pint          ∗error_ind,  /∗ (O) Error indicator ∗/
  Ptext_bundle  ∗rep         /∗ (O) Predefined text representation ∗/
)

 

Data Structures

typedef struct {
    Pint        font;           /∗ text font ∗/
    Ptext_prec  prec;           /∗ text precision ∗/
    Pfloat      char_expan;     /∗ character factor ∗/
    Pfloat      char_space;     /∗ character spacing ∗/
    Pint        colr_ind;       /∗ text color index ∗/
} Ptext_bundle;
    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

pinq_pred_text_rep queries the workstation description table and returns values for the following:

•Text font

•Text precision value

•Character expansion factor

•Character spacing

•Text color index

See Also

pinq_pred_text_rep_plus
pinq_text_facs
pinq_text_rep
pinq_text_rep_plus
pset_text_ind
pset_text_rep
pset_text_rep_plus

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