Skip to content
- [Main Page](index.md) - [Classes](annotated.md) - [Files](files.md) - [Directories](dirs.md) - [Related Pages](pages.md)
- [Class List](annotated.md) - [Alphabetical List](classes.md) - [Class Hierarchy](hierarchy.md) - [Class Members](functions.md)

HBitmapBuffer Class Reference

#include <HBitmap.h>

Inheritance diagram for HBitmapBuffer:

Inheritance graph

[legend]

Collaboration diagram for HBitmapBuffer:

Collaboration graph

[legend]

List of all members.


Public Types

enum   ChannelType {
  CT_UBYTE = 0, CT_UINT = 1, CT_HALF = 2, CT_FLOAT = 3,
  CT_NUM_CHANNELTYPE
}
enum   BufferType {
  BT_SCALAR = 0, BT_RGB = 1, BT_RGBA = 2, BT_YA = 3,
  BT_NUM_BUFFERTYPE
}

Public Member Functions

void *  GetChannelAt (int channum)
void  AllocateData (int mipmaplevel=0)
const int  GetWidth ()
const int  GetHeight ()
BITMAPINFO *  CreateBITMAPINFO (BOOL replacealpha0withbk=FALSE, BOOL maketransparent=FALSE, RGBFloat *background=FALSE)
HBitmapBuffer GetNext ()
const int  GetNbrChannels ()
const ChannelType  GetChannelsType ()
const BufferType  GetBufferType ()
const char *  GetChannelNameAt (int channum)
void  SetBackground (const RGBFloat &color)
const RGBFloat  GetBackground ()
void  SetIsKeyBackground (BOOL iskeybackground)
const BOOL  GetIsKeyBackground ()
void  SetGamma (float gamma)
const float  GetGamma ()
void  SetIsPremultipliedAlpha (BOOL ispremultiplied)
const BOOL  GetIsPremultipliedAlpha ()
HBitmapBuffer MakeCopy ()
HBitmapBuffer MakeBlankCopy ()