1 /* Copyright (C) 1992-1998 The Geometry Center
2  * Copyright (C) 1998-2000 Stuart Levy, Tamara Munzner, Mark Phillips
3  *
4  * This file is part of Geomview.
5  *
6  * Geomview is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU Lesser General Public License as published
8  * by the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * Geomview is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with Geomview; see the file COPYING.  If not, write
18  * to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139,
19  * USA, or visit http://www.gnu.org.
20  */
21 
22 
23 /* Author: Timothy Rowley */
24 
25 #ifndef MGX11RENDER8
26 #define MGX11RENDER8
27 
28 void
29 Xmgr_8clear(unsigned char *buf, float *zbuf, int zwidth, int width, int height,
30 	    int *color, int flag, int fullclear, int xmin, int ymin, int xmax, int ymax);
31 
32 void
33 Xmgr_8poly(unsigned char *buf, float *zbuf, int zwidth, int width, int height,
34 	   CPoint3 *p, int n, int *color);
35 
36 void
37 Xmgr_8polyline(unsigned char *buf, float *zbuf, int zwidth,
38 	       int width, int height, CPoint3 *p, int n, int lwidth, int *color);
39 
40 void
41 Xmgr_8line(unsigned char *buf, float *zbuf, int zwidth, int width, int height,
42 	   CPoint3 *p0, CPoint3 *p1, int lwidth, int *color);
43 
44 void
45 Xmgr_8Zpoly(unsigned char *buf, float *zbuf, int zwidth,
46 	    int width, int height, CPoint3 *p, int n, int *color);
47 
48 void
49 Xmgr_8Zpolyline(unsigned char *buf, float *zbuf, int zwidth,
50 		int width, int height, CPoint3 *p, int n, int lwidth, int *color);
51 
52 void
53 Xmgr_8Zline(unsigned char *buf, float *zbuf, int zwidth, int width, int height,
54 	CPoint3 *p0, CPoint3 *p1, int lwidth, int *color);
55 
56 void
57 Xmgr_8Dpoly(unsigned char *buf, float *zbuf, int zwidth,
58 	    int width, int height, CPoint3 *p, int n, int *color);
59 
60 void
61 Xmgr_8Dpolyline(unsigned char *buf, float *zbuf, int zwidth,
62 		int width, int height, CPoint3 *p, int n, int lwidth, int *color);
63 
64 void
65 Xmgr_8Dline(unsigned char *buf, float *zbuf, int zwidth, int width, int height,
66 	CPoint3 *p0, CPoint3 *p1, int lwidth, int *color);
67 
68 void
69 Xmgr_8DZpoly(unsigned char *buf, float *zbuf, int zwidth, int width, int height,
70 	CPoint3 *p, int n, int *color);
71 
72 void
73 Xmgr_8DZpolyline(unsigned char *buf, float *zbuf, int zwidth, int width, int height,
74 	CPoint3 *p, int n, int lwidth, int *color);
75 
76 void
77 Xmgr_8DGpolyline(unsigned char *buf, float *zbuf, int zwidth, int width, int height,
78 	CPoint3 *p, int n, int lwidth, int *color);
79 
80 void
81 Xmgr_8DGZpolyline(unsigned char *buf, float *zbuf, int zwidth, int width, int height,
82 	CPoint3 *p, int n, int lwidth, int *color);
83 
84 void
85 Xmgr_8DZline(unsigned char *buf, float *zbuf, int zwidth, int width, int height,
86 	CPoint3 *p0, CPoint3 *p1, int lwidth, int *color);
87 
88 void
89 Xmgr_8DGZpoly(unsigned char *buf, float *zbuf, int zwidth, int width, int height,
90 	CPoint3 *p, int n, int *dummy);
91 
92 void
93 Xmgr_8DGpoly(unsigned char *buf, float *zbuf, int zwidth, int width, int height,
94 	CPoint3 *p, int n, int *dummy);
95 
96 #endif
97