GRASS GIS 8 Programmer's Manual 8.4.0(2024)-exported
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 COM_Set_font(), 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_read_vector_timestamp(), 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(), G_write_vector_timestamp(), 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(), 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_dothas_value_of_type(), 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_has_value_of_type(), 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(), N_write_array_2d_to_rast(), open_volfile(), parse_fontcap_entry(), read_ellipsoid_table(), S_read(), and set_proj_share().

◆ r

float r

Definition at line 7 of file named_colr.c.

Referenced by G_color_values().