[][src]Function wlroots_sys::wlr_region_scale

pub unsafe extern "C" fn wlr_region_scale(
    dst: *mut pixman_region32_t,
    src: *mut pixman_region32_t,
    scale: f32
)

Scales a region, ie. multiplies all its coordinates by scale.

The resulting coordinates are rounded up or down so that the new region is at least as big as the original one.