mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 09:38:12 +02:00
LazReport: Fix a problem exporting 2 pages from LazReport to JPEG image. Issue #31400, patch from Lagunov Aleksey.
git-svn-id: trunk@54306 -
This commit is contained in:
parent
491d57ecbc
commit
c6e74cb0e3
@ -80,6 +80,7 @@ var
|
||||
TmpVisible: Boolean;
|
||||
begin
|
||||
Inc(FCurPage);
|
||||
FBmp.Clear;
|
||||
FBmp.SetSize(Round(CurReport.EMFPages[FCurPage - 1]^.PrnInfo.Pgw * FZoom),
|
||||
Round(CurReport.EMFPages[FCurPage - 1]^.PrnInfo.Pgh * FZoom));
|
||||
FBmp.Canvas.Brush.Color := FColor;
|
||||
|
Loading…
Reference in New Issue
Block a user