OMNeT++ API 6.1
Discrete Event Simulation Library
cFigure::Pixmap Class Reference

Description

A rectangular RGBA pixel array.

See also
cPixmapImage

Public Member Functions

Methods.
 Pixmap ()
 
 Pixmap (int width, int height, const RGBA &fill=RGBA(BLACK, 0))
 
 Pixmap (int width, int height, const Color &color, double opacity=1)
 
 Pixmap (const Pixmap &other)
 
 ~Pixmap ()
 
Pixmapoperator= (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
 
RGBApixel (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
 

The documentation for this class was generated from the following file: