. , , . , . , . :
if (x - startx < y - starty) then
begin
while (x - startx < y - starty) do
begin
x := x + 100;
startx := startx - 100;
end;
end
else if (x - startx > y - starty) then
begin
while (x - startx > y - starty) do
begin
y := y + 100;
starty := starty - 100;
end;
end;
, , , , , . . , , , , x-startx y-starty . , , 50pix 100pix, 50pix, , 100 . . , , , , , , , . , , , , . , . , . , , 200pix , . 85% +, , - .
, , , . , , . , . , . coefx coefy, . , . , , .
, , . http://www.torry.net/authorsmore.php?id=986 Zimage .
, , , , . , , , slop . .
Add another animation question. At the same time, it will also allow us to add animation when moving from one image zoom point to another zoom point. For our application, it will be from one comic panel to another, either below or on the side, and in most cases a different size. Will loading between the values ββon the left, right, top and bottom be the best way to show this type of animation? If so, I think this will also work when moving from a full image to the first enlarged panel.