GRASS GIS 8 Programmer's Manual 8.3.2(2024)-exported
Loading...
Searching...
No Matches
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.

References NULL.

◆ 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, name, 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 Cairo_set_font(), COM_Set_font(), DBFGetFieldIndex(), find_datah(), font_exists(), font_init(), font_init_freetype(), free_fontcap(), G__get_list_of_mapsets(), G__location_path(), G__machine_name(), G__make_mapset_element_misc(), G_color_rules_description_type(), G_color_rules_descriptions(), G_color_rules_options(), G_color_values(), G_compressor_number(), G_database_datum_name(), G_database_ellipse_name(), G_database_projection_name(), G_database_unit(), G_file_name(), G_file_name_basedir(), G_file_name_misc(), G_file_name_tmp(), G_find_color_rule(), G_find_etc(), G_find_file(), G_find_file2(), G_find_file2_misc(), G_find_file_misc(), G_find_raster(), G_find_raster2(), G_find_raster3d(), G_find_vector(), G_find_vector2(), G_fopen_append(), G_fopen_append_misc(), G_fopen_modify(), G_fopen_modify_misc(), G_fopen_new(), G_fopen_new_misc(), G_fopen_old(), G_fopen_old_misc(), G_fully_qualified_name(), G_get_datum_by_name(), G_get_element_window(), G_get_ellipsoid_by_name(), G_get_spheroid_by_name(), G_getenv(), G_getenv2(), G_getenv_nofatal(), G_getenv_nofatal2(), G_has_raster3d_timestamp(), G_has_raster_timestamp(), G_has_vector_timestamp(), G_legal_filename(), G_list_color_rules(), G_list_color_rules_description_type(), G_make_mapset_dir_object(), G_myname(), G_name_is_fully_qualified(), G_open_new(), G_open_new_misc(), G_open_old(), G_open_old_misc(), G_open_update(), G_open_update_misc(), G_program_name(), G_put_element_window(), G_putenv(), G_read_datum_table(), G_read_ellipsoid_table(), G_read_raster3d_timestamp(), G_read_raster_timestamp(), G_read_vector_timestamp(), G_remove(), G_remove_misc(), G_remove_raster3d_timestamp(), G_remove_raster_timestamp(), G_remove_vector_timestamp(), G_set_program_name(), G_setenv(), G_setenv2(), G_setenv_nogisrc(), G_setenv_nogisrc2(), G_str_to_color(), G_tempfile_pid(), G_tempfile_pid_basedir(), G_unqualified_name(), G_unsetenv(), G_unsetenv2(), G_whoami(), G_write_raster3d_timestamp(), G_write_raster_timestamp(), G_write_vector_timestamp(), GK_print_keys(), Gp_load_sites(), GPJ_get_datum_by_name(), GPJ_get_datum_params(), GPJ_get_datum_transform_by_name(), 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(), gsd_put_legend(), gsds_findh(), gsds_newh(), gvl_file_newh(), Gvl_load_colors_data(), M_find(), N_read_rast3d_to_array_3d(), N_read_rast_to_array_2d(), N_write_array_2d_to_rast(), N_write_array_3d_to_rast3d(), Nviz_new_map_obj(), open_volfile(), parse_fontcap_entry(), read_datum_table(), 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().