GRASS Programmer's Manual
6.4.2(2012)
|
#include <grass/gis.h>
#include <string.h>
#include <stdio.h>
Go to the source code of this file.
Functions | |
int | G_color_values (const char *name, float *r, float *g, float *b) |
const char * | G_color_name (int n) |
const char* G_color_name | ( | int | n | ) |
Definition at line 44 of file named_colr.c.
References NULL.
int G_color_values | ( | const char * | name, |
float * | r, | ||
float * | g, | ||
float * | b | ||
) |
Definition at line 29 of file named_colr.c.
Referenced by G_parse_color_rule().
float b |
Definition at line 8 of file named_colr.c.
Referenced by Cairo_color(), Cairo_scaled_raster(), D_color_of_type(), D_erase(), D_erase_window(), D_popup(), D_set_cur_wind(), D_setup(), D_show_window(), datetime_is_between(), db__recv_string_array(), db_strip(), dig__frealloc(), dig_x_intersect(), DRV_lookup_color(), durbins_exact(), G__lookup_colors(), G__read_row_ptrs(), G__write_row_ptrs(), G_get_color(), G_get_raster_color(), G_read_color_rules(), G_remove_commas(), G_setup_plot(), G_site_c_cmp(), G_sort_histogram(), G_strip(), G_tqli(), get_text_ext(), get_win_w_mouse(), Gp_set_color(), Gs_build_256lookup(), gs_get_databounds_planes(), GS_get_val_at_xy(), gs_los_intersect(), gs_los_intersect1(), Gs_pack_colors(), Gs_pack_colors_float(), gs_put_label(), GS_write_ppm(), GS_write_zoom(), gsd_color_func(), gsd_getimage(), gsd_init_mpeg(), gsd_write_mpegframe(), Gvl_get_color_for_value(), I_alloc_double2(), I_alloc_int2(), I_malloc(), I_realloc(), ident_win(), IL_crst(), IL_interp_segments_2d(), IL_resample_interp_segments_2d(), link__set_next(), LOC_screen_bot(), m_mult(), mc33_test_interior(), N_calc_arith_mean(), N_calc_harmonic_mean(), N_solver_bicgstab(), N_solver_cg(), N_solver_pcg(), Nviz_set_light_bright(), Nviz_set_light_color(), PNG_color(), PNG_draw_bitmap(), PNG_lookup_color(), ppnd16(), ppnd7(), BasicMinMaxHeap< T >::print_range(), process_command(), PS_color(), read_bmp(), read_png(), read_ppm(), RTreeAddBranch(), S_read(), shapiro_wilk_exp(), soft_text_ext(), thomalg(), Vect__intersect_line_with_poly(), Vect_set_constraint_region(), Vect_tin_get_z(), write_bmp(), write_pgm(), write_png(), write_ppm(), yy_scan_buffer(), and yy_scan_bytes().
float g |
Definition at line 8 of file named_colr.c.
Referenced by Cairo_color(), Cairo_scaled_raster(), D_color_of_type(), DRV_lookup_color(), durbins_exact(), G__lookup_colors(), G_get_color(), G_get_raster_color(), G_read_color_rules(), G_svdcmp(), G_tqli(), G_tred2(), Gp_set_color(), Gs_build_256lookup(), GS_get_val_at_xy(), Gs_pack_colors(), Gs_pack_colors_float(), GS_write_ppm(), GS_write_zoom(), gsd_color_func(), gsd_write_mpegframe(), Gvl_get_color_for_value(), Nviz_set_light_bright(), Nviz_set_light_color(), PNG_color(), PNG_draw_bitmap(), PNG_lookup_color(), PS_color(), read_bmp(), read_png(), read_ppm(), S_read(), thomalg(), write_bmp(), write_pgm(), write_png(), and write_ppm().
const char* name |
Definition at line 7 of file named_colr.c.
Referenced by D_setup(), D_translate_color(), db_alloc_dirent_array(), db_d_add_column(), db_d_describe_table(), db_d_drop_index(), db_d_drop_table(), db_dirent(), db_free_dirent_array(), db_grant_on_table(), db_read_dbmscap(), DBFGetFieldIndex(), free_freetypecap(), G3d_cache_elt_ptr(), G3d_cache_hash_load_name(), G3d_cache_hash_name2index(), G3d_cache_hash_remove_name(), G__file_name(), G__file_name_misc(), G__location_path(), G__machine_name(), G__name_is_fully_qualified(), G__open_cell_old(), G__tempfile(), G_database_datum_name(), G_database_ellipse_name(), G_database_projection_name(), G_database_unit_name(), G_mask_info(), G_myname(), G_program_name(), G_set_program_name(), G_sites_get_fields(), G_str_to_color(), G_whoami(), GPJ_get_datum_transform_by_name(), GPJ_osr_to_grass(), LOC_panel_delete(), make_location(), parse_freetypecap(), process_command(), read_datum_table(), read_ellipsoid_table(), S_read(), submit(), Vect_copy_table_by_cats(), and Vect_get_proj_name().
float r |
Definition at line 8 of file named_colr.c.
Referenced by avl_delete(), avl_replace(), Cairo_color(), Cairo_scaled_raster(), D_color_of_type(), D_erase(), D_erase_window(), D_popup(), D_set_cur_wind(), D_setup(), D_show_window(), DRV_lookup_color(), G3d_getVolumeA(), G__lookup_colors(), G_get_color(), G_get_raster_color(), G_read_color_rules(), G_setup_plot(), G_tqli(), get_text_ext(), get_win_w_mouse(), Gp_set_color(), Gs_build_256lookup(), GS_get_val_at_xy(), Gs_pack_colors(), Gs_pack_colors_float(), gs_put_label(), GS_write_ppm(), GS_write_zoom(), gsd_color_func(), gsd_getimage(), gsd_init_mpeg(), gsd_write_mpegframe(), Gvl_get_color_for_value(), gvld_slice(), ident_win(), IL_check_at_points_2d(), IL_crstg(), IL_grid_calc_2d(), IL_matrix_create(), IL_resample_interp_segments_2d(), kuipers_v_exp(), LOC_screen_rite(), N_callback_gwflow_2d(), N_callback_gwflow_3d(), N_solver_bicgstab(), N_solver_cg(), N_solver_pcg(), new_arc(), Nviz_set_light_bright(), Nviz_set_light_color(), PNG_color(), PNG_draw_bitmap(), PNG_lookup_color(), ppnd16(), ppnd7(), process_command(), PS_color(), quad_add_data(), read_bmp(), read_png(), read_ppm(), rtree_dump_branch(), rtree_read_branch(), rtree_write_branch(), RTreeCombineRect(), RTreeInitRect(), RTreeNodeCover(), RTreeNullRect(), RTreePickBranch(), RTreeSearch(), S_read(), slice_calc(), soft_text_ext(), stroke_chain(), tavl_delete(), tavl_replace(), write_bmp(), write_pgm(), write_png(), and write_ppm().