Qt,Qt5: reverted wrong X & Y for opaque

git-svn-id: trunk@53828 -
This commit is contained in:
zeljko 2017-01-01 13:12:28 +00:00
parent 042b662492
commit fcdcae4206
2 changed files with 2 additions and 2 deletions

View File

@ -2260,7 +2260,7 @@ begin
begin
// couldn't find way to fix it.
end;
QtDC.fillRect(X, Y, Rect^.Right - Rect^.Left, Rect^.Bottom - Rect^.Top);
QtDC.fillRect(Rect^.Left, Rect^.Top, Rect^.Right - Rect^.Left, Rect^.Bottom - Rect^.Top);
end else
if ((Options and ETO_OPAQUE) = 0) and (Rect <> nil) and (QtDC.getBKMode = OPAQUE) then
begin

View File

@ -2219,7 +2219,7 @@ begin
end;
if ((Options and ETO_OPAQUE) <> 0) and (Rect <> nil) then
QtDC.fillRect(X, Y, Rect^.Right - Rect^.Left, Rect^.Bottom - Rect^.Top);
QtDC.fillRect(Rect^.Left, Rect^.Top, Rect^.Right - Rect^.Left, Rect^.Bottom - Rect^.Top);
if Str <> nil then
begin