Image Class Reference
[Types]

Simplistic image data, currently only works with BMP. More...

#include <Image.h>

Inheritance diagram for Image:
IMemoryValidate

List of all members.

Public Member Functions

byte * Pixels ()
int Depth ()
int Bbp ()
int Width ()
int Height ()
unsigned int RMask ()
unsigned int GMask ()
unsigned int BMask ()
unsigned int AMask ()
unsigned int * PRed ()
unsigned int * PGreen ()
unsigned int * PBlue ()
unsigned int * PAlpha ()
virtual void ValidateMem () const
virtual void CheckMem () const

Static Public Member Functions

static ImageGetImage (const char *filename)

Protected Attributes

byte * m_pixels
int m_w
int m_h
int m_depth
int m_bpp
unsigned int m_rmask
unsigned int m_gmask
unsigned int m_bmask
unsigned int m_amask
unsigned int m_red [256]
unsigned int m_green [256]
unsigned int m_blue [256]
unsigned int m_alpha [256]

Detailed Description

Simplistic image data, currently only works with BMP.

Definition at line 33 of file Image.h.


Member Function Documentation

Image * Image::GetImage ( const char *  filename  )  [static]

Load a BMP file

Definition at line 44 of file Image.cpp.


The documentation for this class was generated from the following files: