Data Fields
pnm_context Struct Reference

PNM context. More...

#include <pnm.h>

Data Fields

struct pnm_typetype
 PNM type. More...
size_t offset
 Current byte offset. More...
size_t ascii_len
 Maximum length of ASCII values. More...
unsigned int max
 Maximum pixel value. More...

Detailed Description

PNM context.

Definition at line 30 of file pnm.h.

Field Documentation

◆ type

struct pnm_type* pnm_context::type

PNM type.

Definition at line 32 of file pnm.h.

Referenced by pnm_data(), and pnm_pixbuf().

◆ offset

size_t pnm_context::offset

Current byte offset.

Definition at line 34 of file pnm.h.

Referenced by pnm_ascii(), pnm_binary(), and pnm_pixbuf().

◆ ascii_len

size_t pnm_context::ascii_len

Maximum length of ASCII values.

Definition at line 36 of file pnm.h.

Referenced by pnm_ascii(), and pnm_pixbuf().

◆ max

unsigned int pnm_context::max

Maximum pixel value.

Definition at line 38 of file pnm.h.

Referenced by pnm_pixbuf(), and pnm_scale().

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