22 #include <grass/gis.h>
23 #include <grass/display.h>
24 #include <grass/raster.h>
61 struct Cell_head region;
70 strcpy(name,
"full_screen");
95 G_fatal_error(
"Error calculating graphics-region conversions");
int D_set_cur_wind(const char *name)
set current graphics frame
int R_screen_bot(void)
bottom of screen
int G_get_set_window(struct Cell_head *window)
Get the current working window.
void R_box_abs(int x1, int y1, int x2, int y2)
fill a box
int D_check_map_window(struct Cell_head *wind)
assign/retrieve current map region
int G_set_window(struct Cell_head *window)
Establishes 'window' as the current working window.
int D_move_abs(int x, int y)
move to pixel
void R_standard_color(int index)
select standard color
int D_get_cur_wind(char *name)
identify current graphics frame
int D_clear_window(void)
clears information about current frame
int R_screen_rite(void)
screen right edge
int D_do_conversions(const struct Cell_head *window, int t, int b, int l, int r)
initialize conversions
int R_screen_left(void)
screen left edge
void R_move_abs(int x, int y)
move current location
int R_screen_top(void)
top of screen
int D_new_window(char *name, int t, int b, int l, int r)
create new graphics frame
int D_translate_color(const char *str)
color name to number
int D_get_screen_window(int *t, int *b, int *l, int *r)
retrieve current frame coordinates
int G_fatal_error(const char *msg,...)
Print a fatal error message to stderr.
void R_set_window(int t, int b, int l, int r)
set text clipping frame
int D_setup(int clear)
initialize/create a frame