/// The way the images should change when drawn at a scale
#[repr(u32)]#[derive(Copy, Clone, Debug)]pubenumImageScaleStrategy{/// The image should attempt to preserve each pixel as accurately as possible
Pixelate,/// The image should attempt to preserve the overall picture by blurring
Blur
}implDefault forImageScaleStrategy{fndefault()-> ImageScaleStrategy{ImageScaleStrategy::Pixelate
}}