Delphi 7 dasturida aylana hosil qilish

0
453
Dasturlash va Web 0 1
Hammaga salom. Delphi 7 dasturlash tilida aylana hosil qilish kerak, kim yordam bera oladi, oldindan raxmat.

1 Javob

0
0

Markazning koordinatalari va radius berilganda canvas yordamida chizish uchun quyidagi kod yordam beradi

procedure TForm1.Button1Click(Sender: TObject);
var r,x0,y0:Integer;
begin
 r:=100;     // radius
 x0:=300;   // markaz koordinatasi
 y0:=200;   // markaz koordinatasi
 Canvas.Ellipse(x0-r,y0-r,x0+r,y0+r);
end;

 

O'xshash savollar

...