ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/meta/plot.h
Revision: 1.5
Committed: Mon Nov 18 22:12:32 2019 UTC (4 years, 5 months ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: rad5R4, rad5R3, HEAD
Changes since 1.4: +2 -2 lines
Log Message:
Renamed "dysize" to avoid Linux library conflict

File Contents

# User Rev Content
1 greg 1.5 /* RCSid: $Id: plot.h,v 1.4 2003/11/15 02:13:37 schorsch Exp $ */
2 greg 1.1 /*
3     * Definitions for plotting routines
4     */
5 schorsch 1.3 #ifndef _RAD_PLOT_H_
6     #define _RAD_PLOT_H_
7 greg 1.1
8 schorsch 1.3 #ifdef __cplusplus
9     extern "C" {
10     #endif
11 greg 1.1
12     #define NPATS 9 /* number of fill patterns */
13    
14     #define PATSIZE 16 /* pattern size (square) */
15    
16    
17 greg 1.5 extern int dxsiz, dysiz; /* device size */
18 greg 1.1
19     extern int pati[];
20    
21     extern unsigned char pattern[][PATSIZE/8][PATSIZE]; /* fill patterns */
22 schorsch 1.2
23 schorsch 1.4 /* 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 schorsch 1.3
54     #ifdef __cplusplus
55     }
56     #endif
57     #endif /* _RAD_PLOT_H_ */
58 schorsch 1.2