ScummVM API documentation
Titanic::CTransparencySurface Class Reference

Public Member Functions

 CTransparencySurface (const Graphics::Surface *surface, TransparencyMode transMode)
 
void setRow (int yp)
 
void setCol (int xp)
 
int moveX ()
 
uint getAlpha () const
 
bool isPixelOpaque () const
 
bool isPixelTransparent () const
 

Constructor & Destructor Documentation

◆ CTransparencySurface()

Titanic::CTransparencySurface::CTransparencySurface ( const Graphics::Surface surface,
TransparencyMode  transMode 
)

Constructor

Member Function Documentation

◆ 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: