From 2ba5679a6dad734d18864a7d183085220063b356 Mon Sep 17 00:00:00 2001 From: dsiders Date: Wed, 5 Jul 2023 15:29:46 +0100 Subject: [PATCH] Docs: LazUtils/graphmath. Adds SameRect topic for changes in 0bc32656. (cherry picked from commit ee9ebb8a7c50456d4c14adc77b83507b869c8164) --- docs/xml/lazutils/graphmath.xml | 42 +++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/docs/xml/lazutils/graphmath.xml b/docs/xml/lazutils/graphmath.xml index aa09ffb810..0250e0bb27 100644 --- a/docs/xml/lazutils/graphmath.xml +++ b/docs/xml/lazutils/graphmath.xml @@ -759,6 +759,48 @@ size for the relocated rectangle. + + +Indicates whether member in the specified rectangles have the same values. + + +

+SameRect is Boolean function used to determine whether +the TRect instances R1 and R2 represent the same rectangular areas. +It compares the values for the Left, Right, Top, and Bottom members in the +TRect instances. The return value is True when members in R1 have the +same values as the corresponding members in R2. +

+

+SameRect replaces the deprecated CompareRect routine in the +lclproc.pas unit in the LCL. +

+
+ +Added in LazUtils version 3.99. + + +CompareRect +PRect +TRect + +
+ + +True when the specified rectangles have the same values in the members. + + + + +Pointer to a TRect instance examined in the routine. + + + + +Pointer to a TRect instance examined in the routine. + + + PolyBezier2Polyline - convert an array of 4-Point Bezier into a