Réponse acceptée !
Voila j'ai enfin trouver qqchose qui marche bien et qui utilise un textout je vous donne le code il vient du site
www.developpez.com :
void __fastcall TForm1::
FormPaint(TObject *Sender
){ AnsiString str =
"Texte à 90°";
LOGFONT lgfont;
if(GetObject
(Canvas->Font->Handle,
sizeof(LOGFONT
), &lgfont
)) { lgfont.
lfHeight =
20;
lgfont.
lfEscapement =
900;
lgfont.
lfOrientation =
900;
lgfont.
lfOutPrecision = OUT_TT_ONLY_PRECIS;
Canvas->Font->Handle = CreateFontIndirect
(&lgfont
);
SetGraphicsMode
(Canvas->Handle, GM_ADVANCED
);
Canvas->TextOut
(200,
200, str
);
}}
Merci quand meme a tous