Fl_BMP_Image Class Reference

The Fl_BMP_Image class supports loading, caching, and drawing of Windows Bitmap (BMP) image files. More...

#include <Fl_BMP_Image.H>

Inheritance diagram for Fl_BMP_Image:
Fl_RGB_Image Fl_Image

List of all members.

Public Member Functions

 Fl_BMP_Image (const char *filename)
 The constructor loads the named BMP image from the given bmp filename.

Detailed Description

The Fl_BMP_Image class supports loading, caching, and drawing of Windows Bitmap (BMP) image files.


Constructor & Destructor Documentation

Fl_BMP_Image::Fl_BMP_Image ( const char *  bmp  ) 

The constructor loads the named BMP image from the given bmp filename.

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

Use Fl_Image::fail() to check if Fl_BMP_Image failed to load. fail() returns ERR_FILE_ACCESS if the file could not be opened or read, ERR_FORMAT if the BMP format could not be decoded, and ERR_NO_IMAGE if the image could not be loaded for another reason.


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