Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ draw(3g) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

draw()  —  Silicon Graphics

NAME

draw - draws a line

SPECIFICATION

C
draw(x, y, z)
Coord x, y, z;

drawi(x, y, z)
Icoord x, y, z;

draws(x, y, z)
Scoord x, y, z;

draw2(x, y)
Coord x, y;

draw2i(x, y)
Icoord x, y;

draw2s(x, y)
Scoord x, y;

FORTRAN
subroutine draw(x, y, z)
real x, y, z

subroutine drawi(x, y, z)
integer*4 x, y, z

subroutine draws(x, y, z)
integer*2 x, y, z

subroutine draw2(x, y)
real x, y

subroutine draw2i(x, y)
integer*4 x, y

subroutine draw2s(x, y)
integer*2 x, y

Pascal
procedure draw(x, y, z: Coord);

procedure drawi(x, y, z: Icoord);

procedure draws(x, y, z: Scoord);

procedure draw2(x, y: Coord);

procedure draw2i(x, y: Icoord);

procedure draw2s(x, y: Scoord);

DESCRIPTION

draw connects the specified point and the current graphics position with a line segment using the current linestyle, linewidth, color (if in depth cue mode, then the depth cued color is used), and writemask.  The current graphics position is updated to the specified point.  Commands that invalidate the current graphics position should not be placed within sequences of moves and draws. 

SEE ALSO

move, pnt, rdr, rmv

Version 2.4  —  May 08, 1986

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