ScummVM API documentation
NGI::Bitmap Struct Reference

Public Member Functions

 Bitmap (const Bitmap &src)
 
void load (Common::ReadStream *s)
 
void decode (byte *pixels, const Palette &palette)
 
void putDib (int x, int y, const Palette &palette, byte alpha)
 
bool putDibRB (byte *pixels, const Palette &palette)
 
void putDibCB (byte *pixels, const Palette &palette)
 
void colorFill (uint32 *dest, int len, int32 color)
 
void paletteFill (uint32 *dest, byte *src, int len, const Palette &palette)
 
void copierKeyColor (uint32 *dest, byte *src, int len, int keyColor, const Palette &palette, bool cb05_format)
 
void copier (uint32 *dest, byte *src, int len, const Palette &palette, bool cb05_format)
 
BitmapreverseImage (bool flip=true) const
 
BitmapflipVertical () const
 
void drawShaded (int type, int x, int y, const Palette &palette, int alpha)
 
void drawRotated (int x, int y, int angle, const Palette &palette, int alpha)
 
bool isPixelHitAtPos (int x, int y)
 

Public Attributes

int _x
 
int _y
 
int _width
 
int _height
 
int _type
 
int _dataSize
 
int _flags
 
int _flipping
 
Graphics::ManagedSurface_surface
 

Member Function Documentation

◆ reverseImage()

Bitmap* NGI::Bitmap::reverseImage ( bool  flip = true) const

ownership of returned object is transferred to caller

◆ flipVertical()

Bitmap* NGI::Bitmap::flipVertical ( ) const

ownership of returned object is transferred to caller


The documentation for this struct was generated from the following file: