#include <c4d_basebitmap.h>
A simple BaseBitmap wrapper created from a filename or resource ID.
Private Attributes | |
BaseBitmap * | bmp |
Allocations | |
AutoBitmap (const maxon::String &str, Float pixelRatio=1.0) | |
AutoBitmap (Int32 id) | |
~AutoBitmap () | |
Operators | |
operator BaseBitmap * () const | |
|
explicit |
Allocates a bitmap by filename string and optional pixel ratio.
[in] | str | The bitmap filename string. Must be inside the res folder of a plugin data. |
[in] | pixelRatio | An optional pixel ratio. |
|
explicit |
Allocates a bitmap by icon ID registered with RegisterIcon().
[in] | id | A registered icon ID. |
~AutoBitmap | ( | ) |
Destructs the allocated AutoBitmap.
operator BaseBitmap * | ( | ) | const |
Gets the internal BaseBitmap pointer.
|
private |