GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-d6dec75dd4
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);
116 
117 /* colors.c */
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
int Pclose(void)
double Phres(void)
int paint_delay(int)
int Popen(void)
int Pouts(char *)
int Pblocksize(void)
int Prle_end(void)
int Plock(void)
int Pnblocks(void)
int P__send(char *, int)
int P__gets(char *)
int Pcolormultipliers(int *, int *, int *)
int Pnpixels(int *, int *)
int P__sends(char *)
int Pout(char *, int)
int Prle_set_cols(int)
int Ptext(char *)
int Pdata_begin(void)
int Pcolorlevels(int *, int *, int *)
int Poutc(int)
int Pdata_end(void)
int P__get(char *, int)
int paint_interface(int, char **)
int Pdata(unsigned char *, int)
int Pflush(void)
int paint_unlock(void)
char * Ppainter_name(void)
int Pfinish(void)
int Pcolortable(unsigned char *, unsigned char *, unsigned char *, unsigned char *, int)
int Pncolors(void)
int P__writedev(void *, int)
double Pvres(void)
int Pcolorvalue(int, float *, float *, float *)
int Prle(unsigned char, int)
int Prle_begin(void)
int Ptextfudge(void)
int paint_colortable(int)
int P__transparent(int)
int Palpha(void)
int Ppictsize(int, int)
int Pblockspace(void)
int P__errordev(char *)
int P__sendi(int)
int Pdisconnect(void)
int P__readdev(void *, int)
int Ptextspace(void)
int Pinit(void)
int Praster(void)
int Pset_color_levels(int)
int paint_error(char *)
int paint_lock(char *, int)
double Ptextscale(void)
int P__geti(void)
int P__sendf(double)
int Pconnect(void)
int P__closedev(void)
int Pnchars(void)
int P__opendev(char *, char *[], char *)
int Pcolornum(double, double, double)
double P__getf(void)
int P__opcode(int)
int P__flushdev(void)