RectMove

void RectMove (Rect *rect, Point point);

Purpose

Modifies a Rect structure so that the top, left corner of the rectangle it defines is at the point you specify.

Parameters

Input
Name Type Description
point Point Point structure specifying the new location of the top, left corner of the rectangle.
Output
Name Type Description
rect Rect On input, the size and location of a rectangle.

On output, a rectangle of the same size but a different location.

Return Value

None.