GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <stdio.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/colors.h>
#include "pngdriver.h"
Go to the source code of this file.
Functions | |
void | init_color_table (void) |
void | get_pixel (unsigned int pixel, int *r, int *g, int *b, int *a) |
unsigned int | get_color (int r, int g, int b, int a) |
int | PNG_lookup_color (int r, int g, int b) |
Definition at line 124 of file pngdriver/Color_table.c.
References true_color.
Referenced by PNG_color(), PNG_draw_bitmap(), PNG_Graph_set(), PNG_scaled_raster(), read_bmp(), read_pgm(), read_png(), and read_ppm().
Definition at line 116 of file pngdriver/Color_table.c.
References true_color.
Referenced by PNG_draw_bitmap(), write_bmp(), write_pgm(), write_png(), and write_ppm().
void init_color_table | ( | void | ) |
Definition at line 77 of file pngdriver/Color_table.c.
Referenced by PNG_Graph_set(), and PS_Graph_set().
Definition at line 130 of file pngdriver/Color_table.c.
References b, g, has_alpha, r, and true_color.
Referenced by PNG_Driver().