ScummVM API documentation
NGI::Picture Class Reference
Inheritance diagram for NGI::Picture:
NGI::MemoryObject NGI::CObject NGI::BigPicture NGI::StaticPhase NGI::DynamicPhase NGI::Statics

Public Member Functions

void freePicture ()
 
void freePixelData ()
 
bool load (MfcArchive &file) override
 
void setAOIDs ()
 
virtual void init ()
 
void getDibInfo ()
 
const BitmapgetPixelData ()
 
virtual void draw (int x, int y, int style, int angle)
 
void drawRotated (int x, int y, int angle)
 
byte getAlpha ()
 
void setAlpha (byte alpha)
 
Dims getDimensions () const
 
bool isPointInside (int x, int y)
 
bool isPixelHitAtPos (int x, int y)
 
int getPixelAtPos (int x, int y)
 
int getPixelAtPosEx (int x, int y)
 
const BitmapgetConvertedBitmap () const
 
const PalettegetPaletteData () const
 
void setPaletteData (const Palette &pal)
 
void copyMemoryObject2 (Picture &src)
 
- Public Member Functions inherited from NGI::MemoryObject
bool load (MfcArchive &file) override
 
void loadFile (const Common::Path &filename)
 
void load ()
 
byte * getData ()
 
byte * loadData ()
 
int getDataSize () const
 
bool testFlags ()
 
void freeData ()
 

Public Attributes

int _x
 
int _y
 

Protected Member Functions

void displayPicture ()
 

Protected Attributes

Common::Rect _rect
 
Common::ScopedPtr< Bitmap_convertedBitmap
 
int _field_44
 
int _width
 
int _height
 
Common::ScopedPtr< Bitmap_bitmap
 
int _field_54
 
Common::ScopedPtr< MemoryObject2_memoryObject2
 
int _alpha
 
Palette _paletteData
 
- Protected Attributes inherited from NGI::MemoryObject
Common::Path _memfilename
 
int _mfield_8
 
int _mfield_C
 
int _mfield_10
 
char _mfield_14
 
byte * _data
 
int _dataSize
 
int _mflags
 
NGIArchive_libHandle
 

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