|
PieDock 1.4.3
|
#include <Blender.h>

Classes | |
| struct | Details |
Public Types | |
| enum | Opacity { Transparent = 0, Translucent = 128, Opaque = 0xff } |
Public Member Functions | |
| Blender (Surface &) | |
| virtual void | blend (const ArgbSurface &, int, int, int=Opaque) |
Protected Member Functions | |
| virtual void | blendInto32Bit (Details &) |
| virtual void | blendInto24Bit (Details &) |
| virtual void | blendInto16Bit (Details &) |
Protected Attributes | |
| Surface * | canvas |
Blend ARGB surfaces into some other surface of arbitrary color depth
| Blender::Blender | ( | Surface & | c | ) |
Initialize blender
| c | - canvas image of arbitrary color-depth |
| void Blender::blend | ( | const ArgbSurface & | src, |
| int | x, | ||
| int | y, | ||
| int | a = Opaque |
||
| ) | [virtual] |
Blend ARGB surface into canvas
| src | - ARGB surface to blend into canvas |
| x | - left position in canvas (optional) |
| y | - upper position in canvas (optional) |
| a | - alpha value (optional) |
References blendInto16Bit(), blendInto24Bit(), and blendInto32Bit().
Referenced by PieDock::PieMenu::draw(), and PieDock::PieMenuWindow::updateWithText().
| void Blender::blendInto16Bit | ( | Details & | details | ) | [protected, virtual] |
| void Blender::blendInto24Bit | ( | Details & | details | ) | [protected, virtual] |
| void Blender::blendInto32Bit | ( | Details & | details | ) | [protected, virtual] |
1.7.3