Type Alias webrender_api::units::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