formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Graphics

# fzrt_pt_in_rect

Description

Tests if a point in inside a rectangle. This function test whether the specified point is located within the specified rectangle. A point that is on the edges of a rectangle is considered to be in the rectangle

Plugin Prototype

fzrt_boolean fzrt_pt_in_rect(

fzrt_point | pt,
fzrt_rect * | r )

Parameters

pt [Input]

pointer to a point structure that contains the specified point

r [Input]

pointer to a rectangle structure that contains the specified rectangle

Returns

TRUE if point is inside the rectangle, FALSE if it is not

Availability

5.0.0.0

Function Set

fz_fzrt_graf_fset

Defined in

fzrt_api.h