You are here: Symbol Reference > _AbProc Namespace > Functions > AbInRect Function
ContentsIndexHome
PreviousUpNext
_AbProc.AbInRect Function
Send Feedback

Checks is a point is within a rectangle

File
Pascal
function AbInRect(x: Integer; y: Integer; r: TRect): Boolean;
C++
Boolean AbInRect(int x, int y, TRect r);
Parameters
Parameters 
Description 
y: Integer 
y position 
r: TRect 
rectangle 
Returns

returns true if pos x + y is within the rectangle

Description

Tests weather point x/y is in rectangle R or not.

Hard-& Software A.Baecker
What do you think about this topic? Send feedback!