◆ CTransparencySurface()
Titanic::CTransparencySurface::CTransparencySurface |
( |
const Graphics::Surface * |
surface, |
|
|
TransparencyMode |
transMode |
|
) |
| |
◆ setRow()
void Titanic::CTransparencySurface::setRow |
( |
int |
yp | ) |
|
|
inline |
Sets the row to get transparencies from
◆ setCol()
void Titanic::CTransparencySurface::setCol |
( |
int |
xp | ) |
|
|
inline |
Sets the column to get transparencies from
◆ moveX()
int Titanic::CTransparencySurface::moveX |
( |
| ) |
|
|
inline |
Moves reading position horizontally by a single pixel
◆ getAlpha()
uint Titanic::CTransparencySurface::getAlpha |
( |
| ) |
const |
|
inline |
Returns the alpha value for the pixel (0-31)
◆ isPixelOpaque()
bool Titanic::CTransparencySurface::isPixelOpaque |
( |
| ) |
const |
|
inline |
Returns true if the pixel is opaque
◆ isPixelTransparent()
bool Titanic::CTransparencySurface::isPixelTransparent |
( |
| ) |
const |
|
inline |
Returns true if the pixel is completely transparent
The documentation for this class was generated from the following file: