File: display.h

package info (click to toggle)
grass 6.0.2-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 40,044 kB
  • ctags: 31,303
  • sloc: ansic: 321,125; tcl: 25,676; sh: 11,176; cpp: 10,098; makefile: 5,025; fortran: 1,846; yacc: 493; lex: 462; perl: 133; sed: 1
file content (137 lines) | stat: -rw-r--r-- 4,937 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
#ifndef _GRASS_GIS_LIB_
#include "gis.h"
#endif
#ifndef _GRASS_DISPLAY_LIB_
#define _GRASS_DISPLAY_LIB_
/* clip.c */
int D_clip(register double, register double, register double, register double, register double *, register double *, register double *, register double *);
/* cnversions.c */
int D_do_conversions(struct Cell_head *, int, int, int, int);
double D_get_u_to_d_xconv(void);
double D_get_u_to_d_yconv(void);
double D_get_u_west(void);
double D_get_u_east(void);
double D_get_u_north(void);
double D_get_u_south(void);
double D_get_a_west(void);
double D_get_a_east(void);
double D_get_a_north(void);
double D_get_a_south(void);
double D_get_d_west(void);
double D_get_d_east(void);
double D_get_d_north(void);
double D_get_d_south(void);
double D_u_to_a_row(double);
double D_u_to_a_col(double);
double D_a_to_d_row(double);
double D_a_to_d_col(double);
double D_u_to_d_row(double);
double D_u_to_d_col(double);
double D_d_to_u_row(double);
double D_d_to_u_col(double);
double D_d_to_a_row(double);
double D_d_to_a_col(double);
double D_get_ns_resolution(void);
double D_get_ew_resolution(void);
/* color_list.c */
char *D_color_list(void);
/* draw.c */
int D_set_clip_window(int, int, int, int);
int D_set_clip_window_to_map_window(void);
int D_cont_abs(int, int);
int D_cont_rel(int, int);
int D_move_abs(int, int);
int intD_move_rel(int, int);
/* get_win.c */
int get_win_w_mouse(float *, float *, float *, float *);
/* ident_win.c */
int ident_win(char *);
/* list.c */
int D_set_cell_name(char *);
int D_get_cell_name(char *);
int D_set_dig_name(char *);
int D_get_dig_name(char *);
int D_set_site_name(char *);
int D_get_site_name(char *);
int D_add_to_cell_list(char *);
int D_get_cell_list(char ***, int *);
int D_add_to_dig_list(char *);
int D_get_dig_list(char ***, int *);
int D_add_to_site_list(char *);
int D_get_site_list(char ***, int *);
int D_add_to_list(char *);
int D_get_list(char ***, int *);
int D_clear_window(void);
int D_claim_offset_is(int);
int D_offset_is(int *);
int D_set_erase_color(char *);
int D_get_erase_color(char *);
/* popup.c */
int D_popup(int, int, int, int, int, int, char *[]);
/* raster.c */
int D_draw_raster(int, void *, struct Colors *, RASTER_MAP_TYPE);
int D_draw_d_raster(int, DCELL *, struct Colors *);
int D_draw_f_raster(int, FCELL *, struct Colors *);
int D_draw_c_raster(int, CELL *, struct Colors *);
int D_draw_cell(int, CELL *, struct Colors *);
int D_cell_draw_setup(int, int, int, int);
/* raster_rgb.c */
int D_draw_raster_RGB(int, void *, void *, void *,
		      struct Colors *, struct Colors *, struct Colors *,
		      RASTER_MAP_TYPE, RASTER_MAP_TYPE, RASTER_MAP_TYPE);
int D_draw_d_raster_RGB(int, DCELL *, DCELL *, DCELL *,
			struct Colors *, struct Colors *, struct Colors *);
int D_draw_f_raster_RGB(int, FCELL *, FCELL *, FCELL *,
			struct Colors *, struct Colors *, struct Colors *);
int D_draw_c_raster_RGB(int,  CELL *,  CELL *,  CELL *,
			struct Colors *, struct Colors *, struct Colors *);
int D_draw_cell_RGB(int, CELL *, CELL *, CELL *,
		    struct Colors *, struct Colors *, struct Colors *);
int D_cell_draw_setup_RGB(int, int, int, int);
int D_raster_of_type_RGB(void *, void *, void *,
			 int, int,
			 struct Colors *, struct Colors *, struct Colors *,
			 RASTER_MAP_TYPE, RASTER_MAP_TYPE, RASTER_MAP_TYPE);
void D_set_colors_RGB(void);
/* raster2.c */
int D_set_overlay_mode(int);
int D_set_colors(struct Colors *);
int D_reset_color(CELL, int, int, int);
int D_color(CELL, struct Colors *);
int D_c_color(CELL, struct Colors *);
int D_d_color(DCELL, struct Colors *);
int D_f_color(FCELL, struct Colors *);
int D_color_of_type(void *, struct Colors *, RASTER_MAP_TYPE);
int D_lookup_colors(CELL *, int, struct Colors *);
int D_lookup_c_raster_colors(CELL *, int, struct Colors *);
int D_lookup_f_raster_colors(FCELL *, int *, int, struct Colors *);
int D_lookup_d_raster_colors(DCELL *, int *, int, struct Colors *);
int D_lookup_raster_colors(void *, int *, int, struct Colors *, RASTER_MAP_TYPE);
int D_raster_of_type(void *, int, int, struct Colors *, RASTER_MAP_TYPE);
int D_raster(CELL *, int, int, struct Colors *);
int D_c_raster(CELL *, int, int, struct Colors *);
int D_f_raster(FCELL *, int, int, struct Colors *);
int D_d_raster(DCELL *, int, int, struct Colors *);
int D_check_colormap_size(CELL, CELL, int *);
/* scan_dbl.c */
int D_scan_double(char *, double *);
/* scan_float.c */
int D_scan_float(char *, float *);
/* scan_int.c */
int D_scan_int(char *, int *);
/* setup.c */
int D_setup(int);
/* tran_colr.c */
int D_translate_color(const char *);
/* window.c */
int D_new_window(char *, int, int, int, int);
int D_set_cur_wind(char *);
int D_get_cur_wind(char *);
int D_show_window(int);
int D_get_screen_window(int *, int *, int *, int *);
int D_check_map_window(struct Cell_head *);
int D_reset_screen_window(int, int, int, int);
int D_timestamp(void);
int D_remove_window(void);
int D_erase_window(void);
#endif