plugins/screenshot: Use SmoothPixmapTransform when stitching area screenshots
CCBUG: 478426
This commit is contained in:
parent
f23e0ef05b
commit
f6d9b8a0b4
1 changed files with 1 additions and 0 deletions
|
@ -324,6 +324,7 @@ bool ScreenShotEffect::takeScreenShot(const RenderTarget &renderTarget, const Re
|
|||
screenshot->area.size() * screenshot->result.devicePixelRatio());
|
||||
|
||||
QPainter painter(&screenshot->result);
|
||||
painter.setRenderHint(QPainter::SmoothPixmapTransform);
|
||||
painter.setWindow(nativeArea);
|
||||
painter.drawImage(sourceRect, snapshot);
|
||||
painter.end();
|
||||
|
|
Loading…
Reference in a new issue