Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

NewRectRegion

Get a new region with given rect defined.

Declaration

Source position: agraphics.pas line 2237

function NewRectRegion(

  MinX: SmallInt;

  MinY: SmallInt;

  MaxX: SmallInt;

  MaxY: SmallInt

):PRegion;

Function result

A pointer to a newly created Region structure that should be freed by a call to DisposeRegion() or nil if not enough memory.

Description

Create a Region structure, initialize it to the given rect, and return a pointer it.


Documentation generated on: 2021-07-30