pub unsafe extern "C" fn heif_region_get_rectangle(
region: *const heif_region,
out_x: *mut i32,
out_y: *mut i32,
out_width: *mut u32,
out_height: *mut u32,
) -> heif_errorExpand description
Get the values for a rectangle region.
This returns the values in the reference coordinate space (from the parent region item). The rectangle is represented by a top left corner position, and a size defined by a width and height. All of the interior points and the edge are part of the region.
@param region the region to query, which must be of type #heif_region_type_rectangle. @param out_x the X coordinate for the top left corner, where 0 is the left-most column. @param out_y the Y coordinate for the top left corner, where 0 is the top-most row. @param out_width the width of the rectangle @param out_height the height of the rectangle @return heif_error_ok on success, or an error value indicating the problem on failure
\sa heif_region_get_rectangle_transformed() for a version in pixels after all transformative properties have been applied.