#include <Pt/Gfx/Argb32Image.h>
ARGB-32 image.
Inherits BasicImage< ModelT, ViewT >.
Public Member Functions | |
Argb32Image (const Size &size, size_t padding=0) | |
Constructor. | |
Argb32Image (Pt::uint8_t *data, const Size &size, size_t padding=0) | |
Construct from external buffer. | |
PixelIterator | begin () |
Returns an iterator to the first pixel. | |
ConstPixelIterator | begin () const |
Returns a const iterator to the first pixel. | |
PixelIterator | end () |
Returns an iterator to the end of the pixels. | |
ConstPixelIterator | end () const |
Returns a const iterator to the end of the pixels. | |
PixelIterator | pixel (Pt::ssize_t x, Pt::ssize_t y) |
Returns an iterator to the pixel at the given position. | |
ConstPixelIterator | pixel (Pt::ssize_t x, Pt::ssize_t y) const |
Returns a const iterator to the pixel at the given position. | |
const Size & | size () const |
Returns the size of the image. | |