Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

MOVE(3G)

NAME

move −  update current pen position and move physical pen to to that location

SYNOPSIS

C Syntax:

void move2d(fildes,x,y);
int fildes;
float x,y;

void move3d(fildes,x,y,z);
int fildes;
float x,y,z;

void dcmove(fildes,dcx,dcy);
int fildes,dcx,dcy;

FORTRAN77 Syntax:

subroutine move2d(fildes,x,y)
integer*4 fildes
real x,y

subroutine move3d(fildes,x,y,z)
integer*4 fildes
real x,y,z

subroutine dcmove(fildes,dcx,dcy)
integer*4 fildes,dcx,dcy

Pascal Syntax:

procedure move2d(fildes:integer;x,y:real);

procedure move3d(fildes:integer;x,y,z:real);

procedure dcmove(fildes,dcx,dcy:integer);

DESCRIPTION

Input Parameters

fildes Integer file descriptor returned by gopen when a path to a graphics device is opened. 

x,y,z Defines the position to which the current pen position is moved (updated) in World Coordinate values. 

dcx,dcy Defines the position to which the current pen position is moved (updated) in device coordinates. 

Discussion

Move updates the Current Pen Position in World Coordinates to the specified position.  If the device identified by fildes has a physical pen, the physical pen is also relocated to the Current Pen Position. 

Dcmove performs an equivalent operation in device coordinates, but does not perform any transformation or clipping steps. 

World Coordinate Current Pen Position is completely independent from Device Coordinate Pen Position. If you are switching between the two coordinate systems, be sure to do a move as the first procedure after changing coordinate systems before doing any other work with the new coordinates. 

SEE ALSO

draw(3G). 

Hewlett-Packard Company  —  May 11, 2021

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