optris::sdk::view::ScaledExtent
Where a src_w x src_h picture lands inside a dst_w x dst_h target, for a given mode.
Public attributes
x
int x = 0
Offset within the target, in pixels. Non-zero when the mode centres rather than fills.
y
int y = 0
width
uint32_t width = 0
The size the picture is drawn at.
height
uint32_t height = 0