#include <bitmap.h>
◆ bitmap() [1/5]
◆ bitmap() [2/5]
| bitmap |
( |
size_t |
width, |
|
|
size_t |
height |
|
) |
| |
|
inline |
Construct an empty/unitialized bitmap of size width x height.
◆ bitmap() [3/5]
| bitmap |
( |
size_t |
width, |
|
|
size_t |
height, |
|
|
const T & |
init |
|
) |
| |
|
inline |
Construct an image of size width x height and set every pixel to 'init'.
◆ bitmap() [4/5]
◆ bitmap() [5/5]
◆ begin() [1/2]
◆ begin() [2/2]
| const T * begin |
( |
void |
| ) |
const |
|
inline |
◆ end() [1/2]
◆ end() [2/2]
| const T * end |
( |
void |
| ) |
const |
|
inline |
◆ height()
◆ operator()() [1/2]
| T & operator() |
( |
size_t |
x, |
|
|
size_t |
y |
|
) |
| |
|
inline |
◆ operator()() [2/2]
| const T & operator() |
( |
size_t |
x, |
|
|
size_t |
y |
|
) |
| const |
|
inline |
◆ operator=() [1/2]
Move assignment operator.
◆ operator=() [2/2]
◆ reshape()
| void reshape |
( |
size_t |
width, |
|
|
size_t |
height |
|
) |
| |
|
inline |
reshape the bitmap (loss of old data)
◆ width()
◆ _data
| std::unique_ptr<T[]> _data |
|
private |
◆ _height
◆ _width
The documentation for this class was generated from the following file: