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

fzrt_sect_rect

Description

Intersects two rectangles. This will assign the intersection of two rectangles to the destination rectangle. If the two source rectangles do not intersect, the functions returns FALSE and the destination rectangle is empty

Plugin Prototype

fzrt_boolean fzrt_sect_rect(

fzrt_rect *

src1,

fzrt_rect *

src2,

fzrt_rect *

dstRect )

Parameters

src1 [Input]

pointer to first source rectangle

src2 [Input]

pointer to first source rectangle

dstRect [Result]

pointer to rectangle that receives the result of the intersection

Returns

TRUE if rectangles intersect, FALSE if they do not intersect

Availability

5.0.0.0

Function Set

fz_fzrt_graf_fset


Defined in

fzrt_api.h