Bitmap_Alpha Class Reference
[Graphics]
Uncompressed 8-bit alpha channel.
More...
Inheritance diagram for Bitmap_Alpha:

Public Member Functions | |
| Bitmap_Alpha () | |
| Bitmap_Alpha (const Asset &asset) | |
| Bitmap_Alpha (int width, int height) | |
| Bitmap_Alpha (const Image &image, bool useGrayscaleInsteadOfAlpha=false) | |
| ~Bitmap_Alpha () | |
| 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) |
Detailed Description
Uncompressed 8-bit alpha channel.A Bitmap_Alpha is simply a collection of 8-bit alpha values with a width and a height.
Definition at line 23 of file Bitmap_Alpha.h.
Constructor & Destructor Documentation
| Bitmap_Alpha::Bitmap_Alpha | ( | ) |
Definition at line 20 of file Bitmap_Alpha.cpp.
| Bitmap_Alpha::Bitmap_Alpha | ( | const Asset & | asset | ) |
Definition at line 27 of file Bitmap_Alpha.cpp.
| Bitmap_Alpha::Bitmap_Alpha | ( | int | width, | |
| int | height | |||
| ) |
Definition at line 35 of file Bitmap_Alpha.cpp.
| Bitmap_Alpha::Bitmap_Alpha | ( | const Image & | image, | |
| bool | useGrayscaleInsteadOfAlpha = false | |||
| ) |
| Bitmap_Alpha::~Bitmap_Alpha | ( | ) |
Definition at line 87 of file Bitmap_Alpha.cpp.
Member Function Documentation
| StringId Bitmap_Alpha::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 11 of file Bitmap_Alpha.cpp.
| void Bitmap_Alpha::Save | ( | Asset & | asset | ) | const [virtual] |
| void Bitmap_Alpha::Load | ( | const Asset & | asset | ) | [virtual] |
| void Bitmap_Alpha::WriteToAsset | ( | Asset * | asset | ) | const [virtual] |
| void Bitmap_Alpha::ReadFromAsset | ( | const Asset * | asset | ) | [virtual] |
Reproduction/republishing of any material on this site without permission is strictly prohibited.
