#include <CBitmap.h>

Public Member Functions | |
| cBitmap () | |
| Constructor of cBitmap. | |
| virtual | ~cBitmap () |
| Destructor of cBitmap. | |
| unsigned char * | getData () |
| Get a pointer to the actual image data... use with care... | |
| unsigned int | getBitmapWidth () |
| Get width of image. | |
| unsigned int | getBitmapHeight () |
| Get height of image. | |
| unsigned int | getBitmapFormat () |
| Get the format (GL_RGB or GL_RGBA) of the image. | |
| void | setZoomHV (float a_zoomHorizontal, float a_zoomVertical) |
| Set zoom factors. | |
| float | getZoomH () |
| Get zoom factor along horizontal axis. | |
| float | getZoomV () |
| Get zoom factor along vertical axis. | |
| void | enableTransparency (bool a_enableTransparency) |
| enable or disable the use of transparency. | |
Public Attributes | |
| cImageLoader | m_image |
| Image loader. | |
| void cBitmap::setZoomHV | ( | float | a_zoomHorizontal, | |
| float | a_zoomVertical | |||
| ) |
Set zoom factors.
Set zoom factors for the horizontal and vertical directions
| a_zoomHorizontal | Zoom factor along the horizontal direction | |
| a_zoomVertical | Zoom factor along the vertical direction |