RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Types.Point Function

Creates a TPoint structure from a pair of coordinates.

Pascal
function Point(X: Integer; Y: Integer): TPoint;
C++
TPoint Point(int X, int Y);

Types

Call Point to create a TPoint that represents the specified coordinates. Use Point to construct parameters for functions that require a point, rather than setting up local variables for each parameter. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!