Contents  All Classes  Index A-Z  All Units


OrientRectangle function

function OrientRectangle(Const R: TRect): TRect;

Unit
TeCanvas

Description
Returns the passed R rectangle after correcting Left <= Right and Top <= Bottom.

Swaps Left and Right if Left is bigger than Right.
Swaps Top and Bottom if Top is bigger than Bottom.






Submit your feedback about this page.

Copyright 1995-2007 © by Steema Software. All Rights Reserved.