GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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.


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().