re_subimage()

extern ReImageHandle XXX_API re_subimage
  (const ReImage *image, const ReRect *rect, ReImage *subimage);
      

Parameter:

image
Pointer to an image.
rect
Pointer on a structure ReRect.
subimage
Pointer to the subimage.

Return value:

RE_SUCCESS or XXX error type.

Comment:

This function ReImage creates a subimage limited by reRect. The allocated memory can be freed by re_freeimage() with the return value ReImageHandle.

Reference: