mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 10:36:01 +02:00
LCL: fix TCanvas.TextRect clipping at boundaries of provided rect (issue #0031673)
git-svn-id: trunk@54629 -
This commit is contained in:
parent
5361d2be18
commit
c331f49f7e
@ -1313,7 +1313,6 @@ begin
|
|||||||
|
|
||||||
if Style.Clipping then
|
if Style.Clipping then
|
||||||
begin
|
begin
|
||||||
IntersectRect(ARect, ARect, fRect);
|
|
||||||
with ARect do
|
with ARect do
|
||||||
InterSectClipRect(DC, Left, Top, Right, Bottom);
|
InterSectClipRect(DC, Left, Top, Right, Bottom);
|
||||||
Options := Options or DT_NOCLIP; // no clipping as we are handling it here
|
Options := Options or DT_NOCLIP; // no clipping as we are handling it here
|
||||||
|
Loading…
Reference in New Issue
Block a user