fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
  SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation)  

Fl_PNM_Image Class Reference

#include <Fl_PNM_Image.H>

Inheritance diagram for Fl_PNM_Image:
Collaboration diagram for Fl_PNM_Image:

List of all members.

Public Member Functions

 Fl_PNM_Image (const char *filename)

Detailed Description

The Fl_PNM_Image class supports loading, caching, and drawing of Portable Anymap (PNM, PBM, PGM, PPM) image files. The class loads bitmap, grayscale, and full-color images in both ASCII and binary formats.

Definition at line 41 of file Fl_PNM_Image.H.


Constructor & Destructor Documentation

Fl_PNM_Image::Fl_PNM_Image ( const char *  name)

The constructor loads the named PNM image.

The inherited destructor free all memory and server resources that are used by the image.

Definition at line 54 of file Fl_PNM_Image.cxx.

References Fl_RGB_Image::alloc_array, Fl_RGB_Image::array, Fl_Image::d(), Fl::error, fl_fopen(), fp, Fl_Image::h(), NULL, ptr, val, Fl_Image::w(), x, and y.


The documentation for this class was generated from the following files: