Rapicorn - Experimental UI Toolkit - Source Code
13.07.0
|
Pixbuf is a simple pixel buffer. More...
#include <interfaces.idl>
Public Member Functions | |
std::string | __aida_type_name__ () const |
Rapicorn::Aida::TypeCode | __aida_type_code__ () const |
bool | operator== (const Pixbuf &other) const |
bool | operator!= (const Pixbuf &other) const |
void | operator<<= (Rapicorn::Aida::Any &any) |
Pixbuf (uint w, uint h) | |
Construct Pixbuf at given width and height. | |
void | resize (uint w, uint h) |
Reset width and height and resize pixel sequence. | |
uint32_t * | row (uint y) |
Access row as endian dependant ARGB integers. | |
const uint32_t * | row (uint y) const |
Access row as endian dependant ARGB integers. | |
int | width () const |
Width of the Pixbuf. | |
int | height () const |
Height of the Pixbuf. | |
Public Attributes | |
int32 | row_length |
Length of a Pixbuf row in pixels. | |
PixelSeq | pixels |
Pixel values in 32Bit ARGB format. | |
StringSeq | variables |
Friends | |
void | operator<<= (Rapicorn::Aida::Any &any, const Pixbuf &rec) |
Pixbuf is a simple pixel buffer.
See Pixmap and PixmapT<> for convenient pixel based image manipulation.