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

IsPointInRegion

Checks if the point (x, y) is contained in the region Reg

Declaration

Source position: agraphics.pas line 2233

function IsPointInRegion(

  Reg: PRegion;

  x: SmallInt;

  y: SmallInt

):LongBool;

Arguments

Reg

  

A pointer to a region structure

x

  

The point's x coordinate

y

  

The point's y coordinate

Function result

True if the point is contained, False otherwise


Documentation generated on: 2021-07-30