[][src]Function librgbmatrix_sys::led_matrix_get_canvas

pub unsafe extern "C" fn led_matrix_get_canvas(
    matrix: *mut RGBLedMatrix
) -> *mut LedCanvas

Get active canvas from LED matrix for you to draw on. Ownership of returned pointer stays with the matrix, don't free().