Several data types are designated to handle rectangles:
type TRect = Windows.TRect;
TRect is redeclared from Windows.h and is compatible with Delphi/Windows API calls.
type TFloatRect = record
case Integer of
0: (Left, Top, Right, Bottom: Single);
1: (TopLeft, BottomRight: TFloatPoint);
end;
A rectangle with floating-point coordinates.
type TFixedRect = record
case Integer of
0: (Left, Top, Right, Bottom: TFixed);
1: (TopLeft, BottomRight: TFixedPoint);
end;
A rectangle with fixed-point coordinates.
Creating Rectangles, Point Types, TFixed
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024