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

FXRGBIcon.h File Reference

#include "FXIcon.h"

Go to the source code of this file.

Namespaces

namespace  FX

Functions

bool fxcheckRGB (FXStream &store)
bool fxloadRGB (FXStream &store, FXColor *&data, FXint &width, FXint &height)
bool fxsaveRGB (FXStream &store, const FXColor *data, FXint width, FXint height)


Function Documentation

bool FX::fxcheckRGB FXStream &  store  ) 
 

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

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

Load an RGB (SGI IRIS RGB) 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::fxsaveRGB FXStream &  store,
const FXColor data,
FXint  width,
FXint  height
 

Save an RGB (SGI IRIS RGB) file to a stream.

Copyright © 1997-2005 Jeroen van der Zijp