[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'types' (#rtl)

TSmallPoint

Small point

Declaration

Source position: types.pp line 118

type TSmallPoint = packed record

  x: SmallInt;

  

Horizontal position in the plane.

  y: SmallInt;

  

Vertical position in the plane.

end;

Description

TSmallPoint defines a point in a 2-dimensional plane, just like TPoint, but the coordinates have a smaller range: The coordinates are smallints (16-bit, signed) and they run from -MaxSmallInt to maxSmallint.

See also

TPoint

  

Point in a plane

The latest version of this document can be found at lazarus-ccr.sourceforge.net.