RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Types.TSmallPoint Record

TSmallPoint type defines a point with two 16-bit coordinates.

Pascal
TSmallPoint = packed record
  x: SmallInt;
  y: SmallInt;
end;
C++
struct TSmallPoint {
  SmallInt x;
  SmallInt y;
};

Types

The TSmallPoint type defines a point where each coordinate is a 16-bit integer. x specifies the horizontal coordinate of the point, y specifies the vertical coordinate. 

 

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