LazReport, cairoexport: fine tuning of exported object width/height, from Julio Jiménez B.

git-svn-id: trunk@49270 -
This commit is contained in:
jesus 2015-06-04 19:29:18 +00:00
parent d5bcf79820
commit 6291d0e126

View File

@ -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);