#include <NanoVG.hpp>
|
| NanoImage (NVGcontext *const context, const int imageId) noexcept |
|
NanoVG Image class.
This implements NanoVG images as a C++ class where deletion is handled automatically. Images need to be created within a NanoVG or NanoWidget class.
NanoImage::~NanoImage |
( |
| ) |
|
NanoImage::NanoImage |
( |
NVGcontext *const |
context, |
|
|
const int |
imageId |
|
) |
| |
|
protectednoexcept |
Constructors are protected. NanoImages must be created within a NanoVG or NanoWidget class.
Size<uint> NanoImage::getSize |
( |
| ) |
const |
|
noexcept |
void NanoImage::updateImage |
( |
const uchar *const |
data | ) |
|
The documentation for this class was generated from the following file: