|
TachyonUI 1.1.0
High-performance UI for building tools.
|
An image on the clipboard: RGBA, 8 bits a channel, alpha not premultiplied, rows from the top. More...
#include <gui_core/text/gui_clipboard.h>
Public Member Functions | |
| bool | Empty () const |
| No image: no size, or not as many bytes as the size needs. | |
Public Attributes | |
| uint32_t | width = 0 |
| uint32_t | height = 0 |
| std::vector< uint8_t > | rgba |
| width * height * 4 bytes | |
An image on the clipboard: RGBA, 8 bits a channel, alpha not premultiplied, rows from the top.
Its pixels go to GraphicsContext::CreateImage as ImageFormat::R8G8B8A8.
|
inline |
No image: no size, or not as many bytes as the size needs.
| uint32_t tachyon::ClipboardImage::width = 0 |
| uint32_t tachyon::ClipboardImage::height = 0 |
| std::vector<uint8_t> tachyon::ClipboardImage::rgba |
width * height * 4 bytes