40 static const FXchar fileExt[];
41 static const FXchar mimeType[];
45 FXXBMImage(
FXApp* a,
const FXuchar *pixels=
nullptr,
const FXuchar *mask=
nullptr,FXuint opts=0,FXint w=1,FXint h=1);
48 virtual FXbool savePixels(
FXStream& store)
const;
51 virtual FXbool loadPixels(
FXStream& store);
64 extern FXAPI FXbool fxcheckXBM(
FXStream& store);
71 extern FXAPI FXbool fxloadXBM(FXColor*& data,
const FXuchar *pix,
const FXuchar *msk,FXint width,FXint height);
79 extern FXAPI FXbool fxloadXBM(
FXStream& store,FXColor*& data,FXint& width,FXint& height,FXint& hotx,FXint& hoty);
86 extern FXAPI FXbool fxsaveXBM(
FXStream& store,
const FXColor *data,FXint width,FXint height,FXint hotx=-1,FXint hoty=-1);
92 extern FXAPI FXbool fxsavePS(
FXStream& store,
const FXColor *data,FXint width,FXint height,FXint paperw=612,FXint paperh=792,FXint margin=35,FXbool color=
true);
The Application object is the central point of a FOX user-interface.
Definition: FXApp.h:134
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
Definition: FX4Splitter.h:28
X Bitmap image.
Definition: FXXBMImage.h:32
An Image is a rectangular array of pixels.
Definition: FXImage.h:67