GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <string.h>
#include <stdio.h>
#include <grass/display.h>
#include <grass/raster.h>
Go to the source code of this file.
Functions | |
int | D_set_cell_name (const char *name) |
add raster map name to display list More... | |
int | D_get_cell_name (char *name) |
retrieve raster map name More... | |
int | D_set_dig_name (const char *name) |
add vector map name to display list More... | |
int | D_get_dig_name (char *name) |
retrieve vector map name More... | |
int | D_add_to_cell_list (const char *name) |
int | D_get_cell_list (char ***list, int *count) |
int | D_add_to_dig_list (const char *name) |
int | D_get_dig_list (char ***list, int *count) |
int | D_add_to_list (const char *string) |
add command to frame display list More... | |
int | D_get_list (char ***list, int *count) |
int | D_clear_window (void) |
clears information about current frame More... | |
int | D_set_erase_color (const char *colorname) |
int | D_get_erase_color (char *colorname) |
int D_add_to_cell_list | ( | const char * | name | ) |
Definition at line 152 of file display/list.c.
References R_pad_append_item().
int D_add_to_dig_list | ( | const char * | name | ) |
Definition at line 167 of file display/list.c.
References R_pad_append_item().
int D_add_to_list | ( | const char * | string | ) |
add command to frame display list
Adds string to list of screen contents. By convention, string is a command string which could be used to recreate a part of the graphics contents. This should be done for all screen graphics except for the display of raster maps. The D_set_cell_name routine,the D_set_dig_name routine and the D_set_site_name routine are used for this special case.
string |
Definition at line 197 of file display/list.c.
References R_pad_append_item().
int D_clear_window | ( | void | ) |
clears information about current frame
Removes all information about the current frame. This includes the map region and the frame content lists.
~ |
clear frame display lists
Removes all display information lists associated with the current frame.
~ |
Definition at line 233 of file display/list.c.
References R_pad_delete_item().
Definition at line 157 of file display/list.c.
References R_pad_get_item(), and stat.
int D_get_cell_name | ( | char * | name | ) |
retrieve raster map name
Returns the name of the raster map associated with the current frame.
name |
Definition at line 93 of file display/list.c.
References count, R_pad_freelist(), R_pad_get_item(), and stat.
Definition at line 172 of file display/list.c.
References R_pad_get_item(), and stat.
int D_get_dig_name | ( | char * | name | ) |
retrieve vector map name
Returns the name of the vector map associated with the current frame.
name |
Definition at line 136 of file display/list.c.
References count, R_pad_freelist(), R_pad_get_item(), and stat.
int D_get_erase_color | ( | char * | colorname | ) |
Definition at line 255 of file display/list.c.
References count, R_pad_freelist(), R_pad_get_item(), and stat.
Definition at line 202 of file display/list.c.
References R_pad_get_item(), and stat.
int D_set_cell_name | ( | const char * | name | ) |
add raster map name to display list
Stores the raster
name |
Definition at line 76 of file display/list.c.
References R_pad_delete_item(), and R_pad_set_item().
int D_set_dig_name | ( | const char * | name | ) |
add vector map name to display list
Stores the vector map name in the information associated with the current frame.
name |
Definition at line 119 of file display/list.c.
References R_pad_delete_item(), and R_pad_set_item().
int D_set_erase_color | ( | const char * | colorname | ) |
Definition at line 247 of file display/list.c.
References R_pad_delete_item(), and R_pad_set_item().
Referenced by D_erase().