Autor Beitrag
volvox
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 112

WIN XP
Delphi 7 Personal
BeitragVerfasst: Sa 26.01.08 12:44 
Hi, weiß jemand wie ich über Textout Sonderzeichen ausgeben kann. Ganz speziell brauche ich nur das Zeichen "Pi", aber es würde mich generel interessieren
Calculon
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 676

Win XP Professional
Delphi 7 PE, Delphi 3 PRO
BeitragVerfasst: Sa 26.01.08 13:03 
Generell kannst du ASCII-Werte zwar schon benutzen (du trägst einfach den dezimalen Wert nach einem '#' ein):
ausblenden Delphi-Quelltext
1:
Canvas.Textout(Width div 2,Height div 2,#71#101#104#116);					

Aber habe gerade hier mal nachgeschaut und konnte π nicht finden.

Gruß

Calculon
--

_________________
Hallo Mutti
ub60
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 765
Erhaltene Danke: 130



BeitragVerfasst: Sa 26.01.08 14:11 
ausblenden Delphi-Quelltext
1:
2:
Font.Name:='Symbol';
TextOut(x,y,#112);

ub60
volvox Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 112

WIN XP
Delphi 7 Personal
BeitragVerfasst: Sa 26.01.08 17:40 
Danke