ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::BaseImage Class Reference

#include <base_image.h>

Collaboration diagram for Wintermute::BaseImage:

List of all members.

Public Member Functions

 BaseImage ()
 ~BaseImage ()
bool loadFile (const Common::String &filename)
const Graphics::SurfacegetSurface () const
const bytegetPalette () const
byte getAlphaAt (int x, int y) const
bool writeBMPToStream (Common::WriteStream *stream) const
bool resize (int newWidth, int newHeight)
bool saveBMPFile (const Common::String &filename) const
bool copyFrom (BaseImage *origImage, int newWidth=0, int newHeight=0)
void copyFrom (const Graphics::Surface *surface)

Private Attributes

Common::String _filename
const Graphics::Surface_surface
const byte_palette

Detailed Description

Definition at line 45 of file base_image.h.

Constructor & Destructor Documentation

Wintermute::BaseImage::BaseImage (  ) 

Definition at line 43 of file base_image.cpp.

Wintermute::BaseImage::~BaseImage (  ) 

Definition at line 53 of file base_image.cpp.

Member Function Documentation

bool Wintermute::BaseImage::copyFrom ( BaseImage origImage,
int  newWidth = 0,
int  newHeight = 0 

Definition at line 214 of file base_image.cpp.

void Wintermute::BaseImage::copyFrom ( const Graphics::Surface surface  ) 

Definition at line 99 of file base_image.cpp.

byte Wintermute::BaseImage::getAlphaAt ( int  x,
int  y 
) const

Definition at line 89 of file base_image.cpp.

const byte* Wintermute::BaseImage::getPalette (  )  const [inline]

Definition at line 55 of file base_image.h.

const Graphics::Surface* Wintermute::BaseImage::getSurface (  )  const [inline]

Definition at line 52 of file base_image.h.

bool Wintermute::BaseImage::loadFile ( const Common::String filename  ) 

Definition at line 61 of file base_image.cpp.

bool Wintermute::BaseImage::resize ( int  newWidth,
int  newHeight 

Definition at line 112 of file base_image.cpp.

bool Wintermute::BaseImage::saveBMPFile ( const Common::String filename  )  const

Definition at line 105 of file base_image.cpp.

bool Wintermute::BaseImage::writeBMPToStream ( Common::WriteStream stream  )  const

Definition at line 126 of file base_image.cpp.

Member Data Documentation

Definition at line 66 of file base_image.h.

Definition at line 70 of file base_image.h.

Definition at line 65 of file base_image.h.

Definition at line 69 of file base_image.h.

Definition at line 67 of file base_image.h.

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

Generated on Sat Sep 19 2020 05:06:28 for ResidualVM by doxygen 1.7.1
curved edge   curved edge