Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dpxmp(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DPXMP(3g)  —  Subroutines

Name

DPXMP − Creates a pixmap structure element. 

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

Syntax

 

DPXMP (PX, PY, PZ, INDEX)

Argument        Data Type      Access    Description
-------------------------------------------------------------------------
PX, PY, PZ      Real           Read      Point to anchor the pixmap, in
                                         modeling coordinates
INDEX           Integer        Read      Index into the pixmap table
-------------------------------------------------------------------------

Description

DPXMP creates a structure element.  During structure traversal (or immediate mode), Digital PHIGS examines the workstation table for pixmaps and places the pixmap on the screen in the Digital PHIGS xy-plane. 

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 pixmap element. 

The "hot spot" of the pixmap is at the offset in pixel units measured from the upper-left corner of the pixmap with y increasing down the screen.  The hot spot will be positioned over the projected modeling space pixmap origin (X, Y, Z).  You specify the offset using the DSPXMR function. 

Digital PHIGS follows the current hidden line and hidden surface (HLHSR) methods.  If Z buffering is enabled, Digital PHIGS sends the Z value to the Z buffer. 

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

See Also

DQPXMR
PSDCI
DSPXMR

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