#include <bitmap.h>
Inheritance diagram for RGBA:
Public Member Functions | |
RGBA (int width=0, int height=0) | |
virtual enum ColorSpace | get_color_space () const |
Used for identifying the type of a Bitmap at runtime. | |
virtual Bitmap * | create () const |
"Virtual constructor". | |
virtual void | blend (const Bitmap &source, int xoff=0, int yoff=0, int alpha=0) |
Alpha blends source onto this . | |
virtual void | put (const Bitmap &source, int xoff=0, int yoff=0) |
Identical to blend , except that target pixels in this will be overwritten completely. | |
Protected Member Functions | |
virtual int | get_pixel_alpha (int pixel) const |
virtual void | set_pixel_alpha (int pixel, int value) |
|
Alpha blends
The
This Reimplemented from Bitmap. |
|
"Virtual constructor".
Returns an empty bitmap of the same derived class as Implements Bitmap. |
|
Identical to
Has better performance than
This Reimplemented from Bitmap. |