Get a new region with given rect defined.
Source position: agraphics.pas line 2237
function NewRectRegion( |
MinX: SmallInt; |
MinY: SmallInt; |
MaxX: SmallInt; |
MaxY: SmallInt |
):PRegion; |
A pointer to a newly created Region structure that should be freed by a call to DisposeRegion() or nil if not enough memory.
Create a Region structure, initialize it to the given rect, and return a pointer it.