Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ draw(3g) — GL2 W2.5

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 point x, y, z specify and the current graphics position with a line segment.  It uses the current linestyle, linewidth, color (if in depth- cue mode, the depth-cued color is used), and writemask. 

draw updates the current graphics position to the specified point. 

Do not place routines that invalidate the current graphics position within sequences of moves and draws. 

SEE ALSO

move, pnt, rdr, rmv IRIS Graphics Programming, Section 3.4, Lines

Version 2.5  —  April 22, 1987

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