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

# fzrt_equal_rect

Description

Tests if two rectangles are equal. This function will compare two rectangles for equality. Rectangle are equal if their top, left and bottom right corners are the same. Rectangles of the same width and height are not equal if they do not have the same corner points.

Plugin Prototype

fzrt_boolean fzrt_equal_rect(

fzrt_rect * | rect1,
fzrt_rect * | rect2 )

Parameters

rect1 [Input]

pointer to a rectangle structure that contains the first rectangle

rect2 [Input]

pointer to a rectangle structure that contains the second rectangle

Returns

TRUE if rectangles are equal, FALSE otherwise

Availability

5.0.0.0

Function Set

fz_fzrt_graf_fset

Defined in

fzrt_api.h