Skip to main content

crisp_rect

Function crisp_rect 

Source
pub fn crisp_rect(
    x: f64,
    y: f64,
    w: f64,
    h: f64,
    dpr: f64,
) -> (f64, f64, f64, f64)
Expand description

Make rectangle crisp at device pixel boundaries