|
Ream v0.1.0-1
C++ graphics library for Linux
|
Describes a region to be copied from/to a pixel buffer. More...
#include <RImage.h>
Static Public Member Functions | |
| static constexpr UInt8 * | AddressAt (UInt8 *origin, SkIPoint offset, UInt32 bytesPerPixel, UInt32 stride) noexcept |
| Computes the address of a pixel within a buffer. | |
Public Attributes | |
| SkIPoint | offset |
| Offset in pixels applied to each source rect before copying. | |
| UInt32 | stride |
| Stride in bytes of the pixel buffer. | |
| UInt8 * | pixels |
| Pointer to the top-left corner of the pixel buffer. | |
| SkRegion | region |
| Set of rectangles to copy, relative to the top-left corner of the source buffer. | |
| RFormat | format |
| The DRM format of the 'pixels' parameter. | |
Describes a region to be copied from/to a pixel buffer.
|
inlinestaticconstexprnoexcept |
Computes the address of a pixel within a buffer.
| origin | Pointer to the top-left corner of the buffer. |
| offset | Pixel offset from the origin. |
| bytesPerPixel | Number of bytes per pixel. |
| stride | Number of bytes per row. |
offset. | SkIPoint offset |
Offset in pixels applied to each source rect before copying.
For example:
| UInt32 stride |
Stride in bytes of the pixel buffer.
| UInt8* pixels |
Pointer to the top-left corner of the pixel buffer.
| SkRegion region |
Set of rectangles to copy, relative to the top-left corner of the source buffer.
| RFormat format |
The DRM format of the 'pixels' parameter.