WoopsiGfx 1.4
Nintendo DS 2D Graphics Library
|
#include <libwoopsigfx/include/mutablebitmapbase.h>
Public Member Functions | |
virtual | ~MutableBitmapBase () |
virtual void | setPixel (const s16 x, const s16 y, const u16 colour)=0 |
virtual void | blit (const s16 x, const s16 y, const u16 *data, const u32 size)=0 |
virtual void | blitFill (const s16 x, const s16 y, const u16 colour, const u32 size)=0 |
Abstract class defining the basic properties of an editable bitmap.
virtual WoopsiGfx::MutableBitmapBase::~MutableBitmapBase | ( | ) | [inline, virtual] |
Destructor.
virtual void WoopsiGfx::MutableBitmapBase::blit | ( | const s16 | x, |
const s16 | y, | ||
const u16 * | data, | ||
const u32 | size | ||
) | [pure virtual] |
Blit data to the specified co-ordinates using the DMA hardware.
x | The x co-ordinate to blit to. |
y | The y co-ordinate to blit to. |
data | The data to blit. |
size | The number of u16s to blit. |
Implemented in WoopsiGfx::Bitmap, WoopsiGfx::BufferedBitmap, and WoopsiGfx::FrameBuffer.
virtual void WoopsiGfx::MutableBitmapBase::blitFill | ( | const s16 | x, |
const s16 | y, | ||
const u16 | colour, | ||
const u32 | size | ||
) | [pure virtual] |
Fill at the specified co-ordinates using the DMA hardware.
x | The x co-ordinate to blit to. |
y | The y co-ordinate to blit to. |
colour | The colour to fill with. |
size | The number of u16s to blit. |
Implemented in WoopsiGfx::Bitmap, WoopsiGfx::BufferedBitmap, and WoopsiGfx::FrameBuffer.
virtual void WoopsiGfx::MutableBitmapBase::setPixel | ( | const s16 | x, |
const s16 | y, | ||
const u16 | colour | ||
) | [pure virtual] |
Set the colour of the specified pixel.
x | X co-ord of the pixel to set. |
y | Y co-ord of the pixel to set. |
colour | New colour of the pixel. |
Implemented in WoopsiGfx::Bitmap, WoopsiGfx::BufferedBitmap, and WoopsiGfx::FrameBuffer.