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

FXPCXIcon.h File Reference

#include "FXIcon.h"

Go to the source code of this file.

Namespaces

namespace  FX

Functions

bool fxcheckPCX (FXStream &store)
bool fxloadPCX (FXStream &store, FXColor *&data, FXint &width, FXint &height)
bool fxsavePCX (FXStream &store, const FXColor *data, FXint width, FXint height)


Function Documentation

bool FX::fxcheckPCX FXStream &  store  ) 
 

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

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

Load an PCX (PC Paintbrush) 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::fxsavePCX FXStream &  store,
const FXColor data,
FXint  width,
FXint  height
 

Save an PCX (PC Paintbrush) file to a stream.

Copyright © 1997-2005 Jeroen van der Zijp