GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
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 44 of file named_colr.c.

◆ G_color_values()

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

Definition at line 29 of file named_colr.c.

Variable Documentation

◆ b

float b

Definition at line 8 of file named_colr.c.

◆ g

◆ name

◆ r

float r

Definition at line 8 of file named_colr.c.