Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_ws_tran(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_ws_tran(3g)  —  Subroutines

Name

pinq_ws_tran − Returns information about workstation window limits and viewport limits. 

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

Syntax

void pinq_ws_tran (
  Pint       wsid,            /∗ (I) Workstation identifier ∗/
  Pint      ∗error_ind,       /∗ (O) Error indicator ∗/
  Pupd_st   ∗state,           /∗ (O) Update state ∗/
  Plimit    ∗req_win_limits,  /∗ (O) Requested workstation window, in
                                     normalized projection coordinates ∗/
  Plimit    ∗cur_win_limits,  /∗ (O) Current workstation window, in
                                     normalized projection coordinates ∗/
  Plimit    ∗req_vp_limits,   /∗ (O) Requested workstation viewport, in
                                     device coordinates ∗/
  Plimit    ∗cur_vp_limits    /∗ (O) Current workstation viewport, in
                                     device coordinates ∗/
)

 

Data Structures

typedef enum {
    PUPD_NOT_PEND,    /∗ no update pending ∗/
    PUPD_PEND         /∗ update pending ∗/
} Pupd_st;
typedef struct {
    Pfloat    x_min;    /∗ x minimum ∗/
    Pfloat    x_max;    /∗ x maximum ∗/
    Pfloat    y_min;    /∗ y minimum ∗/
    Pfloat    y_max;    /∗ y maximum ∗/
} Plimit;

Description

pinq_ws_tran queries the workstation state list and returns values for the following:

•Workstation transformation update state

•Requested workstation window limits in normalized projection coordinate points

•Current workstation window limits in normalized projection coordinate points

•Requested workstation viewport limits in device coordinates

•Current workstation viewport limits in device coordinates

If an application requests a workstation transformation change but Digital PHIGS does not provide it by the time the application calls this function, the workstation transformation update state is PUPD_PEND. 

See Also

pinq_ws_tran3
pset_ws_vp
pset_ws_win

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