azul_webrender_api::units

Type Alias RasterPixelScale

Source
pub type RasterPixelScale = Scale<f32, PicturePixel, RasterPixel>;
Expand description

Scaling ratio from picture pixels to raster pixels (e.g. if scaling a picture surface up/down).

Aliased Type§

struct RasterPixelScale(pub f32);

Fields§

§0: f32