TeCanvas.OrientRectangle
 
 
 


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.







Send us Help Feedback. Copyright 1995-2024 © by Steema Software. All Rights Reserved.