GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-602118adcc
|
#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.
Macros | |
#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 (const char *sname) |
#define OBJ_NONE 0 |
Definition at line 27 of file symbol/read.c.
#define OBJ_POLYGON 2 |
Definition at line 29 of file symbol/read.c.
#define OBJ_RING 3 |
Definition at line 30 of file symbol/read.c.
#define OBJ_STRING 1 |
Definition at line 28 of file symbol/read.c.
Definition at line 99 of file symbol/read.c.
Definition at line 128 of file symbol/read.c.
Definition at line 71 of file symbol/read.c.
void add_point | ( | SYMBEL * | el, |
double | x, | ||
double | y | ||
) |
Definition at line 154 of file symbol/read.c.
References SYMBEL::coor, G_realloc, SYMBEL::line, and x.
Definition at line 216 of file symbol/read.c.
Referenced by ReplacementHeap< T, Compare >::extract_min(), ReplacementHeapBlock< T, Compare >::extract_min(), G_bz2_compress(), G_bz2_expand(), G_fwrite_key_value(), G_lz4_compress(), G_lz4_expand(), G_math_solver_sparse_gs(), G_math_solver_sparse_jacobi(), G_parser(), G_read_compressed(), G_write_compressed(), G_write_projsrid(), G_write_projwkt(), G_write_uncompressed(), G_zlib_compress(), G_zlib_expand(), G_zstd_compress(), G_zstd_expand(), IL_write_point_2d(), ReplacementHeap< T, Compare >::init(), ReplacementHeapBlock< T, Compare >::init(), seg_pageout(), Segment_init(), Vect_open_topo(), and Vect_str_to_cat_list().
void get_key_data | ( | char * | buf | ) |
SYMBEL* new_arc | ( | double | x, |
double | y, | ||
double | r, | ||
double | a1, | ||
double | a2, | ||
int | c | ||
) |
Definition at line 169 of file symbol/read.c.
SYMBCHAIN* new_chain | ( | void | ) |
Definition at line 112 of file symbol/read.c.
References SYMBCHAIN::alloc, SYMBCHAIN::count, SYMBCHAIN::elem, G_malloc, NULL, SYMBCHAIN::salloc, SYMBCHAIN::scount, SYMBCHAIN::sx, and SYMBCHAIN::sy.
SYMBEL* new_line | ( | void | ) |
Definition at line 140 of file symbol/read.c.
References SYMBEL::coor, G_malloc, SYMBEL::line, NULL, S_LINE, and SYMBEL::type.
SYMBPART* new_part | ( | int | type | ) |
Definition at line 84 of file symbol/read.c.
SYMBOL* new_symbol | ( | void | ) |
Definition at line 58 of file symbol/read.c.
References SYMBOL::alloc, SYMBOL::count, G_malloc, NULL, SYMBOL::part, and SYMBOL::scale.
void read_coor | ( | FILE * | fp, |
SYMBEL * | e | ||
) |
Definition at line 185 of file symbol/read.c.
References G_chop(), G_debug(), G_getl2(), get_key_data(), and x.
SYMBOL* S_read | ( | const char * | sname | ) |
Definition at line 231 of file symbol/read.c.