The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



TRectDouble


Unit:SDL_sdlbase
Class: none
Declaration:
TRectDouble = record
                case Integer of
                  0: (Left, Top, Right, Bottom: double);
                  1: (TopLeft, BottomRight: TPointDouble);
              end;

The type declaration TRectDouble represents the dimensions of a rectangle in floating point coordinates (in contrast to the Delphi TRect which defines integer coordinates). The coordinates are specified as either four separate numbers representing the left, top, right, and bottom sides, or as two points representing the locations of the top left and bottom right corners.


Last Update: 2023-Feb-06