const x:integer=100;
y:integer=220;
r:integer=70;
step:integer=5;
var i,ds,di:integer;
begin
ds:=trunc(r*sqrt(2));
for i:=0 to ds do
if i mod step = 0 then
begin
di:=ds-i;
PaintBox1.Canvas.MoveTo(x-di,y-i);
PaintBox1.Canvas.LineTo(x+di,y-i);
PaintBox1.Canvas.MoveTo(x-di,y+i);
PaintBox1.Canvas.LineTo(x+di,y+i);
PaintBox1.Canvas.MoveTo(x-i,y-di);
PaintBox1.Canvas.LineTo(x-i,y+di);
PaintBox1.Canvas.MoveTo(x+i,y-di);
PaintBox1.Canvas.LineTo(x+i,y+di);
end;
end;