Autor Beitrag
LH_Freak
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 385

Win XP
D7 PE, D2k5 Trial
BeitragVerfasst: Sa 30.04.05 23:44 
Ich würde gerne bei Canvas.TextOut(X,Y,Text) eine Kontur um den Text zeichnen. Weiß jemand wie das geht?
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 01.05.05 00:04 
Dazu musst Du den Text mit TextOut zweimal ausgeben.

Einmal ganz normal und das zweite mal, in dem Du bei der Schrift den Stil (per GDI API) auf Outline umstellst. Hab dazu aber ATM keinen Source verfügbar.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 01.05.05 09:05 
hatte schonmal das selbe problem: www.delphi-forum.de/viewtopic.php?t=24760

_________________
In the beginning was the word.
And the word was content-type: text/plain.
LH_Freak Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 385

Win XP
D7 PE, D2k5 Trial
BeitragVerfasst: So 01.05.05 12:04 
Noch ne Frage: Wie kann man den Canvas danach wieder "leer" machen. Also, das nichts drinnen ist, bis ich wieder neu zeichne
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: So 01.05.05 12:34 
user profile iconLH_Freak hat folgendes geschrieben:
Noch ne Frage: Wie kann man den Canvas danach wieder "leer" machen. Also, das nichts drinnen ist, bis ich wieder neu zeichne


Mach ein weißes Rechteck ohne Farbe mit der Größe des Canvas

AXMD
LH_Freak Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 385

Win XP
D7 PE, D2k5 Trial
BeitragVerfasst: So 01.05.05 13:04 
hä? ein weißes Rechteck ohne Farbe????
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: So 01.05.05 13:11 
user profile iconLH_Freak hat folgendes geschrieben:
Noch ne Frage: Wie kann man den Canvas danach wieder "leer" machen. Also, das nichts drinnen ist, bis ich wieder neu zeichne


Neue Frage neuer Thread.

Daher Topic geschlossen.
Dieses Thema ist gesperrt, Du kannst keine Beiträge editieren oder beantworten.

Das Thema wurde von einem Team-Mitglied geschlossen. Wenn du mit der Schließung des Themas nicht einverstanden bist, kontaktiere bitte das Team.