43 static const FXchar fileExt[];
44 static const FXchar mimeType[];
51 virtual bool savePixels(
FXStream& store)
const;
54 virtual bool loadPixels(
FXStream& store);
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 FXRGB(r, g, b)
Make RGB color.
Definition: fxdefs.h:579
#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
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:45
bool fxcheckXBM(FXStream &store)
Check if stream contains a XBM, return TRUE if so.
unsigned char FXuchar
Definition: fxdefs.h:392
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...
X Bitmap icon.
Definition: FXXBMIcon.h:35
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92