|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-1d1e47ad9d
|
#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.
References SYMBPART::alloc, SYMBPART::chain, SYMBPART::count, and G_realloc.
Referenced by S_read().
Definition at line 128 of file symbol/read.c.
References SYMBCHAIN::alloc, SYMBCHAIN::count, SYMBCHAIN::elem, and G_realloc.
Referenced by S_read().
Definition at line 71 of file symbol/read.c.
References SYMBOL::alloc, SYMBOL::count, G_realloc, and SYMBOL::part.
Referenced by S_read().
Definition at line 154 of file symbol/read.c.
Referenced by read_coor().
Definition at line 216 of file symbol/read.c.
References G_free(), G_warning(), and NULL.
Referenced by ReplacementHeap< T, Compare >::extract_min(), ReplacementHeapBlock< T, Compare >::extract_min(), G_bz2_compress(), G_bz2_expand(), G_fopen_append(), G_fopen_append_misc(), G_fopen_modify(), G_fopen_modify_misc(), G_fseek(), G_fwrite_key_value(), G_lz4_compress(), G_lz4_expand(), G_math_solver_bicgstab(), G_math_solver_cg(), G_math_solver_cg_sband(), G_math_solver_gs(), G_math_solver_jacobi(), G_math_solver_pcg(), G_math_solver_pcg_sband(), G_math_solver_sparse_bicgstab(), G_math_solver_sparse_cg(), G_math_solver_sparse_gs(), G_math_solver_sparse_jacobi(), G_math_solver_sparse_pcg(), G_open_update(), G_open_update_misc(), G_parser(), G_read_compressed(), G_read_ellipsoid_table(), G_write_compressed(), G_write_projsrid(), G_write_projwkt(), G_write_uncompressed(), G_zlib_compress(), G_zlib_expand(), G_zstd_compress(), G_zstd_expand(), gsd_wall(), IL_check_at_points_2d(), IL_check_at_points_2d_cvdev(), IL_interp_segments_2d_parallel(), IL_write_point_2d(), ReplacementHeap< T, Compare >::init(), ReplacementHeapBlock< T, Compare >::init(), main(), makeRun_Block(), pj_get_kv(), Rast3d_open_cell_new(), Rast3d_read_colors(), Rast3d_write_tile(), Rast__close_null(), Rast__open_null_write(), Rast_read_colors(), read_ellipsoid_table(), RTreeCreateTree(), RTreeReadNode(), RTreeRewriteNode(), S_read(), seg_pagein(), seg_pageout(), seg_setup(), Segment_get_row(), Segment_init(), Segment_put_row(), Vect_break_polygons_file(), Vect_open_sidx(), Vect_open_topo(), and Vect_str_to_cat_list().
Definition at line 33 of file symbol/read.c.
References G_chop(), G_debug(), NULL, and strcpy.
Referenced by read_coor(), and S_read().
Definition at line 169 of file symbol/read.c.
References SYMBEL::coor, G_malloc, r, S_ARC, SYMBEL::type, and x.
Referenced by S_read().
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.
Referenced by S_read().
Definition at line 140 of file symbol/read.c.
References SYMBEL::coor, G_malloc, NULL, S_LINE, and SYMBEL::type.
Referenced by S_read().
Definition at line 84 of file symbol/read.c.
References SYMBPART::alloc, SYMBPART::chain, SYMBCOLOR::color, SYMBPART::color, SYMBPART::count, SYMBPART::fcolor, G_malloc, NULL, S_COL_DEFAULT, and SYMBPART::type.
Referenced by S_read().
Definition at line 58 of file symbol/read.c.
References SYMBOL::alloc, SYMBOL::count, G_malloc, NULL, SYMBOL::part, and SYMBOL::scale.
Referenced by S_read().
Definition at line 185 of file symbol/read.c.
References _, add_point(), G_chop(), G_debug(), G_getl2(), G_warning(), get_key_data(), and x.
Referenced by S_read().
Definition at line 231 of file symbol/read.c.
References _, add_chain(), add_element(), add_part(), SYMBCOLOR::b, b, SYMBPART::chain, SYMBCOLOR::color, SYMBPART::color, SYMBEL::coor, SYMBCHAIN::count, SYMBPART::count, SYMBCHAIN::elem, err(), SYMBCOLOR::fb, SYMBPART::fcolor, SYMBCOLOR::fg, SYMBCOLOR::fr, SYMBCOLOR::g, g, G_chop(), G_debug(), G_find_file(), G_fopen_old(), G_getl2(), G_gisbase(), G_strcasecmp(), G_warning(), get_key_data(), l, name, new_arc(), new_chain(), new_line(), new_part(), new_symbol(), NULL, OBJ_NONE, OBJ_POLYGON, OBJ_RING, OBJ_STRING, SYMBCOLOR::r, r, read_coor(), S_COL_DEFINED, S_COL_NONE, S_LINE, S_POLYGON, S_STRING, strcpy, SYMBEL::type, SYMBPART::type, and x.