Fix stretch bug.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2205 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
yangjixian
2011-12-31 09:01:31 +00:00
parent 285eee7a79
commit 67a2b95fac

View File

@ -819,8 +819,8 @@ begin
dh := aHeight;
Dest.Width := dw;
Dest.Height := dh;
m := ypos div ih;
n := xpos div iw;
m := Trunc(ypos / ih);
n := Trunc(xpos / iw);
for i := ypos to ylen - 1 do
begin
LScan1 := Dest.Scanline[i - ypos];