GRASS GIS 7 Programmer's Manual  7.2.0(2016)-exported
png_state Struct Reference

#include <pngdriver.h>

Data Fields

char * file_name
 
int current_color
 
int true_color
 
int has_alpha
 
int mapped
 
double clip_top
 
double clip_bot
 
double clip_left
 
double clip_rite
 
int width
 
int height
 
unsigned int * grid
 
unsigned char palette [256][4]
 
unsigned int background
 
int modified
 
int linewidth
 

Detailed Description

Definition at line 31 of file pngdriver.h.

Field Documentation

§ background

unsigned int png_state::background

Definition at line 46 of file pngdriver.h.

Referenced by PNG_Erase(), and PNG_Graph_set().

§ clip_bot

double png_state::clip_bot

Definition at line 42 of file pngdriver.h.

Referenced by PNG_draw_point(), PNG_Graph_set(), and PNG_Set_window().

§ clip_left

double png_state::clip_left

Definition at line 42 of file pngdriver.h.

Referenced by PNG_Graph_set(), and PNG_Set_window().

§ clip_rite

double png_state::clip_rite

Definition at line 42 of file pngdriver.h.

Referenced by PNG_draw_point(), PNG_Graph_set(), and PNG_Set_window().

§ clip_top

double png_state::clip_top

Definition at line 42 of file pngdriver.h.

Referenced by PNG_Graph_set(), and PNG_Set_window().

§ current_color

int png_state::current_color

Definition at line 34 of file pngdriver.h.

Referenced by PNG_color_rgb(), and PNG_draw_point().

§ file_name

char* png_state::file_name

§ grid

unsigned int* png_state::grid

Definition at line 44 of file pngdriver.h.

Referenced by PNG_draw_point(), PNG_Erase(), read_pgm(), read_ppm(), write_pgm(), and write_ppm().

§ has_alpha

int png_state::has_alpha

Definition at line 36 of file pngdriver.h.

Referenced by PNG_Graph_set(), read_image(), and write_image().

§ height

int png_state::height

§ linewidth

int png_state::linewidth

Definition at line 49 of file pngdriver.h.

Referenced by png_draw_line().

§ mapped

int png_state::mapped

Definition at line 37 of file pngdriver.h.

Referenced by PNG_Graph_close(), and write_image().

§ modified

int png_state::modified

Definition at line 47 of file pngdriver.h.

Referenced by PNG_draw_point(), PNG_Erase(), read_image(), and write_image().

§ palette

unsigned char png_state::palette[256][4]

Definition at line 45 of file pngdriver.h.

§ true_color

int png_state::true_color

§ width

int png_state::width

The documentation for this struct was generated from the following file: