mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-25 05:39:14 +02:00
use better stretch blitting mode by default (from Patrick Chevalley)
git-svn-id: trunk@10245 -
This commit is contained in:
parent
268922b4be
commit
666855ac8d
@ -3187,6 +3187,8 @@ Var
|
||||
SaveObj: HGDIOBJ;
|
||||
PrevTextColor, PrevBkColor: COLORREF;
|
||||
Begin
|
||||
Windows.SetStretchBltMode(DestDC, STRETCH_HALFTONE);
|
||||
Windows.SetBrushOrgEx(DestDC, 0, 0, nil);
|
||||
if Mask = 0 then
|
||||
begin
|
||||
if (Width = SrcWidth) and (Height = SrcHeight) then
|
||||
|
Loading…
Reference in New Issue
Block a user