//绘制自定文本
Procedure TNetMap.TextOutAngle(x,y,aAngle,aHeight:LongInt; FontName,txt:String);
Var NewFont,OldFont:LongInt;
DC:hDC;
Begin
If Length(txt)=0 Then Exit;
请你参考
CreateFont
The CreateFont function creates a logical font with the specified characteristics. The logical font can subsequently be selected as the font for any device.
HFONT CreateFont(
int nHeight, // height of font
int nWidth, // average character width
int nEscapement, // angle of escapement
int nOrientation, // base-line orientation angle
int fnWeight, // font weight
DWORD fdwItalic, // italic attribute option
DWORD fdwUnderline, // underline attribute option
DWORD fdwStrikeOut, // strikeout attribute option
DWORD fdwCharSet, // character set identifier
DWORD fdwOutputPrecision, // output precision
DWORD fdwClipPrecision, // clipping precision
DWORD fdwQuality, // output quality
DWORD fdwPitchAndFamily, // pitch and family
LPCTSTR lpszFace // typeface name
);
他就是你要找的东西。别告诉我看不懂,否则你的……