Autor Beitrag
der_zaehe
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 317

WinXP SP2
D6 Pers, D2005 Prof, VS2005
BeitragVerfasst: Mo 04.04.05 22:03 
Ist es auch möglich, einfach nur eine PUNKT auf ein Canvas zu zeichnen? Ich finde nur solche Methoden wie "Rectangle" usw., die Delphi-Hilfe hat auch nicht so viel zu dem Thema geliefert :(

mfg der_zaehe

_________________
[inspirationslos]
toms
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1099
Erhaltene Danke: 2



BeitragVerfasst: Mo 04.04.05 22:14 
Hallo!

Z.B: Canvas.SetPixel(20, 40, clRed);
JayEff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2971

Windows Vista Ultimate
D7 Enterprise
BeitragVerfasst: Mo 04.04.05 22:22 
SetPixel? ähm:
"[Fehler] Unit1.pas(38): Undefinierter Bezeichner: 'SetPixel'"

_________________
>+++[>+++[>++++++++<-]<-]<++++[>++++[>>>+++++++<<<-]<-]<<++
[>++[>++[>>++++<<-]<-]<-]>>>>>++++++++++++++++++.+++++++.>++.-.<<.>>--.<+++++..<+.
MartinPb
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 698



BeitragVerfasst: Mo 04.04.05 22:51 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
procedure TForm1.Button1Click(Sender: TObject);
var
  W: Word;
begin
  for W := 10 to 200 do
    Canvas.Pixels[W, W] := clRed;
end;

_________________
Gruß
Martin
der_zaehe Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 317

WinXP SP2
D6 Pers, D2005 Prof, VS2005
BeitragVerfasst: Di 05.04.05 16:42 
danke! :)

_________________
[inspirationslos]