Autor Beitrag
Fabian W.
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1766

Win 7
D7 PE
BeitragVerfasst: Do 20.10.05 18:17 
Ihr kennt ja alle hinterlegte Schrift, also Schrift mit Schatten. Mein Ansatz:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
msgimage.Canvas.Font.Color := clnavy; //Hintergrundfarbe
msgimage.Canvas.TextOut(1,1,text);
msgimage.Canvas.Font.Color := Farbe;
msgimage.Canvas.TextOut(0,0,text);
Klappt net, weil das letzte TextOut ja widder drüberschrubt. Wie kann ich das verhindern? Gibts ne Procedure zum Zeichnen ohne Hintergrund???
Bitte um Hilfe mfg
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: Do 20.10.05 18:36 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
msgimage.Canvas.brush.style:=bssolid;
msgimage.Canvas.Font.Color := clnavy; //Hintergrundfarbe  
msgimage.Canvas.TextOut(1,1,text);  
msgimage.Canvas.brush.style:=bsclear;
msgimage.Canvas.Font.Color := Farbe;  
msgimage.Canvas.TextOut(0,0,text);


Mfg Frank

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

Win 7
D7 PE
BeitragVerfasst: Do 20.10.05 18:38 
Sehr gut! Danke! Hier wird man halt geholfen... :-)