GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
Paintlib.h
Go to the documentation of this file.
1 #ifndef GRASS_PAINTLIBDEFS_H
2 #define GRASS_PAINTLIBDEFS_H
3 
4 /* From applib */
5 /* alpha.c */
6 int Palpha(void);
7 
8 /* close.c */
9 int Pclose(void);
10 
11 /* colorlevel.c */
12 int Pcolorlevels(int *, int *, int *);
13 
14 /* colormult.c */
15 int Pcolormultipliers(int *, int *, int *);
16 
17 /* colornum.c */
18 int Pcolornum(double, double, double);
19 
20 /* colortable.c */
21 int Pcolortable(unsigned char *, unsigned char *, unsigned char *,
22  unsigned char *, int);
23 /* colorvalue.c */
24 int Pcolorvalue(int, float *, float *, float *);
25 
26 /* connect.c */
27 int Pconnect(void);
28 int Pdisconnect(void);
29 
30 /* data.c */
31 int Pdata_begin(void);
32 int Pdata(unsigned char *, int);
33 int Pdata_end(void);
34 
35 /* device.c */
36 int P__closedev(void);
37 int P__errordev(char *);
38 int P__flushdev(void);
39 int P__opendev(char *, char *[], char *);
40 int P__readdev(void *, int);
41 int P__writedev(void *, int);
42 
43 /* flush.c */
44 int Pflush(void);
45 
46 /* hres.c */
47 double Phres(void);
48 
49 /* io.c */
50 int P__opcode(int);
51 int P__get(char *, int);
52 int P__gets(char *);
53 int P__geti(void);
54 double P__getf(void);
55 int P__send(char *, int);
56 int P__sendi(int);
57 int P__sendf(double);
58 int P__sends(char *);
59 int P__transparent(int);
60 
61 /* lock.c */
62 int Plock(void);
63 
64 /* misc.c */
65 int Pblockspace(void);
66 int Pblocksize(void);
67 int Pnblocks(void);
68 int Ptextspace(void);
69 int Ptextfudge(void);
70 double Ptextscale(void);
71 
72 /* nchars.c */
73 int Pnchars(void);
74 
75 /* ncolors.c */
76 int Pncolors(void);
77 
78 /* npixels.c */
79 int Pnpixels(int *, int *);
80 
81 /* painter.c */
82 char *Ppainter_name(void);
83 
84 /* pictsize.c */
85 int Ppictsize(int, int);
86 
87 /* raster.c */
88 int Praster(void);
89 
90 /* rle.c */
91 int Prle_begin(void);
92 int Prle_end(void);
93 int Prle_set_cols(int);
94 
95 /* text.c */
96 int Ptext(char *);
97 
98 /* vres.c */
99 double Pvres(void);
100 
101 /* From Driver/{whatever} code */
102 /* init.c */
103 int Pinit(void);
104 
105 /* finish.c */
106 int Pfinish(void);
107 
108 /* From driverlib */
109 /* interface.c */
110 int paint_interface(int, char **);
111 int paint_error(char *);
112 int paint_delay(int);
113 int paint_lock(char *, int);
114 int paint_unlock(void);
115 int paint_colortable(int);
116 
117 /* colors.c */
118 int Pset_color_levels(int);
119 int Pcolorlevels(int *, int *, int *);
120 int Pcolormultipliers(int *, int *, int *);
121 int Pcolornum(double, double, double);
122 int Pcolorvalue(int, float *, float *, float *);
123 int Pncolors(void);
124 
125 /* io.c */
126 int Pclose(void);
127 int Pflush(void);
128 int Pout(char *, int);
129 int Poutc(int);
130 int Pouts(char *);
131 
132 #ifdef PAINT_DRIVERLIB
133 int Popen(char *);
134 int Prle(unsigned char *, int);
135 #else
136 /* open.c */
137 int Popen(void);
138 int Prle(unsigned char, int);
139 #endif
140 
141 #endif
double Ptextscale(void)
int P__flushdev(void)
int P__readdev(void *, int)
int paint_colortable(int)
double P__getf(void)
int P__closedev(void)
int Prle_set_cols(int)
int Pcolormultipliers(int *, int *, int *)
int Pnpixels(int *, int *)
int Pcolornum(double, double, double)
int Pcolorlevels(int *, int *, int *)
int Pblockspace(void)
int Pnblocks(void)
int P__get(char *, int)
double Pvres(void)
int P__sendi(int)
int Pdata(unsigned char *, int)
int Palpha(void)
int Pfinish(void)
int Ptextspace(void)
int Ppictsize(int, int)
int P__opendev(char *, char *[], char *)
int P__send(char *, int)
int Pnchars(void)
int Popen(void)
int Pdata_end(void)
int Pcolorvalue(int, float *, float *, float *)
int Ptextfudge(void)
int P__writedev(void *, int)
int paint_unlock(void)
int P__errordev(char *)
int Pdata_begin(void)
int Pcolortable(unsigned char *, unsigned char *, unsigned char *, unsigned char *, int)
int P__gets(char *)
int paint_error(char *)
int paint_lock(char *, int)
int Plock(void)
int paint_delay(int)
int Ptext(char *)
int Poutc(int)
int Pout(char *, int)
int P__sends(char *)
char * Ppainter_name(void)
int P__opcode(int)
int Pouts(char *)
int P__transparent(int)
int Prle(unsigned char, int)
int paint_interface(int, char **)
int Praster(void)
int Prle_end(void)
int Prle_begin(void)
int P__geti(void)
int Pinit(void)
int Pncolors(void)
int Pconnect(void)
int Pclose(void)
int Pflush(void)
int P__sendf(double)
int Pblocksize(void)
double Phres(void)
int Pset_color_levels(int)
int Pdisconnect(void)