2 |
|
/* |
3 |
|
* rpaint.h - header file for image painting. |
4 |
|
*/ |
5 |
+ |
#ifndef _RAD_RPAINT_H_ |
6 |
+ |
#define _RAD_RPAINT_H_ |
7 |
+ |
#ifdef __cplusplus |
8 |
+ |
extern "C" { |
9 |
+ |
#endif |
10 |
|
|
11 |
+ |
|
12 |
|
#include "copyright.h" |
13 |
|
|
14 |
|
#include "driver.h" |
50 |
|
|
51 |
|
extern struct driver *dev; /* driver functions */ |
52 |
|
|
47 |
– |
#ifdef NOPROTO |
48 |
– |
|
49 |
– |
extern void devopen(); |
50 |
– |
extern void devclose(); |
51 |
– |
extern void printdevices(); |
52 |
– |
extern void fillreserves(); |
53 |
– |
extern void freereserves(); |
54 |
– |
extern void command(); |
55 |
– |
extern void rsample(); |
56 |
– |
extern int refine(); |
57 |
– |
extern void getframe(); |
58 |
– |
extern void getrepaint(); |
59 |
– |
extern void getview(); |
60 |
– |
extern void lastview(); |
61 |
– |
extern void saveview(); |
62 |
– |
extern void loadview(); |
63 |
– |
extern void getaim(); |
64 |
– |
extern void getmove(); |
65 |
– |
extern void getrotate(); |
66 |
– |
extern void getpivot(); |
67 |
– |
extern void getexposure(); |
68 |
– |
extern int getparam(); |
69 |
– |
extern void setparam(); |
70 |
– |
extern void traceray(); |
71 |
– |
extern void writepict(); |
72 |
– |
extern int getrect(); |
73 |
– |
extern int getinterest(); |
74 |
– |
extern float *greyof(); |
75 |
– |
extern void paint(); |
76 |
– |
extern void newimage(); |
77 |
– |
extern void redraw(); |
78 |
– |
extern void repaint(); |
79 |
– |
extern void paintrec(); |
80 |
– |
extern PNODE *findrect(); |
81 |
– |
extern void scalepict(); |
82 |
– |
extern void getpictcolrs(); |
83 |
– |
extern void freepkids(); |
84 |
– |
extern void newview(); |
85 |
– |
extern void moveview(); |
86 |
– |
extern void pcopy(); |
87 |
– |
extern void zoomview(); |
88 |
– |
|
89 |
– |
#else |
53 |
|
/* defined in rview.c */ |
54 |
|
extern void devopen(char *dname); |
55 |
|
extern void devclose(void); |
96 |
|
extern void pcopy(PNODE *p1, PNODE *p2); |
97 |
|
extern void zoomview(VIEW *vp, double zf); |
98 |
|
|
99 |
+ |
|
100 |
+ |
#ifdef __cplusplus |
101 |
+ |
} |
102 |
|
#endif |
103 |
+ |
#endif /* _RAD_RPAINT_H_ */ |
104 |
+ |
|