RectSet

void RectSet (Rect *rect, int top, int left, int height, int width);

Purpose

Sets the values in an existing Rect structure. The Rect structure defines the location and size of a rectangle.

Parameters

Input
Name Type Description
top integer Location of the top edge of the rectangle.
left integer Location of the left edge of the rectangle.
height integer Height of the rectangle.
width integer Width of the rectangle.
Output
Name Type Description
rect Rect Rect structure in which to store the new values.

Return Value

None.