draw(3G)
draw, drawi, draws, draw2, draw2i, draw2s - draws a line
As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.
NAME draw, drawi, draws, draw2, draw2i, draw2s - draws a line FORTRAN 77 SPECIFICATION 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 All of the above functions are functionally the same except for the type declarations of the parameters. In addition the draw2* routines assume a 2-D point instead of a 3-D point. PARAMETERS x expects the x coordinate of the point to which you want to draw a line segment. y expects the y coordinate of the point to which you want to draw a line segment. z expects the z coordinate of the point to which you want to draw a line segment. (Not used by 2-D subroutines.) 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 bgnlin, endlin, move, v, getgpo NOTE draw should not be used in new development. Rather, lines should be drawn using the high-performance v commands, surrounded by calls to bgnlin and endlin.