#include <cwindowsbitmap.h>

Public Member Functions | |
| CWindowsBitmap () | |
| Default ctor. | |
| ~CWindowsBitmap () | |
| Default dtor. | |
| void | read (std::ifstream &in) |
| Reads Windows Bitmap from filestream. On error an exception is thrown. | |
| void | write (std::ofstream &out) |
| Writes Windows Bitmap to filestream. | |
| const uint32_t | getPixelDataSize () |
| Return size of pixelbuffer. | |
| const uint32_t | getHeight () |
| Return height of bitmap in pixel. | |
| const uint32_t | getWidth () |
| Return width of bitmap in pixel. | |
| const bool | isMirrored () |
| Windows Bitmaps can be stored upside down. | |
| const bool | hasColorTable () |
| Check if bitmap has a colortable (we don't support this yet for windows bitmaps). | |
Protected Attributes | |
| BITMAP_FILEHEADER | m_fileheader |
| BITMAP_INFOHEADER | m_infoheader |
Classes | |
| struct | BITMAP_FILEHEADER |
| Windows Bitmap File Header structure. More... | |
| struct | BITMAP_INFOHEADER |
| Windows Bitmap Info Header structure. More... | |
On error CFile::FileError is thrown.
| CWindowsBitmap::CWindowsBitmap | ( | ) |
Default ctor.
| - |
| none |
| CWindowsBitmap::~CWindowsBitmap | ( | ) | [inline] |
Default dtor.
| - |
| none |
| void CWindowsBitmap::read | ( | std::ifstream & | in | ) | [virtual] |
Reads Windows Bitmap from filestream. On error an exception is thrown.
| in | filestream to read data from |
| CFile::FileError | ||
| bad_alloc |
Implements CBitmap.
| void CWindowsBitmap::write | ( | std::ofstream & | out | ) | [virtual] |
Writes Windows Bitmap to filestream.
| out | filestream to read data from |
| FileError | ||
| bad_alloc |
Implements CBitmap.
| const uint32_t CWindowsBitmap::getPixelDataSize | ( | ) | [inline, virtual] |
Return size of pixelbuffer.
| - |
| none |
Implements CBitmap.
| const uint32_t CWindowsBitmap::getHeight | ( | ) | [inline, virtual] |
Return height of bitmap in pixel.
| - |
| none |
Implements CBitmap.
| const uint32_t CWindowsBitmap::getWidth | ( | ) | [inline, virtual] |
Return width of bitmap in pixel.
| - |
| none |
Implements CBitmap.
| const bool CWindowsBitmap::isMirrored | ( | ) | [inline, virtual] |
Windows Bitmaps can be stored upside down.
| - |
| none |
Implements CBitmap.
| const bool CWindowsBitmap::hasColorTable | ( | ) | [inline, virtual] |
Check if bitmap has a colortable (we don't support this yet for windows bitmaps).
| - |
| none |
Implements CBitmap.
BITMAP_FILEHEADER CWindowsBitmap::m_fileheader [protected] |
fileheader
BITMAP_INFOHEADER CWindowsBitmap::m_infoheader [protected] |
infoheader
1.5.3