Autor Beitrag
SuperS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 102

Win XP Home, Win XP Prof, Win 98

BeitragVerfasst: Mi 18.02.04 18:01 
Ich würde so gerne mein eigenes Zeichenprogramm, wie Paint programmieren, aber weis nicht, wie ich anfangen soll und weitermache. Bitte beantwortet meine Frage :D .
Raphael O.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1596


VS 2013
BeitragVerfasst: Mi 18.02.04 18:24 
schau dir mal die Zeichenroutinen von "Canvas" an und setz die auf ein Image1.canvas um...
da gibts dann sowas wie
ausblenden Delphi-Quelltext
1:
2:
3:
cimage1.canvas.pen.width:=3;
image1.canvas.lineto(10,23);
image1.canvas.lineto(100,234);

was z.b. einen strich zeichnet...
sowas kombiniert mit dem onmousedown ereignis vom image ist schon ein halbes paint ;)
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Mi 18.02.04 19:57 
im Borland ordner ist noch ein Beispiel: Borland/Demo/doc/graphex - ist auch ein simples Malprogramm. kannst dort ja mal ansetzen.

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
SuperS Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 102

Win XP Home, Win XP Prof, Win 98

BeitragVerfasst: Mi 18.02.04 20:55 
Vielen Dank für die Tips. Ich werd mir mal die Sachen anschauen :lol: