Trait tiny_skia::geom::IntSizeExt

source ·
pub trait IntSizeExt {
    // Required method
    fn to_screen_int_rect(&self, x: u32, y: u32) -> ScreenIntRect;
}

Required Methods§

source

fn to_screen_int_rect(&self, x: u32, y: u32) -> ScreenIntRect

Converts the current size into a IntRect at a provided position.

Implementors§