Autor Beitrag
hui1991
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 433

Windows XP, WIndows Vista
Turbo Delphi Explorer| Delphi, PHP,Blitzbasic
BeitragVerfasst: Sa 15.04.06 22:08 
Wie kann ich in ein 240X240 Pixel für Pixel was rein zeichnen?
Da die Funktion Pixels[x,y] einfach sehr lange dauert, wollte ich es mit Scanline machen.
Ich weis blos nicht wie. Ich habe als erstes in Google gesucht. Habe nicht gefunden was ich verstehe und danach habe ich in den 11 Themen geschaut wo Scanline vorkommt. Da stand auch nicht's von ins Pixel schreiben. Kann mir jemand zeigen wie ich in einer

For x:=0 to 240 do begin
For y:=0 to 240 do begin

end;
end;

Schleife jetzt jedes Pixel neu zeichne.
30X30 geht flüssig und 60X60 geht noch
Bei 120X120 stockt es leicht.
Bei 240X240 bleibt es ca. 1Minute immer stehen.
Wäre dankbar, wenn ich dieses Problem beseitigt hätte.

MfG
hui1991
Pr0g
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 220


D7 Pers
BeitragVerfasst: So 16.04.06 00:29 
Hab dir nen kleines Beispiel gemacht, siehe Anhang.
Einloggen, um Attachments anzusehen!
hui1991 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 433

Windows XP, WIndows Vista
Turbo Delphi Explorer| Delphi, PHP,Blitzbasic
BeitragVerfasst: So 16.04.06 12:21 
Danke,
jetzt verstehe ich wie das mit ScanLine ist.

MfG
hui1991