|
GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <string.h>#include <stdlib.h>#include <unistd.h>#include <fcntl.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/mman.h>#include <grass/gis.h>#include "pngdriver.h"
Go to the source code of this file.
Functions | |
| int | PNG_Graph_set (int argc, char **argv) |
Variables | |
| char * | file_name |
| int | currentColor |
| int | true_color |
| int | auto_write |
| int | has_alpha |
| int | mapped |
| int | clip_top |
| int | clip_bot |
| int | clip_left |
| int | clip_rite |
| int | width |
| int | height |
| void * | image |
| unsigned int * | grid |
| unsigned char | png_palette [256][4] |
| unsigned int | background |
| int | modified |
Definition at line 66 of file pngdriver/Graph_set.c.
References auto_write, background, clip_bot, clip_left, clip_rite, clip_top, FILE_NAME, file_name, G_message(), G_strcasecmp(), get_color(), getenv(), grid, has_alpha, height, init_color_table(), mapped, modified, PNG_Erase(), read_image(), screen_bottom, screen_left, screen_right, screen_top, true_color, dialogs::width, and write_image().
Referenced by PNG_Driver().
| int auto_write |
Definition at line 29 of file pngdriver/Graph_set.c.
Referenced by Cairo_Client_Close(), Cairo_Graph_set(), Cairo_Respond(), PNG_Client_Close(), PNG_Graph_set(), and PNG_Respond().
| unsigned int background |
Definition at line 38 of file pngdriver/Graph_set.c.
Referenced by PNG_Erase(), and PNG_Graph_set().
| int clip_bot |
Definition at line 33 of file pngdriver/Graph_set.c.
Referenced by PNG_Box_abs(), PNG_draw_bitmap(), PNG_draw_point(), PNG_Graph_set(), PNG_scaled_raster(), and PNG_Set_window().
| int clip_left |
Definition at line 33 of file pngdriver/Graph_set.c.
Referenced by PNG_Box_abs(), PNG_draw_bitmap(), PNG_Graph_set(), PNG_scaled_raster(), and PNG_Set_window().
| int clip_rite |
Definition at line 33 of file pngdriver/Graph_set.c.
Referenced by PNG_Box_abs(), PNG_draw_bitmap(), PNG_draw_point(), PNG_Graph_set(), PNG_scaled_raster(), and PNG_Set_window().
| int clip_top |
Definition at line 33 of file pngdriver/Graph_set.c.
Referenced by PNG_Box_abs(), PNG_draw_bitmap(), PNG_Graph_set(), PNG_scaled_raster(), and PNG_Set_window().
| int currentColor |
Definition at line 27 of file pngdriver/Graph_set.c.
Referenced by PNG_Box_abs(), PNG_color(), PNG_draw_bitmap(), and PNG_draw_point().
| char* file_name |
Definition at line 26 of file pngdriver/Graph_set.c.
| unsigned int* grid |
Definition at line 36 of file pngdriver/Graph_set.c.
Referenced by G_get_raster_sample_bilinear(), G_get_raster_sample_cubic(), PNG_Box_abs(), PNG_draw_bitmap(), PNG_draw_point(), PNG_Erase(), PNG_Graph_close(), PNG_Graph_set(), PNG_scaled_raster(), read_bmp(), read_pgm(), read_png(), read_ppm(), write_bmp(), write_pgm(), write_png(), and write_ppm().
| int has_alpha |
Definition at line 30 of file pngdriver/Graph_set.c.
Referenced by PNG_Graph_set(), PNG_lookup_color(), read_image(), read_png(), write_image(), and write_png().
| int height |
Definition at line 34 of file pngdriver/Graph_set.c.
| void* image |
Definition at line 35 of file pngdriver/Graph_set.c.
| int mapped |
Definition at line 31 of file pngdriver/Graph_set.c.
Referenced by PNG_Graph_close(), PNG_Graph_set(), and write_image().
| int modified |
Definition at line 39 of file pngdriver/Graph_set.c.
Referenced by Cairo_Box_abs(), Cairo_draw_bitmap(), Cairo_draw_line(), Cairo_draw_point(), Cairo_end_scaled_raster(), Cairo_Erase(), PNG_Box_abs(), PNG_draw_bitmap(), PNG_draw_line(), PNG_draw_point(), PNG_Erase(), PNG_Graph_set(), PNG_scaled_raster(), read_image(), and write_image().
| unsigned char png_palette[256][4] |
Definition at line 37 of file pngdriver/Graph_set.c.
Referenced by read_png(), and write_png().
| int true_color |
Definition at line 28 of file pngdriver/Graph_set.c.
Referenced by get_color(), get_pixel(), init_color_table(), PNG_color(), PNG_draw_bitmap(), PNG_Graph_set(), PNG_lookup_color(), PS_begin_scaled_raster(), PS_color(), PS_Graph_set(), PS_lookup_color(), PS_scaled_raster(), read_bmp(), read_pgm(), read_png(), read_ppm(), and write_png().
| int width |
Definition at line 34 of file pngdriver/Graph_set.c.