GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-cf81aadc39
named_colr.c File Reference
#include <grass/gis.h>
#include <string.h>
#include <stdio.h>
Include dependency graph for named_colr.c:

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)
 

Function Documentation

◆ G_color_name()

const char* G_color_name ( int  n)

Definition at line 35 of file named_colr.c.

◆ G_color_values()

int G_color_values ( const char *  name,
float *  r,
float *  g,
float *  b 
)

Definition at line 20 of file named_colr.c.

References b, g, and r.

Variable Documentation

◆ b

float b

Definition at line 7 of file named_colr.c.

Referenced by G_color_values().

◆ g

◆ name

const char* name

Definition at line 6 of file named_colr.c.

Referenced by em_buffer< T, Key >::cleanup(), COM_Set_font(), D_encoding(), D_font(), db_alloc_dirent_array(), db_d_add_column(), db_d_drop_index(), db_d_drop_table(), db_d_init_error(), db_drop_index(), db_drop_table(), db_free_dirent_array(), db_grant_on_table(), db_procedure_not_implemented(), db_set_column_name(), db_set_index_column_name(), db_set_index_name(), db_set_index_table_name(), DBFGetFieldIndex(), font_exists(), font_init(), free_fontcap(), G__location_path(), G__make_mapset_element_misc(), G_color_rules_description_type(), G_color_rules_descriptions(), G_color_rules_options(), G_compressor_number(), G_database_datum_name(), G_database_ellipse_name(), G_database_projection_name(), G_database_unit(), G_find_raster(), G_find_raster2(), G_find_raster3d(), G_find_vector(), G_find_vector2(), G_fully_qualified_name(), G_getenv(), G_getenv2(), G_getenv_nofatal(), G_getenv_nofatal2(), G_has_raster3d_timestamp(), G_has_raster_timestamp(), G_has_vector_timestamp(), G_myname(), G_name_is_fully_qualified(), G_program_name(), G_putenv(), G_remove_raster3d_timestamp(), G_remove_raster_timestamp(), G_remove_vector_timestamp(), G_str_to_color(), G_tempfile_pid(), G_tempfile_pid_basedir(), G_unqualified_name(), GK_print_keys(), GPJ_get_datum_by_name(), GPJ_get_datum_params(), GPJ_get_default_datum_params_by_name(), GPJ_get_ellipsoid_by_name(), GPJ_osr_to_grass(), GPJ_set_csv_loc(), GS_draw_legend(), GS_write_ppm(), GS_write_tif(), GS_write_zoom(), I__list_group_name_fit(), I_add_file_to_group_ref(), I_fopen_signature_file_new(), I_fopen_signature_file_old(), I_fopen_sigset_file_new(), I_fopen_sigset_file_old(), I_iclass_init_statistics(), I_iclass_statistics_get_name(), json_object_dotget_array(), json_object_dotget_boolean(), json_object_dotget_number(), json_object_dotget_object(), json_object_dotget_string(), json_object_dotget_string_len(), json_object_dotget_value(), json_object_dothas_value(), json_object_dotset_boolean(), json_object_dotset_null(), json_object_dotset_number(), json_object_dotset_string(), json_object_dotset_string_with_len(), json_object_dotset_value(), json_object_get_array(), json_object_get_boolean(), json_object_get_number(), json_object_get_object(), json_object_get_string(), json_object_get_string_len(), json_object_get_value(), json_object_has_value(), json_object_set_boolean(), json_object_set_null(), json_object_set_number(), json_object_set_string(), json_object_set_string_with_len(), json_object_set_value(), M_find(), open_band_files(), open_volfile(), parse_fontcap_entry(), Rast3d_open_cell_old_no_header(), Rast3d_read_history(), Rast3d_read_range(), Rast3d_remove_color(), Rast3d_write_cats(), Rast3d_write_history(), Rast__check_fp_type(), Rast__mask_info(), Rast__open_null_write(), Rast__open_old(), Rast__quant_export(), Rast__quant_import(), Rast__remove_fp_range(), Rast_get_cell_title(), Rast_get_cellhd(), Rast_get_max_c_cat(), Rast_get_semantic_label_or_name(), Rast_get_vrt(), Rast_is_reclassed_to(), Rast_map_is_fp(), Rast_map_type(), Rast_mask_info(), Rast_mask_status(), Rast_open_old(), Rast_put_cellhd(), Rast_quantize_fp_map(), Rast_quantize_fp_map_range(), Rast_read_fp_range(), Rast_read_histogram(), Rast_read_history(), Rast_read_quant(), Rast_read_range(), Rast_remove_colors(), Rast_remove_histogram(), Rast_round_fp_map(), Rast_truncate_fp_map(), Rast_write_fp_range(), Rast_write_history(), Rast_write_quant(), Rast_write_range(), Rast_write_rstats(), read_ellipsoid_table(), ReplacementHeap< T, Compare >::ReplacementHeap(), S_read(), set_proj_share(), SimpleErrorMessage(), sqpNewColumnNode(), V1_open_new_nat(), V1_open_new_ogr(), V1_open_new_pg(), Vect_check_dblink(), Vect_get_finfo_layer_name(), Vect_get_proj_name(), Vect_map_check_dblink(), Vect_open_old(), Vect_open_old2(), Vect_open_old_head(), Vect_open_old_head2(), Vect_open_tmp_new(), Vect_open_tmp_old(), Vect_open_tmp_update(), Vect_open_update(), Vect_open_update2(), Vect_open_update_head(), and Vect_remove_colors().

◆ r

float r

Definition at line 7 of file named_colr.c.

Referenced by G_color_values().