*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/draw (3)              
Title
Content
Arch
Section
 

Contents


draw(3G)							      draw(3G)


NAME    [Toc]    [Back]

     draw, drawi, draws, draw2,	draw2i,	draw2s - draws a line

C SPECIFICATION    [Toc]    [Back]

     void draw(Coord x,	Coord y, Coord z)

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

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

     void draw2(Coord x, Coord y)

     void draw2i(Icoord	x, Icoord y)

     void draw2s(Scoord	x, Scoord 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    [Toc]    [Back]

     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    [Toc]    [Back]

     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    [Toc]    [Back]

      
      
     bgnline, endline, move, v,	getgpos

NOTE    [Toc]    [Back]

     draw should not be	used in	new development.  Rather, lines	should be
     drawn using the high-performance v	commands, surrounded by	calls to
     bgnline and endline.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
crv IRIX draws a curve
pnt IRIX draws a point
charstr IRIX draws a string of characters
patch IRIX draws a surface patch
callobj IRIX draws an instance of an object
lcharstr IRIX draws a string of characters
circf IRIX draws a filled circle
polf IRIX draws a filled polygon
curveit IRIX draws a curve segment
rcrv IRIX draws a rational curve
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service