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 | int | Horizontal location of the point. |
yCoordinate | int | Vertical location of the point. |
Return Value
Name | Type | Description |
newPoint | Point | Point structure containing the coordinate values you specify. |
Additional Information
Library: User Interface Library
Include file: userint.h
LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later