Guiliani  Version 2.5 revision 6773 (build 33)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CGUIBitmapWriter Class Reference

this class will create a bmp-file with the data of a bitmap-plane and save it to disk. More...

#include <GUIBitmapWriter.h>

Classes

struct  BITMAPINFOHEADER
 header of bitmap More...
 
struct  DIB_HEADER
 dib-header of bitmap More...
 

Public Types

typedef struct
CGUIBitmapWriter::BITMAPINFOHEADER 
BMP
 header of bitmap
 
typedef struct
CGUIBitmapWriter::DIB_HEADER 
DIB
 dib-header of bitmap
 

Static Public Member Functions

static void CreateScreenshot (const eC_String &kFilename)
 
static void WriteBitmapPlaneToBMP (const eC_String &kFileNameAndPath, const GUIBitmapPlaneID_t &eBitmapPlaneID)
 
static void WriteBufferToBMP (const eC_String &kFilename, eC_UByte *pubData, const eC_UInt &uiWidth, const eC_UInt &uiHeight, const eC_UInt &uiBytesPerPixel, const CGUICommonEnums::ImageType_t &ePixelFormat)
 

Detailed Description

this class will create a bmp-file with the data of a bitmap-plane and save it to disk.

Member Function Documentation

void CGUIBitmapWriter::CreateScreenshot ( const eC_String &  kFilename)
static

Create a screenshot

Parameters
kFilenamefilename
void CGUIBitmapWriter::WriteBitmapPlaneToBMP ( const eC_String &  kFileNameAndPath,
const GUIBitmapPlaneID_t &  eBitmapPlaneID 
)
static

Write a bitmap-plane to BMP-file

Parameters
kFileNameAndPathfilename
eBitmapPlaneIDid of bitmap-plane
void CGUIBitmapWriter::WriteBufferToBMP ( const eC_String &  kFilename,
eC_UByte *  pubData,
const eC_UInt &  uiWidth,
const eC_UInt &  uiHeight,
const eC_UInt &  uiBytesPerPixel,
const CGUICommonEnums::ImageType_t ePixelFormat 
)
static

Create a screenshot

Parameters
kFilenamefilename
pubDatasource-data
uiWidthwidth of data
uiHeightheight of data
uiBytesPerPixelBPP of data
ePixelFormatpixel-format

The documentation for this class was generated from the following files: