Admin Production ni-theme
Current Publication

RectSameSize

LabWindows/CVI

RectSameSize

int RectSameSize (Rect rect1, Rect rect2);

Purpose

Returns 1 if the two rectangles you specify have the same height and width. The function returns 0 otherwise.

Parameters

Input
Name Type Description
rect1 Rect The location and size of the first rectangle.
rect2 Rect The location and size of the second rectangle.

Return Value

Name Type Description
sameSize int Indicates if the height and width values in rect1 are identical to those of rect2.

Code Description
1 rect1 and rect2 have the identical height and width.
0 rect1 and rect2 do not have the identical height and width.

Additional Information

Library: User Interface Library

Include file: userint.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later