Function wlc_sys_with_elogind::wlc_pixels_read [] [src]

pub unsafe extern "C" fn wlc_pixels_read(
    format: wlc_pixel_format,
    geometry: *const wlc_geometry,
    out_geometry: *mut wlc_geometry,
    out_data: *mut c_void
)

Read pixel data from output's framebuffer. If the geometry is out of bounds, it will be automatically clamped. Potentially clamped geometry will be stored in out_geometry, to indicate width / height of the returned data.