- [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)
HBitmapNode Class Reference¶
#include <HBitmap.h>
Inheritance diagram for HBitmapNode:
Inheritance graph
[legend]
Collaboration diagram for HBitmapNode:
Collaboration graph
[legend]
Public Types |
|
| enum | LoadFlags { LOADDEFAULT = 0x0, LOADBKCOLOR = 0x01, LOADINFOONLY = 0x02, INITIALIZE = 0x04, NOMODIFIEDCHECK = 0x08 } |
| enum | { LOAD_FAILED, LOAD_OK, ALREADY_LOADED } |
| enum | { WRITE_NORESULT = 0, WRITE_ERROR = 0x01, WRITE_OK = 0x02, WRITE_NEEDCLOSE = 0x04 } |
Public Member Functions |
|
| const int | GetWidth () |
| const int | GetHeight () |
| void | SetWidth (int width) |
| void | SetHeight (int height) |
| HBitmapNode * | ScaleBitmap (int width, int height) |
| UBYTE * | CreateByteBlock (int *rbytesperpixel, BOOL withborder=FALSE, BOOL *bHasTransparency=NULL) |
| const LONG | GetFps () |
| void | SetFps (LONG fps) |
| const int | GetLength () |
| void | SetLength (int length) |
| void | AddBuffer (HBitmapBuffer *) |
| void | DeleteAllBuffers () |
| HBitmapBuffer * | GetBufferHead () |
| void | ReadPixel (int x, int y, RGBFloat &color) |
| void | ReadPixel (int x, int y, RGBAFloat &color) |
| void | ReadPixel (int x, int y, YAFloat &color) |
| int | LoadFrame (const String &filename, int frame=-1, LoadFlags flags=LOADDEFAULT) |
Static Public Member Functions |
|
| static HYABuffer * | CreateYABuffer (const String &name, HBitmapBuffer::ChannelType chantype, int width, int height) |
| static HRGBABuffer * | CreateRGBABuffer (const String &name, HBitmapBuffer::ChannelType chantype, int width, int height) |
| static HRGBBuffer * | CreateRGBBuffer (const String &name, HBitmapBuffer::ChannelType chantype, int width, int height) |
| static HScalarBuffer * | CreateScalarBuffer (const String &name, HBitmapBuffer::ChannelType chantype, int width, int height) |
| static HRGBAFloatBuffer * | CreateRGBAFloatBuffer (const String &name, int width, int height) |