GRASS Programmer's Manual
6.4.2(2012)
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
transport.h
Go to the documentation of this file.
1
2
#ifndef _TRANSPORT_H
3
#define _TRANSPORT_H
4
5
extern
void
LOC_get_location_with_box
(
int
cx,
int
cy,
int
*wx,
int
*wy,
6
int
*button);
7
extern
void
LOC_get_location_with_line
(
int
cx,
int
cy,
int
*wx,
int
*wy,
8
int
*button);
9
extern
void
LOC_get_location_with_pointer
(
int
*wx,
int
*wy,
int
*button);
10
extern
int
LOC_open_driver
(
void
);
11
extern
int
LOC__open_quiet
(
void
);
12
extern
void
LOC_stabilize
(
void
);
13
extern
void
LOC_kill_driver
(
void
);
14
extern
void
LOC_close_driver
(
void
);
15
extern
void
LOC_release_driver
(
void
);
16
extern
int
LOC_pad_create
(
const
char
*pad);
17
extern
int
LOC_pad_current
(
char
*
name
);
18
extern
int
LOC_pad_delete
(
void
);
19
extern
int
LOC_pad_invent
(
char
*pad);
20
extern
int
LOC_pad_list
(
char
***list,
int
*count);
21
extern
int
LOC_pad_select
(
const
char
*pad);
22
extern
int
LOC_pad_append_item
(
const
char
*item,
const
char
*value,
23
int
replace);
24
extern
int
LOC_pad_delete_item
(
const
char
*
name
);
25
extern
int
LOC_pad_get_item
(
const
char
*
name
,
char
***list,
int
*count);
26
extern
int
LOC_pad_list_items
(
char
***list,
int
*count);
27
extern
int
LOC_pad_set_item
(
const
char
*
name
,
const
char
*value);
28
extern
int
LOC_screen_left
(
void
);
29
extern
int
LOC_screen_rite
(
void
);
30
extern
int
LOC_screen_bot
(
void
);
31
extern
int
LOC_screen_top
(
void
);
32
extern
void
LOC_get_num_colors
(
int
*n);
33
extern
void
LOC_standard_color
(
int
index);
34
extern
void
LOC_RGB_color
(
unsigned
char
red,
unsigned
char
grn,
35
unsigned
char
blu);
36
extern
void
LOC_line_width
(
int
width
);
37
extern
void
LOC_erase
(
void
);
38
extern
void
LOC_move_abs
(
int
x,
int
y);
39
extern
void
LOC_move_rel
(
int
x,
int
y);
40
extern
void
LOC_cont_abs
(
int
x,
int
y);
41
extern
void
LOC_cont_rel
(
int
x,
int
y);
42
extern
void
LOC_polydots_abs
(
const
int
*xarray,
const
int
*yarray,
43
int
number);
44
extern
void
LOC_polydots_rel
(
const
int
*xarray,
const
int
*yarray,
45
int
number);
46
extern
void
LOC_polyline_abs
(
const
int
*xarray,
const
int
*yarray,
47
int
number);
48
extern
void
LOC_polyline_rel
(
const
int
*xarray,
const
int
*yarray,
49
int
number);
50
extern
void
LOC_polygon_abs
(
const
int
*xarray,
const
int
*yarray,
int
number);
51
extern
void
LOC_polygon_rel
(
const
int
*xarray,
const
int
*yarray,
int
number);
52
extern
void
LOC_box_abs
(
int
x1,
int
y1,
int
x2,
int
y2);
53
extern
void
LOC_box_rel
(
int
x,
int
y);
54
extern
void
LOC_text_size
(
int
width
,
int
height
);
55
extern
void
LOC_text_rotation
(
float
rotation);
56
extern
void
LOC_set_window
(
int
t,
int
b
,
int
l,
int
r
);
57
extern
void
LOC_text
(
const
char
*text);
58
extern
void
LOC_get_text_box
(
const
char
*text,
int
*t,
int
*
b
,
int
*l,
59
int
*
r
);
60
extern
void
LOC_font
(
const
char
*
name
);
61
extern
void
LOC_charset
(
const
char
*
name
);
62
extern
void
LOC_font_list
(
char
***list,
int
*count);
63
extern
void
LOC_font_info
(
char
***list,
int
*count);
64
extern
void
LOC_panel_save
(
const
char
*
name
,
int
t,
int
b
,
int
l,
int
r
);
65
extern
void
LOC_panel_restore
(
const
char
*
name
);
66
extern
void
LOC_panel_delete
(
const
char
*
name
);
67
extern
void
LOC_begin_scaled_raster
(
int
mask,
int
src[2][2],
int
dst[2][2]);
68
extern
int
LOC_scaled_raster
(
int
n,
int
row,
const
unsigned
char
*red,
69
const
unsigned
char
*grn,
70
const
unsigned
char
*blu,
71
const
unsigned
char
*nul);
72
extern
void
LOC_end_scaled_raster
(
void
);
73
extern
void
LOC_bitmap
(
int
ncols,
int
nrows,
int
threshold,
74
const
unsigned
char
*buf);
75
76
extern
void
REM_get_location_with_box
(
int
cx,
int
cy,
int
*wx,
int
*wy,
77
int
*button);
78
extern
void
REM_get_location_with_line
(
int
cx,
int
cy,
int
*wx,
int
*wy,
79
int
*button);
80
extern
void
REM_get_location_with_pointer
(
int
*wx,
int
*wy,
int
*button);
81
extern
int
REM_open_driver
(
void
);
82
extern
int
REM__open_quiet
(
void
);
83
extern
void
REM_stabilize
(
void
);
84
extern
void
REM_kill_driver
(
void
);
85
extern
void
REM_close_driver
(
void
);
86
extern
void
REM_release_driver
(
void
);
87
extern
int
REM_pad_create
(
const
char
*pad);
88
extern
int
REM_pad_current
(
char
*
name
);
89
extern
int
REM_pad_delete
(
void
);
90
extern
int
REM_pad_invent
(
char
*pad);
91
extern
int
REM_pad_list
(
char
***list,
int
*count);
92
extern
int
REM_pad_select
(
const
char
*pad);
93
extern
int
REM_pad_append_item
(
const
char
*item,
const
char
*value,
94
int
replace);
95
extern
int
REM_pad_delete_item
(
const
char
*
name
);
96
extern
int
REM_pad_get_item
(
const
char
*
name
,
char
***list,
int
*count);
97
extern
int
REM_pad_list_items
(
char
***list,
int
*count);
98
extern
int
REM_pad_set_item
(
const
char
*
name
,
const
char
*value);
99
extern
int
REM_screen_left
(
void
);
100
extern
int
REM_screen_rite
(
void
);
101
extern
int
REM_screen_bot
(
void
);
102
extern
int
REM_screen_top
(
void
);
103
extern
void
REM_get_num_colors
(
int
*n);
104
extern
void
REM_standard_color
(
int
index);
105
extern
void
REM_RGB_color
(
unsigned
char
red,
unsigned
char
grn,
106
unsigned
char
blu);
107
extern
void
REM_line_width
(
int
width
);
108
extern
void
REM_erase
(
void
);
109
extern
void
REM_move_abs
(
int
x,
int
y);
110
extern
void
REM_move_rel
(
int
x,
int
y);
111
extern
void
REM_cont_abs
(
int
x,
int
y);
112
extern
void
REM_cont_rel
(
int
x,
int
y);
113
extern
void
REM_polydots_abs
(
const
int
*xarray,
const
int
*yarray,
114
int
number);
115
extern
void
REM_polydots_rel
(
const
int
*xarray,
const
int
*yarray,
116
int
number);
117
extern
void
REM_polyline_abs
(
const
int
*xarray,
const
int
*yarray,
118
int
number);
119
extern
void
REM_polyline_rel
(
const
int
*xarray,
const
int
*yarray,
120
int
number);
121
extern
void
REM_polygon_abs
(
const
int
*xarray,
const
int
*yarray,
int
number);
122
extern
void
REM_polygon_rel
(
const
int
*xarray,
const
int
*yarray,
int
number);
123
extern
void
REM_box_abs
(
int
x1,
int
y1,
int
x2,
int
y2);
124
extern
void
REM_box_rel
(
int
x,
int
y);
125
extern
void
REM_text_size
(
int
width
,
int
height
);
126
extern
void
REM_text_rotation
(
float
rotation);
127
extern
void
REM_set_window
(
int
t,
int
b
,
int
l,
int
r
);
128
extern
void
REM_text
(
const
char
*text);
129
extern
void
REM_get_text_box
(
const
char
*text,
int
*t,
int
*
b
,
int
*l,
130
int
*
r
);
131
extern
void
REM_font
(
const
char
*
name
);
132
extern
void
REM_charset
(
const
char
*
name
);
133
extern
void
REM_font_list
(
char
***list,
int
*count);
134
extern
void
REM_font_info
(
char
***list,
int
*count);
135
extern
void
REM_panel_save
(
const
char
*
name
,
int
t,
int
b
,
int
l,
int
r
);
136
extern
void
REM_panel_restore
(
const
char
*
name
);
137
extern
void
REM_panel_delete
(
const
char
*
name
);
138
extern
void
REM_begin_scaled_raster
(
int
mask,
int
src[2][2],
int
dst[2][2]);
139
extern
int
REM_scaled_raster
(
int
n,
int
row,
const
unsigned
char
*red,
140
const
unsigned
char
*grn,
141
const
unsigned
char
*blu,
142
const
unsigned
char
*nul);
143
extern
void
REM_end_scaled_raster
(
void
);
144
extern
void
REM_bitmap
(
int
ncols,
int
nrows,
int
threshold,
145
const
unsigned
char
*buf);
146
147
struct
transport
148
{
149
int (*
open_driver
) (void);
150
int (*
open_quiet
) (void);
151
void (*
stabilize
) (void);
152
void (*
kill_driver
) (void);
153
void (*
close_driver
) (void);
154
void (*
release_driver
) (void);
155
156
int (*
screen_left
) (void);
157
int (*
screen_rite
) (void);
158
int (*
screen_bot
) (void);
159
int (*
screen_top
) (void);
160
void (*
get_num_colors
) (
int
*);
161
void (*
standard_color
) (int);
162
void (*
RGB_color
) (
unsigned
char,
unsigned
char,
unsigned
char);
163
void (*
line_width
) (int);
164
void (*
erase
) (void);
165
void (*
move_abs
) (int, int);
166
void (*
move_rel
) (int, int);
167
void (*
cont_abs
) (int, int);
168
void (*
cont_rel
) (int, int);
169
void (*
polydots_abs
) (
const
int
*,
const
int
*, int);
170
void (*
polydots_rel
) (
const
int
*,
const
int
*, int);
171
void (*
polyline_abs
) (
const
int
*,
const
int
*, int);
172
void (*
polyline_rel
) (
const
int
*,
const
int
*, int);
173
void (*
polygon_abs
) (
const
int
*,
const
int
*, int);
174
void (*
polygon_rel
) (
const
int
*,
const
int
*, int);
175
void (*
box_abs
) (int, int, int, int);
176
void (*
box_rel
) (int, int);
177
void (*
text_size
) (int, int);
178
void (*
text_rotation
) (float);
179
void (*
set_window
) (int, int, int, int);
180
void (*
text
) (
const
char
*);
181
void (*
get_text_box
) (
const
char
*,
int
*,
int
*,
int
*,
int
*);
182
void (*
font
) (
const
char
*);
183
void (*
charset
) (
const
char
*);
184
void (*
font_list
) (
char
***,
int
*);
185
void (*
font_info
) (
char
***,
int
*);
186
void (*
panel_save
) (
const
char
*, int, int, int, int);
187
void (*
panel_restore
) (
const
char
*);
188
void (*
panel_delete
) (
const
char
*);
189
void (*
begin_scaled_raster
) (int,
int
[2][2],
int
[2][2]);
190
int (*
scaled_raster
) (int, int,
const
unsigned
char
*,
191
const
unsigned
char
*,
const
unsigned
char
*,
192
const
unsigned
char
*);
193
void (*
end_scaled_raster
) (void);
194
void (*
bitmap
) (int, int, int,
const
unsigned
char
*);
195
196
void (*
get_location_with_box
) (int, int,
int
*,
int
*,
int
*);
197
void (*
get_location_with_line
) (int, int,
int
*,
int
*,
int
*);
198
void (*
get_location_with_pointer
) (
int
*,
int
*,
int
*);
199
200
int (*
pad_create
) (
const
char
*);
201
int (*
pad_current
) (
char
*);
202
int (*
pad_delete
) (void);
203
int (*
pad_invent
) (
char
*);
204
int (*
pad_list
) (
char
***,
int
*);
205
int (*
pad_select
) (
const
char
*);
206
int (*
pad_append_item
) (
const
char
*,
const
char
*, int);
207
int (*
pad_delete_item
) (
const
char
*);
208
int (*
pad_get_item
) (
const
char
*,
char
***,
int
*);
209
int (*
pad_list_items
) (
char
***,
int
*);
210
int (*
pad_set_item
) (
const
char
*,
const
char
*);
211
};
212
213
extern
const
struct
transport
*
trans
;
214
215
#endif
/* _TRANSPORT_H */
lib
raster
transport.h
Generated on Sun Sep 9 2012 18:55:35 for GRASS Programmer's Manual by
1.8.1.2