azul_webrender_api::units

Type Alias LayoutToWorldScale

Source
pub type LayoutToWorldScale = Scale<f32, LayoutPixel, WorldPixel>;
Expand description

Scaling ratio from layout to world. Used for cases where we know the layout is in world space, or specifically want to treat it this way.

Aliased Type§

struct LayoutToWorldScale(pub f32);

Fields§

§0: f32