Double precision rectangle defined by its edges. More...
Data Fields | |
double | Bottom |
Bottom edge of the rectangle (inclusive). | |
double | Left |
Left edge of the rectangle. | |
double | Right |
Right edge of the rectangle (inclusive). | |
double | Top |
Top edge of the rectangle. | |
Double precision rectangle defined by its edges.
The edges of the rectangle are always parallel to the image borders:
Normally the four edges are given in pixel coordinates which have a fixed coordinate system with its origin at the left/top border of the image and no scaling or rotation.
Thus most functions using TDRect do not use the image's coordinate system.
The four vertices are (Left, Top), (Right, Top), (Right, Bottom), and (Left, Bottom).