Type Alias webrender_api::units::ImageDirtyRect

source ·
pub type ImageDirtyRect = DirtyRect<i32, DevicePixel>;

Aliased Type§

enum ImageDirtyRect {
    All,
    Partial(Box2D<i32, DevicePixel>),
}

Variants§

§

All

Everything is Dirty, equivalent to Partial(image_bounds)

§

Partial(Box2D<i32, DevicePixel>)

Some specific amount is dirty