draw(3G) — 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, x: 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 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
pnt, rdr, rmv, move Programming Guide, Section 3.4, Lines
Version 3.6 — December 20, 1987