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_XPM_Image Class Reference

#include <Fl_XPM_Image.H>

Inheritance diagram for Fl_XPM_Image:
Collaboration diagram for Fl_XPM_Image:

List of all members.

Public Member Functions

 Fl_XPM_Image (const char *filename)

Detailed Description

The Fl_XPM_Image class supports loading, caching, and drawing of X Pixmap (XPM) images, including transparency.

Definition at line 40 of file Fl_XPM_Image.H.


Constructor & Destructor Documentation

Fl_XPM_Image::Fl_XPM_Image ( const char *  name)

The constructor loads the XPM image from the name filename.

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

Definition at line 61 of file Fl_XPM_Image.cxx.

References Fl_Pixmap::alloc_data, buffer, Fl_Image::data(), f, fl_fopen(), i, INITIALLINES, MAXSIZE, Fl_Pixmap::measure(), and NULL.


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