mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 07:39:59 +02:00
LazReport, cairoexport: fine tuning of exported object width/height, from Julio Jiménez B.
git-svn-id: trunk@49270 -
This commit is contained in:
parent
d5bcf79820
commit
6291d0e126
@ -789,8 +789,8 @@ begin
|
||||
|
||||
nx := Trunc( x * ScaleX + 0.5 );
|
||||
ny := Trunc( y * ScaleY + 0.5 );
|
||||
ndx := Trunc( View.dx * ScaleX + 1.5 );
|
||||
ndy := Trunc( View.dy * ScaleY + 1.5 );
|
||||
ndx := Trunc( View.dx * ScaleX + 0.5 );
|
||||
ndy := Trunc( View.dy * ScaleY + 0.5 );
|
||||
|
||||
DataRect := Rect(nx, ny, nx+ndx, ny+ndy);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user