type TRectRounding = (rrClosest, rrOutside, rrInside);
Desctiption
TRectRounding type is involved in
conversion from TFloatRect/TFixedRect
to TRect. It specifies how the coordinates
are rounded:
- rrClosest – a simple Round() function is used for
each coordinate;
- rrOutside – Floor() is used for Left
and Top; Ceil() – for
Right and Bottom;
- rrInside – Ceil() is used for Left
and Top; Floor() –
for Right and Bottom;
[See Also] Constructing
and Converting Rectangles