ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/meta/plot.h
Revision: 1.4
Committed: Sat Nov 15 02:13:37 2003 UTC (20 years, 11 months ago) by schorsch
Content type: text/plain
Branch: MAIN
CVS Tags: rad5R2, rad4R2P2, rad5R0, rad5R1, rad3R7P2, rad3R7P1, rad4R2, rad4R1, rad4R0, rad3R6, rad3R6P1, rad3R8, rad3R9, rad4R2P1
Changes since 1.3: +31 -4 lines
Log Message:
Continued ANSIfication, and reduced other compile warnings.

File Contents

# Content
1 /* RCSid: $Id: plot.h,v 1.3 2003/07/14 22:24:00 schorsch Exp $ */
2 /*
3 * Definitions for plotting routines
4 */
5 #ifndef _RAD_PLOT_H_
6 #define _RAD_PLOT_H_
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 #define NPATS 9 /* number of fill patterns */
13
14 #define PATSIZE 16 /* pattern size (square) */
15
16
17 extern int dxsize, dysize; /* device size */
18
19 extern int pati[];
20
21 extern unsigned char pattern[][PATSIZE/8][PATSIZE]; /* fill patterns */
22
23 /* macplot.c, plot.c, psplot.c */
24 extern void set(int attrib, char *value);
25 extern void reset(int attrib);
26 extern void unset(int attrib);
27
28 /* xxxplot.c */
29 extern void plot(FILE *fp);
30 extern void fillpoly(PRIMITIVE *p);
31 extern void filltri(PRIMITIVE *p);
32 extern void printstr(PRIMITIVE *p);
33 extern void fillrect(PRIMITIVE *p);
34 extern void plotlseg(PRIMITIVE *p);
35
36 /* meta2tga.c <-> rplot.c */
37 extern void nextblock(void);
38 extern void outputblock(void);
39 extern void printblock(void);
40
41 /* primout.c */
42 extern void pglob(int co, int a0, char *s);
43 extern void pprim(int co,int a0,int xmin,int ymin,int xmax,int ymax,char *s);
44 extern void plseg(int a0, int xstart, int ystart, int xend, int yend);
45
46 /* psplot, x11plot.c, xplot.c */
47 extern void thispage(void);
48 extern void nextpage(void);
49 extern void contpage(void);
50 extern void printspan(void);
51 extern void endpage(void);
52
53
54 #ifdef __cplusplus
55 }
56 #endif
57 #endif /* _RAD_PLOT_H_ */
58