JCL Help:RectNormalize

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Normalizes a rectangle.


Pascal

 procedure RectNormalize(var R: TRect);


Parameters

Parameters Description
var R: TRect The rectangle to normalize.


Description

RectNormalize normalizes the specified rectangle. A normalized rectangle is defined as a rectangle for which Left is smaller than or equal to Right and Top is smaller than or equal to Bottom. If these conditions are not met, RectNormalize normalizes the rectangle by swapping Left with Right and/or Top with Bottom.


About

Unit

JclGraphUtils


Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page