mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 18:29:21 +02:00
Qt5: scale unclipped if sizes are different
git-svn-id: trunk@62919 -
This commit is contained in:
parent
a7403ac9d7
commit
2d38d5077d
@ -6810,7 +6810,7 @@ var
|
||||
QPixmap_scaled(APixmap, ATempPixmap, Width, Height)
|
||||
else
|
||||
if (Width <> SrcWidth) or (Height <> SrcHeight) then
|
||||
QPixmap_copy(APixmap, ATempPixmap, 0, 0, Width, Height)
|
||||
QPixmap_scaled(APixmap, ATempPixmap, Width, Height)
|
||||
else
|
||||
QPixmap_copy(APixmap, ATempPixmap, 0, 0, QPixmap_width(APixmap), QPixmap_height(APixmap));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user