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

# fzrt_union_rect

Description

Calculates the union of two rectangles. This function creates the union of two rectangles. The union is the smallest rectangle that contains both source rectangles.

Plugin Prototype

void fzrt_union_rect(

const fzrt_rect * | src1,
const fzrt_rect * | src2,
fzrt_rect * | dstRect )

Parameters

src1 [Input]

pointer to first source rectangle

src2 [Input]

pointer to second source rectangle

dstRect [Result]

pointer to rectangle that receives the union of the two source rectangles

Availability

5.0.0.0

Function Set

fz_fzrt_graf_fset

Defined in

fzrt_api.h