GRASS Programmer's Manual
6.4.2(2012)
|
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include <grass/gis.h>
#include <grass/symbol.h>
#include <grass/glocale.h>
Go to the source code of this file.
Defines | |
#define | OBJ_NONE 0 |
#define | OBJ_STRING 1 |
#define | OBJ_POLYGON 2 |
#define | OBJ_RING 3 |
Functions | |
void | get_key_data (char *buf) |
SYMBOL * | new_symbol (void) |
void | add_part (SYMBOL *s, SYMBPART *p) |
SYMBPART * | new_part (int type) |
void | add_chain (SYMBPART *p, SYMBCHAIN *s) |
SYMBCHAIN * | new_chain (void) |
void | add_element (SYMBCHAIN *s, SYMBEL *e) |
SYMBEL * | new_line (void) |
void | add_point (SYMBEL *el, double x, double y) |
SYMBEL * | new_arc (double x, double y, double r, double a1, double a2, int c) |
void | read_coor (FILE *fp, SYMBEL *e) |
SYMBOL * | err (FILE *fp, SYMBOL *s, char *msg) |
SYMBOL * | S_read (char *sname) |
#define OBJ_NONE 0 |
Definition at line 27 of file symbol/read.c.
Referenced by S_read().
#define OBJ_POLYGON 2 |
Definition at line 29 of file symbol/read.c.
Referenced by S_read().
#define OBJ_RING 3 |
Definition at line 30 of file symbol/read.c.
Referenced by S_read().
#define OBJ_STRING 1 |
Definition at line 28 of file symbol/read.c.
Referenced by S_read().
void add_chain | ( | SYMBPART * | p, |
SYMBCHAIN * | s | ||
) |
Definition at line 99 of file symbol/read.c.
References gui_modules::psmap_dialogs::s.
Referenced by S_read().
void add_element | ( | SYMBCHAIN * | s, |
SYMBEL * | e | ||
) |
Definition at line 130 of file symbol/read.c.
Referenced by S_read().
void add_part | ( | SYMBOL * | s, |
SYMBPART * | p | ||
) |
Definition at line 71 of file symbol/read.c.
Referenced by S_read(), and Vect_build_ogr().
void add_point | ( | SYMBEL * | el, |
double | x, | ||
double | y | ||
) |
Definition at line 156 of file symbol/read.c.
Referenced by read_coor().
SYMBOL* err | ( | FILE * | fp, |
SYMBOL * | s, | ||
char * | msg | ||
) |
Definition at line 220 of file symbol/read.c.
References G_free(), G_warning(), and NULL.
Referenced by D_check_map_window(), E_edit_cellhd(), G3d_adjustRegion(), G3d_adjustRegionRes(), G3d_readColors(), G__get_window(), G__oldsite_get(), G__quant_import(), G__read_Cell_head_array(), G_fwrite_key_value(), G_get_cellhd(), G_get_default_window(), G_get_window(), G_make_location(), G_make_mapset(), G_oldsite_describe(), G_read_colors(), G_set_window(), gsd_wall(), IL_check_at_points_2d(), main(), pj_get_kv(), R_pad_perror(), read_ellipsoid_table(), S_read(), Vect_open_topo(), Vect_set_fatal_error(), and Vect_str_to_cat_list().
void get_key_data | ( | char * | buf | ) |
Definition at line 33 of file symbol/read.c.
References gui_modules::menudata::data, G_chop(), G_debug(), and NULL.
Referenced by read_coor(), and S_read().
SYMBEL* new_arc | ( | double | x, |
double | y, | ||
double | r, | ||
double | a1, | ||
double | a2, | ||
int | c | ||
) |
SYMBCHAIN* new_chain | ( | void | ) |
SYMBEL* new_line | ( | void | ) |
SYMBPART* new_part | ( | int | type | ) |
Definition at line 84 of file symbol/read.c.
References NULL, and gui_modules::psmap_dialogs::type.
Referenced by S_read().
SYMBOL* new_symbol | ( | void | ) |
void read_coor | ( | FILE * | fp, |
SYMBEL * | e | ||
) |
Definition at line 189 of file symbol/read.c.
References add_point(), G_chop(), G_debug(), G_getl2(), G_warning(), and get_key_data().
Referenced by S_read().
SYMBOL* S_read | ( | char * | sname | ) |
Definition at line 235 of file symbol/read.c.
References add_chain(), add_element(), add_part(), b, gui_modules::menudata::data, err(), g, G_chop(), G_debug(), G_find_file(), G_fopen_old(), G_getl2(), G_gisbase(), G_strcasecmp(), G_warning(), get_key_data(), name, new_arc(), new_chain(), new_line(), new_part(), new_symbol(), NULL, OBJ_NONE, OBJ_POLYGON, OBJ_RING, OBJ_STRING, r, and read_coor().