#include <c4d_basebitmap.h>
详细描述
A simple
BaseBitmap
wrapper created from a filename or resource ID.
构造函数 & 析构函数文档编制
◆
AutoBitmap()
[1/2]
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.
|
◆
AutoBitmap()
[2/2]
Allocates a bitmap by icon ID registered with
RegisterIcon()
.
-
参数
-
[in]
|
id
|
A registered icon ID.
|
◆
~AutoBitmap()
Destructs the allocated
AutoBitmap
.
成员函数文档编制
◆
operator BaseBitmap *()
Gets the internal
BaseBitmap
pointer.
-
返回
-
The internal
BaseBitmap
pointer, or
nullptr
if no bitmap has been allocated.
Member Data Documentation
◆
bmp