|
OMNeT++ Simulation Library
5.4.1
|
#include <ccanvas.h>
A rectangular RGBA pixel array.
Public Member Functions | |
Methods. | |
| Pixmap () | |
| Pixmap (int width, int height) | |
| Pixmap (int width, int height, const RGBA &fill) | |
| Pixmap (int width, int height, const Color &color, double opacity=1) | |
| Pixmap (const Pixmap &other) | |
| ~Pixmap () | |
| Pixmap & | operator= (const Pixmap &other) |
| void | setSize (int width, int height, const RGBA &fill_) |
| void | setSize (int width, int height, const Color &color, double opacity) |
| void | fill (const RGBA &fill_) |
| void | fill (const Color &color, double opacity) |
| int | getWidth () const |
| int | getHeight () const |
| RGBA & | pixel (int x, int y) |
| const RGBA | pixel (int x, int y) const |
| void | setPixel (int x, int y, const Color &color, double opacity=1.0) |
| const Color | getColor (int x, int y) const |
| void | setColor (int x, int y, const Color &color) |
| double | getOpacity (int x, int y) const |
| void | setOpacity (int x, int y, double opacity) |
| const uint8_t * | buffer () const |
| std::string | str () const |