ResDim

Type Alias ResDim 

Source
pub type ResDim = Size2D<f32, Resolved>;
Expand description

A 2D dimension (or size) in resolved physical pixels that hasn’t yet been combined with it’s paired relative coordinates.

Aliased Type§

#[repr(C)]
pub struct ResDim { pub width: f32, pub height: f32, }

Fields§

§width: f32

The extent of the element in the U units along the x axis (usually horizontal).

§height: f32

The extent of the element in the U units along the y axis (usually vertical).