mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 16:31:40 +02:00
Qt: fix IntersectClipRect
git-svn-id: trunk@11882 -
This commit is contained in:
parent
ae8d388a83
commit
be308bee29
@ -3093,7 +3093,8 @@ begin
|
||||
Y1 := Top;
|
||||
X2 := Right;
|
||||
Y2 := Bottom;
|
||||
QMatrix_map(QPainter_worldMatrix(QtDC.Widget), X1, Y1, @X2, @Y2);
|
||||
QMatrix_map(QPainter_worldMatrix(QtDC.Widget), X1, Y1, @X1, @Y1);
|
||||
QMatrix_map(QPainter_worldMatrix(QtDC.Widget), X2, Y2, @X2, @Y2);
|
||||
|
||||
IntersectRgn := QRegion_create(X1, Y1, X2 - X1, Y2 - Y1);
|
||||
Rgn := QRegion_create;
|
||||
|
Loading…
Reference in New Issue
Block a user