JCL Help:RectIncludesRect

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Tests if one rectangle is completely embedded inside another rectangle.


Pascal

 function RectIncludesRect(const R1: TRect; const R2: TRect): Boolean;


Parameters

Parameters Description
const R1: TRect The rectangle to test.
const R2: TRect The second rectangle.


Return Value

If the first rectangle is embedded inside the second the function returns True, otherwise it returns False.


Description

RectIncludesRect tests whether the first rectangle is completely embedded inside the second rectangle. In other words, the function tests whether R1 is a 'subset' of R2.


See Also

RectIncludesPoint


About

Unit

JclGraphUtils


Donator

Pelle F. S. Liljendal


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