10 #include <grass/raster.h>
11 #include <grass/graphics.h>
518 close(creat(name, 0666));
544 const unsigned char *red,
const unsigned char *grn,
545 const unsigned char *blu,
const unsigned char *nul)
555 void LOC_bitmap(
int ncols,
int nrows,
int threshold,
const unsigned char *
buf)
int LOC_screen_rite(void)
screen right edge
void LOC_polygon_abs(const int *xarray, const int *yarray, int number)
draw a closed polygon
void LOC_panel_delete(const char *name)
void COM_Move_abs(int, int)
void LOC_panel_save(const char *name, int t, int b, int l, int r)
void LOC_cont_abs(int x, int y)
draw line
void LOC_charset(const char *name)
void COM_Panel_restore(const char *)
void LOC_move_rel(int x, int y)
move current location
void LOC_font_info(char ***list, int *count)
void LOC_polydots_rel(const int *xarray, const int *yarray, int number)
draw a series of dots
void LOC_polyline_rel(const int *xarray, const int *yarray, int number)
draw an open polygon
void COM_Polygon_abs(const int *, const int *, int)
void COM_Screen_rite(int *)
void COM_Cont_rel(int x, int y)
void COM_begin_scaled_raster(int, int[2][2], int[2][2])
void COM_Panel_save(const char *, int, int, int, int)
void COM_Polydots_rel(const int *, const int *, int)
void LOC_box_rel(int x, int y)
fill a box
void COM_Screen_top(int *)
void COM_Move_rel(int, int)
void LOC_standard_color(int index)
select standard color
void LOC_line_width(int width)
change the width of line
void COM_Polyline_abs(const int *, const int *, int)
void COM_Font_init_charset(const char *)
void COM_Standard_color(int number)
void COM_Text(const char *)
void COM_Screen_left(int *)
void COM_end_scaled_raster(void)
int LOC_screen_left(void)
screen left edge
int LOC_screen_bot(void)
bottom of screen
void LOC_get_text_box(const char *text, int *t, int *b, int *l, int *r)
get text extents
void LOC_end_scaled_raster(void)
void LOC_polydots_abs(const int *xarray, const int *yarray, int number)
draw a series of dots
void COM_Font_list(char ***, int *)
void LOC_panel_restore(const char *name)
void LOC_begin_scaled_raster(int mask, int src[2][2], int dst[2][2])
void COM_Text_rotation(double)
void COM_Screen_bot(int *)
void LOC_move_abs(int x, int y)
move current location
void COM_Box_abs(int x1, int y1, int x2, int y2)
void COM_Box_rel(int x, int y)
void LOC_polygon_rel(const int *xarray, const int *yarray, int number)
draw a closed polygon
void COM_Polygon_rel(const int *, const int *, int)
void LOC_get_num_colors(int *n)
void COM_Text_size(int, int)
void COM_Font_info(char ***, int *)
void COM_Panel_delete(const char *)
void LOC_font(const char *name)
choose font
void LOC_set_window(int t, int b, int l, int r)
set text clipping frame
void COM_Polyline_rel(const int *, const int *, int)
void COM_Bitmap(int ncols, int nrows, int threshold, const unsigned char *buf)
void LOC_cont_rel(int x, int y)
draw line
void COM_Get_text_box(const char *, int *, int *, int *, int *)
void LOC_text_size(int width, int height)
set text size
char buf[GNAME_MAX+sizeof(G3D_DIRECTORY)+2]
int LOC_screen_top(void)
top of screen
void LOC_erase(void)
erase screen
void LOC_font_list(char ***list, int *count)
void COM_Cont_abs(int x, int y)
void COM_Number_of_colors(int *)
void LOC_bitmap(int ncols, int nrows, int threshold, const unsigned char *buf)
int COM_scaled_raster(int, int, const unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *)
int LOC_scaled_raster(int n, int row, const unsigned char *red, const unsigned char *grn, const unsigned char *blu, const unsigned char *nul)
void LOC_text(const char *text)
write text
void LOC_text_rotation(float rotation)
void COM_Color_RGB(unsigned char r, unsigned char g, unsigned char b)
void LOC_polyline_abs(const int *xarray, const int *yarray, int number)
draw an open polygon
void COM_Font_get(const char *)
void LOC_box_abs(int x1, int y1, int x2, int y2)
fill a box
void COM_Polydots_abs(const int *, const int *, int)
void LOC_RGB_color(unsigned char red, unsigned char grn, unsigned char blu)
select color
void COM_Set_window(int, int, int, int)