Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXBMPImage Class Reference

The BMP Image class is a convenience class for working with images in the Microsoft Bitmap (.bmp) graphics file format. More...

#include <FXBMPImage.h>

Inheritance diagram for FX::FXBMPImage:
FX::FXImage FX::FXDrawable FX::FXId FX::FXObject

List of all members.

Public Member Functions

 FXBMPImage (FXApp *a, const void *pix=NULL, FXuint opts=0, FXint w=1, FXint h=1)
 Construct image from memory stream formatted in Microsoft BMP format.
virtual FXbool savePixels (FXStream &store) const
 Save pixels into stream in Microsoft bitmap format.
virtual FXbool loadPixels (FXStream &store)
 Load pixels from stream in Microsoft bitmap format.
virtual ~FXBMPImage ()
 Destroy icon.

Static Public Attributes

static const FXchar fileExt []
static const FXchar mimeType []

Detailed Description

The BMP Image class is a convenience class for working with images in the Microsoft Bitmap (.bmp) graphics file format.

This makes it possible to use resources created with Windows development tools inside FOX without need for graphics file format translators. The bitmap loaded handles 1, 4, and 8 bit paletted bitmaps, 16 and 24 bit RGB bitmaps, and 32 bit RGBA bitmaps.


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

Copyright © 1997-2011 Jeroen van der Zijp