class
PortableImageHelper
(Return to index)
helper class for reading PGM or PPM images.
Type:
Abstract
Derived Classes
Include file:
OverlayUnidraw/ovimport.h
Public:
PortableImageHelper
(boolean is_ascii=false)
pure virtual int
bytes_per_pixel
()
pure virtual
OverlayRaster
*
create_raster
( u_long w, u_long h )
boolean
is_ascii
()
pure virtual const char*
magic
()
int
maxval
()
void
maxval
(int maxv)
pure virtual boolean
ppm
()
pure virtual void
read_poke
(
OverlayRaster
*, FILE*, u_long x, u_long y )
pure virtual void
read_write_pixel
( FILE* in, FILE* out )
Protected:
boolean
_is_ascii
int
_maxval
(more documentation)