Introduction
Downloads
Documentation
Tutorials
Pixie Lite
Forum

Home

Bitmap_16bitAlphaCrop Class Reference
[Graphics]

Uncompressed 16-bit color buffer with alpha channel. More...

Inheritance diagram for Bitmap_16bitAlphaCrop:

Bitmap

List of all members.


Public Member Functions

 Bitmap_16bitAlphaCrop ()
 Bitmap_16bitAlphaCrop (const Asset &asset)
 Bitmap_16bitAlphaCrop (const Image &image, bool dither=false)
 Bitmap_16bitAlphaCrop (const Image &color, const Image &alpha, bool dither=false)
 ~Bitmap_16bitAlphaCrop ()
virtual StringId GetType ()
virtual void Save (Asset &asset) const
virtual void Load (const Asset &asset)
virtual void WriteToAsset (Asset *asset) const
virtual void ReadFromAsset (const Asset *asset)
void ReadFromAsset_Old (const Asset *asset)

Detailed Description

Uncompressed 16-bit color buffer with alpha channel.

Author:
Mattias Gustavsson

Definition at line 21 of file Bitmap_16bitAlphaCrop.h.


Constructor & Destructor Documentation

Bitmap_16bitAlphaCrop::Bitmap_16bitAlphaCrop (  ) 

Definition at line 21 of file Bitmap_16bitAlphaCrop.cpp.

Bitmap_16bitAlphaCrop::Bitmap_16bitAlphaCrop ( const Asset asset  ) 

Definition at line 28 of file Bitmap_16bitAlphaCrop.cpp.

Bitmap_16bitAlphaCrop::Bitmap_16bitAlphaCrop ( const Image image,
bool  dither = false 
)

Todo:
**** FIX THIS SECTION - NO NEED TO DITHER ENTIRE IMAGE ***

Definition at line 36 of file Bitmap_16bitAlphaCrop.cpp.

Bitmap_16bitAlphaCrop::Bitmap_16bitAlphaCrop ( const Image color,
const Image alpha,
bool  dither = false 
)

Definition at line 109 of file Bitmap_16bitAlphaCrop.cpp.

Bitmap_16bitAlphaCrop::~Bitmap_16bitAlphaCrop (  ) 

Definition at line 187 of file Bitmap_16bitAlphaCrop.cpp.


Member Function Documentation

StringId Bitmap_16bitAlphaCrop::GetType (  )  [virtual]

The Bitmap class is an abstract interface, and is implemented by a number of different bitmap classes. The GetType method retrieves the name of the actual implementation for the Bitmap instance.

Returns:
A StringId containing the class name of this bitmaps implementation

Implements Bitmap.

Definition at line 12 of file Bitmap_16bitAlphaCrop.cpp.

void Bitmap_16bitAlphaCrop::Save ( Asset asset  )  const [virtual]

Implements Bitmap.

Definition at line 202 of file Bitmap_16bitAlphaCrop.cpp.

void Bitmap_16bitAlphaCrop::Load ( const Asset asset  )  [virtual]

Implements Bitmap.

Definition at line 219 of file Bitmap_16bitAlphaCrop.cpp.

void Bitmap_16bitAlphaCrop::WriteToAsset ( Asset asset  )  const [virtual]

Implements Bitmap.

Definition at line 361 of file Bitmap_16bitAlphaCrop.cpp.

void Bitmap_16bitAlphaCrop::ReadFromAsset ( const Asset asset  )  [virtual]

Implements Bitmap.

Definition at line 288 of file Bitmap_16bitAlphaCrop.cpp.

void Bitmap_16bitAlphaCrop::ReadFromAsset_Old ( const Asset asset  ) 

Definition at line 320 of file Bitmap_16bitAlphaCrop.cpp.



Pixie University and the Pixie Game Engine is created and managed by Mattias Gustavsson.
Reproduction/republishing of any material on this site without permission is strictly prohibited.