Home | GR32 |
TRectRounding
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
Creating Rectangles, TFixedRect, TFloatRect, TRect
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007