GRASS Programmer's Manual  6.4.3(2013)-r
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
psdriver/Color_table.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/colors.h>
#include "psdriver.h"
Include dependency graph for psdriver/Color_table.c:

Go to the source code of this file.

Functions

void init_color_table (void)
 
int PS_lookup_color (int r, int g, int b)
 

Function Documentation

void init_color_table ( void  )

Definition at line 9 of file psdriver/Color_table.c.

References NCOLORS, and true_color.

int PS_lookup_color ( int  r,
int  g,
int  b 
)

Definition at line 24 of file psdriver/Color_table.c.

References true_color.

Referenced by PS_Driver().