# MakePoint

Point MakePoint (int xCoordinate, int yCoordinate);

## Purpose

Returns a Point structure with the values you specify. The Point structure defines the location of a point.

This function is useful when you call canvas control functions that require Point structures as input parameters. You can embed a call to MakePoint in calls to these functions, eliminating the need to declare a Point variable.

## Parameters

Input
Name | Type | Description
xCoordinate | integer | Horizontal location of the point.
yCoordinate | integer | Vertical location of the point.

## Return Value

Name | Type | Description
newPoint | Point | Point structure containing the coordinate values you specify.