# RectCenter

void RectCenter (Rect rect, Point *center);

## Purpose

Calculates the location of the center point of a rectangle. For even heights (or widths), the center point is rounded toward the top (or left).

## Parameters

Input
Name | Type | Description
rect | Rect | The location and size of a rectangle.
Output
Name | Type | Description
center | Point | A Point structure that specifies the location of the center of the rectangle.

## Return Value

None.