[][src]Function mupdf_sys::fz_try_invert_matrix

pub unsafe extern "C" fn fz_try_invert_matrix(
    inv: *mut fz_matrix,
    src: fz_matrix
) -> c_int

Attempt to create an inverse matrix.

inverse: Place to store inverse matrix.

matrix: Matrix to invert. A degenerate matrix, where the determinant is equal to zero, can not be inverted.

Returns 1 if matrix is degenerate (singular), or 0 otherwise.