vdef_rect_is_aligned

Function vdef_rect_is_aligned 

Source
pub unsafe extern "C" fn vdef_rect_is_aligned(
    rect: *const vdef_rect,
    align: *const vdef_rect,
) -> bool
Expand description

Check if rectangle components are aligned. This function checks if all values of a rectangle are aligned. It is very useful to check hardware limitations. @param rect: the rectangle to check @param align: the rectangle with alignment restriction @return true if the rectangle is aligned, false otherwise