原理
程序算法
procedure TForm
var
newbmp:TBitmap;
i
begin
newbmp:= TBitmap
newbmp
newbmp
bmpheight:=image
bmpwidth:=image
for i:=bmpheight downto
for j:=
begin
newbmp
image
Rect(
form
end;
newbmp
end;
原理
程序算法
procedure TForm
var
newbmp:TBitmap;
i
xgroup
begin
newbmp:= TBitmap
newbmp
newbmp
bmpheight:=image
bmpwidth:=image
xgroup:=
xcount:=bmpheight div xgroup;
for i:=
for j:=
begin
newbmp
(
image
Rect(
form
end;
newbmp
end;
原理
程序算法
procedure TForm
var
newbmp:TBitmap;
i
begin
newbmp:= TBitmap
newbmp
newbmp
bmpheight:=image
bmpwidth:=image
i:=bmpheight;
while i>
begin
for j:=
begin
newbmp
image
Rect(
form
end;
i:=i
end;
newbmp
end;
結束語
上述圖形顯示效果均已上機通過
[
From:http://tw.wingwit.com/Article/program/Delphi/201311/25001.html