GhulbusUtil Namespace Reference

Root namespace of the ghulbusUtil Library. More...


Classes

class  gbImageLoader
 Used for loading image files. More...
class  gbImageType_BMP_T
class  gbImageType_TGA_T
struct  BITMAPFILEHEADER
struct  BITMAPINFOHEADER
struct  TGAHEADER

Functions

void WriteImage (char const *fname, GhulbusGraphics::GBCOLOR const *data, int width, int height)
 Writes image data to a TGA image file.
gbImageLoader::gbImageTypegbImageType_BMP ()
 Get a loading strategy for BMP files; use in gbImageLoader.
gbImageLoader::gbImageTypegbImageType_TGA ()
 Get a loading strategy for TGA files; use in gbImageLoader.

Variables

struct
GhulbusUtil::BITMAPFILEHEADER 
packed


Detailed Description

Root namespace of the ghulbusUtil Library.

Function Documentation

gbImageLoader::gbImageType * GhulbusUtil::gbImageType_BMP (  ) 

Get a loading strategy for BMP files; use in gbImageLoader.

Remarks:
This approach uses static objects and is therefore *not* thread-safe

gbImageLoader::gbImageType * GhulbusUtil::gbImageType_TGA (  ) 

Get a loading strategy for TGA files; use in gbImageLoader.

Remarks:
This approach uses static objects and is therefore *not* thread-safe

void GhulbusUtil::WriteImage ( char const *  fname,
GhulbusGraphics::GBCOLOR const *  data,
int  width,
int  height 
)

Writes image data to a TGA image file.

Parameters:
[in] fname Full path to the output file
[in] data Field containing the image data as 32bit ARGB
[in] width Image width in pixels
[in] height Image height in pixels
Exceptions:
Ghulbus::gbException GB_FAILED indicates a file access error


Generated on Sat Jan 19 18:58:22 2008 for PS2 IconSys Library by  doxygen 1.5.4