pub unsafe extern "C" fn fz_rect_from_irect(bbox: fz_irect) -> fz_rect
Expand description

Convert a bbox into a rect.

For our purposes, a rect can represent all the values we meet in a bbox, so nothing can go wrong.

rect: A place to store the generated rectangle.

bbox: The bbox to convert.

Returns rect (updated).