43 static const FXchar fileExt[];
44 static const FXchar mimeType[];
51 virtual bool savePixels(
FXStream& store)
const;
54 virtual bool loadPixels(
FXStream& store);
57 virtual ~FXXBMImage();
bool fxloadXBM(FXColor *&data, const FXuchar *pix, const FXuchar *msk, FXint width, FXint height)
Load an XBM (X Bitmap) from pixel array and mask array.
char FXchar
Definition: fxdefs.h:387
unsigned int FXuint
Definition: fxdefs.h:396
#define FXAPI
Definition: fxdefs.h:122
Application Object.
Definition: FXApp.h:158
#define NULL
Definition: fxdefs.h:41
FXuint FXColor
Definition: fxdefs.h:454
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:99
bool fxsavePS(FXStream &store, const FXColor *data, FXint width, FXint height, FXint paperw=612, FXint paperh=792, FXint margin=35, bool color=true)
Save a PostScript file to a stream; format the picture to the maximal size that fits within the given...
int FXint
Definition: fxdefs.h:397
bool fxcheckXBM(FXStream &store)
Check if stream contains a XBM, return TRUE if so.
unsigned char FXuchar
Definition: fxdefs.h:392
X Bitmap image.
Definition: FXXBMImage.h:35
An Image is a rectangular array of pixels.
Definition: FXImage.h:67
bool fxsaveXBM(FXStream &store, const FXColor *data, FXint width, FXint height, FXint hotx=-1, FXint hoty=-1)
Save an XBM (X Bitmap) file to a stream; if the parameters hotx and hoty are set to -1...
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92