PieDock
1.6.3
|
#include <ArgbSurface.h>
Public Member Functions | |
ArgbSurface (int, int) | |
Public Member Functions inherited from PieDock::Surface | |
Surface (const Surface &) | |
virtual | ~Surface () |
unsigned char * | getData () const |
const int & | getWidth () const |
const int & | getHeight () const |
const int & | getDepth () const |
const int & | getBytesPerPixel () const |
const int & | getBytesPerLine () const |
const int & | getPadding () const |
const int & | getSize () const |
Surface & | operator= (const Surface &) |
Additional Inherited Members | |
Public Types inherited from PieDock::Surface | |
enum | ColorDepth { Indexed = 8, HighColor = 16, RGB = 24, ARGB = 32 } |
Protected Member Functions inherited from PieDock::Surface | |
Surface () | |
void | setData (unsigned char *d) |
virtual void | calculateSize (int, int, int=ARGB) |
virtual void | allocateData () |
virtual void | freeData () |
ARGB surface
ArgbSurface::ArgbSurface | ( | int | w, |
int | h | ||
) |
Create a ARGB surface
w | - width of surface in pixels |
h | - height of surface in pixels |
References PieDock::Surface::allocateData(), and PieDock::Surface::calculateSize().