|
GRASS 8 Programmer's Manual 8.5.0(2026)-8d6ceba290
|
#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 | png_init_color_table (void) |
| void | png_get_pixel (unsigned int pixel, int *r, int *g, int *b, int *a) |
| unsigned int | png_get_color (int r, int g, int b, int a) |
| unsigned int png_get_color | ( | int | r, |
| int | g, | ||
| int | b, | ||
| int | a ) |
Definition at line 118 of file color_table.c.
References png, png_get_color(), and png_state::true_color.
Referenced by PNG_color_rgb(), PNG_draw_bitmap(), png_get_color(), PNG_Graph_set(), PNG_raster(), read_bmp(), read_pgm(), read_png(), and read_ppm().
| void png_get_pixel | ( | unsigned int | pixel, |
| int * | r, | ||
| int * | g, | ||
| int * | b, | ||
| int * | a ) |
Definition at line 110 of file color_table.c.
References png, png_get_pixel(), and png_state::true_color.
Referenced by PNG_draw_bitmap(), png_get_pixel(), write_bmp(), write_pgm(), write_png(), and write_ppm().
| void png_init_color_table | ( | void | ) |
Definition at line 72 of file color_table.c.
References png, png_init_color_table(), and png_state::true_color.
Referenced by PNG_Graph_set(), and png_init_color_table().