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

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

Contents


pdr(3G)								       pdr(3G)


NAME    [Toc]    [Back]

     pdr, pdri,	pdrs, pdr2, pdr2i, pdr2s - specifies the next point of a
     polygon

C SPECIFICATION    [Toc]    [Back]

     void pdr(x, y, z)
     Coord x, y, z;

     void pdri(x, y, z)
     Icoord x, y, z;

     void pdrs(x, y, z)
     Scoord x, y, z;

     void pdr2(x, y)
     Coord x, y;

     void pdr2i(x, y)
     Icoord x, y;

     void pdr2s(x, y)
     Scoord x, y;

     All of the	above routines are functionally	the same.  They	differ only in
     the type declarations of their parameters and in whether they expect a
     two- or three-dimensional space.

PARAMETERS    [Toc]    [Back]

     x	 expects the x coordinate of the next defining point for the polygon.

     y	 expects the y coordinate of the next defining point for the polygon.

     z	 expects the z coordinate of the next defining point for the polygon.

DESCRIPTION    [Toc]    [Back]

     pdr specifies the next point of a polygon.	 When pdr is executed, it
     draws a line to the specified point (x,y,z) which then becomes the
     current graphics position.	 The next pdr call will	start drawing from
     that point.  To draw a typical polygon start with pmv, follow it with a
     sequence of calls to pdr and end it with pclos.

EXAMPLE    [Toc]    [Back]

     The following sequence draws a square:

	  pmv(0.0, 0.0,	0.0);
	  pdr(1.0, 0.0,	0.0);
	  pdr(1.0, 1.0,	0.0);
	  pdr(0.0, 1.0,	0.0);
	  pclos();






									Page 1






pdr(3G)								       pdr(3G)


SEE ALSO    [Toc]    [Back]

      
      
     bgnpolygon, endpolygon, pclos, pmv, v

NOTES    [Toc]    [Back]

     pdr should	not be used in new development.	 Rather, polygons should be
     drawn using the high-performance v	commands, surrounded by	calls to
     bgnpolygon	and endpolygon.

     There can be no more than 256 vertices in a polygon.  Therefore, there
     can be no more than 255 pdr calls between pmv and pclos.


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
pmv IRIX specifies the first point of a polygon
subpixel IRIX controls the placement of point, line, and polygon vertices
pppoerd.conf HP-UX PPPoE (Point to Point Protocol over Ethernet) relay configuration file
pppoesd.conf HP-UX PPPoE (Point to Point Protocol over Ethernet) server configuration file
pppoec.conf HP-UX PPPoE (Point to Point Protocol over Ethernet) client configuration file
pppoesd HP-UX PPPoE (Point-to-Point Protocol over Ethernet) server daemon
sppp OpenBSD point to point protocol network layer for synchronous lines
sppp FreeBSD point to point protocol network layer for synchronous lines
pppoerd HP-UX PPPoE (Point to Point Protocol over Ethernet) relay
pppoec HP-UX PPPoE (Point to Point Protocol over Ethernet) client
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service