BitmapData Class Reference

A class for passing bitmap data to the polygon filler. More...

#include <BitmapData.h>

Inheritance diagram for BitmapData:

RenderTargetWrapper List of all members.

Public Types

enum  BitmapFormat {
  BITMAP_FORMAT_XRGB = 0, BITMAP_FORMAT_ARGB, BITMAP_FORMAT_XBGR, BITMAP_FORMAT_ABGR,
  BITMAP_FORMAT_RGBX, BITMAP_FORMAT_RGBA, BITMAP_FORMAT_BGRX, BITMAP_FORMAT_BGRA
}

Public Member Functions

 BitmapData (unsigned int aWidth, unsigned int aHeight, unsigned int aPitch, unsigned long *aData, BitmapFormat aFormat)
 Constructor.

Public Attributes

unsigned int mWidth
unsigned int mHeight
unsigned int mPitch
unsigned long * mData
BitmapFormat mFormat

Detailed Description

A class for passing bitmap data to the polygon filler.


Member Enumeration Documentation

enum BitmapData::BitmapFormat
 

Enumerator:
BITMAP_FORMAT_XRGB 
BITMAP_FORMAT_ARGB 
BITMAP_FORMAT_XBGR 
BITMAP_FORMAT_ABGR 
BITMAP_FORMAT_RGBX 
BITMAP_FORMAT_RGBA 
BITMAP_FORMAT_BGRX 
BITMAP_FORMAT_BGRA 


Constructor & Destructor Documentation

BitmapData::BitmapData unsigned int  aWidth,
unsigned int  aHeight,
unsigned int  aPitch,
unsigned long *  aData,
BitmapFormat  aFormat
[inline]
 

Constructor.

/param aWidth the width of the bitmap in pixels. /param aHeight the height of the bitmap in pixels. /param aPitch the lenght of one scanline in bytes. /param aData a pointer to the data. /param aFormat the format of the bitmap.


Member Data Documentation

unsigned long* BitmapData::mData
 

BitmapFormat BitmapData::mFormat
 

unsigned int BitmapData::mHeight
 

unsigned int BitmapData::mPitch
 

unsigned int BitmapData::mWidth
 


The documentation for this class was generated from the following file:
Generated on Fri Aug 3 00:44:36 2007 for Scanline edge-flag algorithm for antialiasing by  doxygen 1.4.6-NO