Recent Posts
Selamat datang di Coding Delphi Land Weblog kumpulan source code pemogram delphi
(Bukan maksud untuk menggurui tetapi marilah kita berbagi ilmu tuk perkembangan kemajuan teknologi kita
Selasa, 17 November 2009
Fill Rectangle Fillrect Method
procedure TForm1.BitBtn5Click(Sender: TObject);
//fillrect bm
var n : integer;
begin
with bm do with canvas do
begin
brush.style := bssolid;
brush.color := $808080;
t1 := gettickcount;
for n := 0 to 9999 do
fillrect(rect(0,0,width,height));
t2 := gettickcount;
end;
showtime(100000000);
end;
//fillrect bm
var n : integer;
begin
with bm do with canvas do
begin
brush.style := bssolid;
brush.color := $808080;
t1 := gettickcount;
for n := 0 to 9999 do
fillrect(rect(0,0,width,height));
t2 := gettickcount;
end;
showtime(100000000);
end;
0 komentar:
Posting Komentar