蚂蚁线
用蚂蚁线画一个‘田’字
怎么弄呢?
高人指点下
[解决办法]
你就死心吧,没人会告诉你的
[解决办法]
var a:byte; procedure c(X,Y:Integer;t:TCanvas);stdcall; begin a:=a shl 1; if a =0 then a:=1; if (a and 224)>0 then t.Pixels[X,Y]:=clWhite else t.Pixels[X,Y]:=clBlack; end; procedure TForm1.Timer1Timer(Sender: TObject);begin LineDDA(10,10,100,10,@c,LongInt(Canvas)); ////etc...///end;
[解决办法]