Forums
This is the online documentation for Colossus Entertainments Pixie Game Engine

RLEBitmap Class Reference
[Graphics]

List of all members.


Detailed Description

Author:
Mattias Gustavsson

Definition at line 20 of file RLEBitmap.h.


Public Member Functions

 RLEBitmap ()
 RLEBitmap (const Asset &asset)
 RLEBitmap (const Image &image)
 ~RLEBitmap ()
void Blit (Bitmap *target, int x, int y, unsigned short modulate=0xffff, unsigned char alpha=255) const
void Blit (int x1, int y1, int x2, int y2, Bitmap *target, int x, int y, unsigned short modulate=0xffff, unsigned char alpha=255) const
void Blit (AlphaBitmap *target, int x, int y) const
void Blit (int x1, int y1, int x2, int y2, AlphaBitmap *target, int x, int y) const
int GetWidth () const
int GetHeight () const
unsigned char GetPixelAlpha (int x, int y) const
unsigned short GetPixelColor (int x, int y) const
int GetX1 () const
int GetY1 () const
int GetX2 () const
int GetY2 () const
void Save (Asset &asset)
void Load (const Asset &asset)
void WriteToAsset (Asset *asset)
void ReadFromAsset (const Asset *asset)

Constructor & Destructor Documentation

RLEBitmap::RLEBitmap (  ) 

Definition at line 14 of file RLEBitmap.cpp.

RLEBitmap::RLEBitmap ( const Asset asset  ) 

Definition at line 59 of file RLEBitmap.cpp.

RLEBitmap::RLEBitmap ( const Image image  ) 

Definition at line 36 of file RLEBitmap.cpp.

RLEBitmap::~RLEBitmap (  ) 

Definition at line 82 of file RLEBitmap.cpp.


Member Function Documentation

void RLEBitmap::Blit ( Bitmap target,
int  x,
int  y,
unsigned short  modulate = 0xffff,
unsigned char  alpha = 255 
) const

Definition at line 743 of file RLEBitmap.cpp.

void RLEBitmap::Blit ( int  x1,
int  y1,
int  x2,
int  y2,
Bitmap target,
int  x,
int  y,
unsigned short  modulate = 0xffff,
unsigned char  alpha = 255 
) const

Definition at line 751 of file RLEBitmap.cpp.

void RLEBitmap::Blit ( AlphaBitmap target,
int  x,
int  y 
) const

Definition at line 926 of file RLEBitmap.cpp.

void RLEBitmap::Blit ( int  x1,
int  y1,
int  x2,
int  y2,
AlphaBitmap target,
int  x,
int  y 
) const

Definition at line 934 of file RLEBitmap.cpp.

int RLEBitmap::GetWidth (  )  const

Definition at line 2192 of file RLEBitmap.cpp.

int RLEBitmap::GetHeight (  )  const

Definition at line 2200 of file RLEBitmap.cpp.

unsigned char RLEBitmap::GetPixelAlpha ( int  x,
int  y 
) const

Definition at line 2059 of file RLEBitmap.cpp.

unsigned short RLEBitmap::GetPixelColor ( int  x,
int  y 
) const

Definition at line 2184 of file RLEBitmap.cpp.

int RLEBitmap::GetX1 (  )  const

Definition at line 2784 of file RLEBitmap.cpp.

int RLEBitmap::GetY1 (  )  const

Definition at line 2792 of file RLEBitmap.cpp.

int RLEBitmap::GetX2 (  )  const

Definition at line 2800 of file RLEBitmap.cpp.

int RLEBitmap::GetY2 (  )  const

Definition at line 2808 of file RLEBitmap.cpp.

void RLEBitmap::Save ( Asset asset  ) 

Definition at line 2208 of file RLEBitmap.cpp.

void RLEBitmap::Load ( const Asset asset  ) 

Definition at line 2225 of file RLEBitmap.cpp.

void RLEBitmap::WriteToAsset ( Asset asset  ) 

Definition at line 137 of file RLEBitmap.cpp.

void RLEBitmap::ReadFromAsset ( const Asset asset  ) 

Definition at line 108 of file RLEBitmap.cpp.