GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-36359e2344
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 45 of file pngdriver.h.

Referenced by PNG_Erase(), and PNG_Graph_set().

◆ clip_bot

double png_state::clip_bot

Definition at line 41 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 41 of file pngdriver.h.

Referenced by PNG_Graph_set(), and PNG_Set_window().

◆ clip_rite

double png_state::clip_rite

Definition at line 41 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 41 of file pngdriver.h.

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

◆ current_color

int png_state::current_color

Definition at line 33 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 43 of file pngdriver.h.

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

◆ has_alpha

int png_state::has_alpha

Definition at line 35 of file pngdriver.h.

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

◆ height

int png_state::height

Definition at line 42 of file pngdriver.h.

Referenced by PNG_Erase(), PNG_Graph_set(), PNG_Set_window(), write_pgm(), and write_ppm().

◆ linewidth

int png_state::linewidth

Definition at line 48 of file pngdriver.h.

◆ mapped

int png_state::mapped

Definition at line 36 of file pngdriver.h.

Referenced by PNG_Graph_close(), and write_image().

◆ modified

int png_state::modified

Definition at line 46 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 44 of file pngdriver.h.

◆ true_color

int png_state::true_color

Definition at line 34 of file pngdriver.h.

Referenced by PNG_Graph_set(), and png_init_color_table().

◆ width

int png_state::width

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