#include <gfx_image_pixelformat.h>
Several functions use this helper structure to pass the image data to functions.
Public Types |
|
| using | PIXELTYPE = Pix |
公共成员函数 |
|
| PixelMutableBuffer ()=default | |
| PixelMutableBuffer (const PixelMutableBuffer & src ) | |
| PixelMutableBuffer (const PixelMutableBuffer & src , Int offset) | |
| PixelMutableBuffer ( Pix *buffer, BITS inc) | |
| PixelMutableBuffer & | operator= (const PixelMutableBuffer & src ) |
| operator const PixelConstBuffer & () const | |
Public Attributes |
|
| Pix * | _buffer |
| BITS | _inc |
| using PIXELTYPE = Pix |
|
default |
| PixelMutableBuffer | ( | const PixelMutableBuffer & | src | ) |
Copy constructor.
| PixelMutableBuffer | ( | const PixelMutableBuffer & | src , |
| Int | offset | ||
| ) |
Copy constructor with alignment.
| PixelMutableBuffer | ( | Pix * | buffer , |
| BITS | inc | ||
| ) |
Constructs the helper object.
| [in] | buffer | Pointer to the memory block of the pixel data. |
| [in] | inc | Distance in number of bytes from one pixel to the next. For packed pixels this value is equal to BytesPerPixel(). |
| PixelMutableBuffer & operator= | ( | const PixelMutableBuffer & | src | ) |
| operator const PixelConstBuffer & | ( | ) | const |
| Pix * _buffer |
| BITS _inc |