#include <MImage.h>
Public Member Functions | |
virtual unsigned int | GetWidth ()=0 |
Returns the width of this image in pixels. | |
virtual unsigned int | GetHeight ()=0 |
Returns the height of this image in pixels. | |
virtual unsigned int | GetBitsPerPixel ()=0 |
Returns the number of bits used by each pixel of this image. | |
virtual bool | Render (MFrameBuffer &aFrameBuffer, unsigned int aX, unsigned int aY)=0 |
Renders this image on given MFrameBuffer. | |
virtual bool | RenderPartial (MFrameBuffer &aFrameBuffer, unsigned int aX, unsigned int aY, unsigned int aVisibleX, unsigned int aVisibleY, unsigned int aVisibleSizeX, unsigned int aVisibleSizeY)=0 |
Renders this image on given MFrameBuffer with clipping. | |
Static Public Member Functions | |
MImage * | CreateBMPImage (int aFile, int aTransparentRed=-1, int aTransparentGreen=-1, int aTransparentBlue=-1) |
Constructs the BMP image from a given file. |
This interface stores the image data and provides the possibility to draw itself on MFrameBuffer
|
Constructs the BMP image from a given file. The image supports color transparency. If a color is defined as a transparent, all image pixels that have the transparent color are not rendered. The input aFile is closed automatically if returned value is not NULL The returned pointer should be explicitly deleted by the application when it is not needed any more.
|
|
Renders this image on given MFrameBuffer with clipping.
|