Admin Production ni-theme
Current Publication

RectRight

LabWindows/CVI

RectRight

int RectRight (Rect rectangle);

Purpose

Returns the x-coordinate of the right edge a rectangle. The right edge is not enclosed by the rectangle.

The right edge is computed as follows:

right = rect.left + rect.width

Parameters

Input
Name Type Description
rectangle Rect The location and size of a rectangle.

Return Value

Name Type Description
right int X-coordinate of the right edge of the rectangle. The right edge is not enclosed by the rectangle and is equal to rect.left + rect.width.

Additional Information

Library: User Interface Library

Include file: userint.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later