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

FXRASIcon.h File Reference

#include "FXIcon.h"

Go to the source code of this file.


namespace  FX


bool fxcheckRAS (FXStream &store)
bool fxloadRAS (FXStream &store, FXColor *&data, FXint &width, FXint &height)
bool fxsaveRAS (FXStream &store, const FXColor *data, FXint width, FXint height)

Function Documentation

bool FX::fxcheckRAS FXStream &  store  ) 

Check if stream contains a RAS, return TRUE if so.

bool FX::fxloadRAS FXStream &  store,
FXColor *&  data,
FXint width,
FXint height

Load an SUN Raster Image format file from a stream.

Upon successful return, the pixel array and size are returned. If an error occurred, the pixel array is set to NULL.

bool FX::fxsaveRAS FXStream &  store,
const FXColor data,
FXint  width,
FXint  height

Save an SUN Raster Image format file to a stream.

Copyright © 1997-2005 Jeroen van der Zijp