Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ wc_to_vdc(3G) — HP-UX 5.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gopen(3g)

WC_TO_VDC(3G)

NAME

wc_to_vdc − transform a World Coordinate point into a Virtual Device Coordinate point using the current transformation matrix. 

SYNOPSIS

C SYNTAX

void wc_to_vdc(fildes,wcx,wcy,wcz,vdcx,vdcy,vdcz);
int fildes;
float wcx,wcy,wcx,*vdcx,*vdcy,*vdcz;

FORTRAN77 SYNTAX

        subroutine wc_to_vdc(fildes,wcx,wcy,wcz,vdcx,vdcy,vdcz)
        integer*4 fildes
        real wcx,wcy,wcx,vdcx,vdcy,vdcz

PASCAL SYNTAX

procedure wc_to_vdc(fildes:integer;wcx,wcy,wcz:real;
var vdcx,vdcy,vdcz:real);

HP-UX COMPATIBILITY

Level: HP-UX/STANDARD

Origin: HP

DESCRIPTION

INPUT PARAMETERS

fildes
is an integer file descriptor returned by gopen when an I/O path to a graphic device is opened. 
wcx,wcy,wcz
define a point in World Coordinate space.
vdcx,vdcy,vdcz
is the transformed point in Virtual Device Coordinate space.

DISCUSSION

This command left-multiplies a world coordinate vector made up of with the current World Coordinate Transformation Matrix.  The current World Coordinate Transformation Matrix must be the top matrix on the matrix stack.  The current transformation mode (2d or 3d) is used. This mode is specified by the THREE_D parameter of the gopen procedure. 

SEE ALSO

gopen(3g). 

Hewlett-Packard  —  last mod. May 11, 2021

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