GRASS 8 Programmer's Manual 8.5.0(2026)-8d6ceba290
Loading...
Searching...
No Matches
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

◆ clip_left

double png_state::clip_left

Definition at line 41 of file pngdriver.h.

Referenced by PNG_Box(), PNG_draw_bitmap(), PNG_Graph_set(), PNG_raster(), and PNG_Set_window().

◆ clip_rite

double png_state::clip_rite

◆ clip_top

double png_state::clip_top

◆ current_color

int png_state::current_color

Definition at line 33 of file pngdriver.h.

Referenced by PNG_Box(), PNG_color_rgb(), PNG_draw_bitmap(), and PNG_draw_point().

◆ file_name

◆ grid

◆ has_alpha

int png_state::has_alpha

Definition at line 35 of file pngdriver.h.

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

◆ height

◆ linewidth

int png_state::linewidth

Definition at line 48 of file pngdriver.h.

Referenced by png_draw_line(), and PNG_Line_width().

◆ mapped

int png_state::mapped

Definition at line 36 of file pngdriver.h.

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

◆ modified

◆ palette

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

Definition at line 44 of file pngdriver.h.

Referenced by read_png(), and write_png().

◆ true_color

◆ width


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