Appearance
Thumbnail
cpp
#include <Media/Snapshot.h>cpp
struct ThumbnailDefined in Media/Snapshot.h:20
A screenshot that is stored inside a snapshot.
Public Attributes
| Return | Name | Description |
|---|---|---|
i32 | width | Image width. |
i32 | height | Image height. |
u32 | screen | Raw texture data. |
time_t | timestamp | Creation date and time. |
width
cpp
i32 widthDefined in Media/Snapshot.h:23
Image width.
height
cpp
i32 heightDefined in Media/Snapshot.h:24
Image height.
screen
cpp
u32 screen[(HPIXELS/2) *(VPIXELS/1)]Defined in Media/Snapshot.h:27
Raw texture data.
timestamp
cpp
time_t timestampDefined in Media/Snapshot.h:30
Creation date and time.
Public Methods
| Return | Name | Description |
|---|---|---|
void | take | Takes a screenshot from the current texture. |
take
cpp
void take(class Amiga & amiga, isize dx = 2, isize dy = 1)Defined in Media/Snapshot.h:33
Takes a screenshot from the current texture.