settextstyle
这个函数用于设置当前字体样式。
void settextstyle(
int nHeight,
int nWidth,
LPCTSTR lpszFace
);
void settextstyle(
int nHeight,
int nWidth,
LPCTSTR lpszFace,
int nEscapement,
int nOrientation,
int nWeight,
bool bItalic,
bool bUnderline,
bool bStrikeOut
);
void settextstyle(
int nHeight,
int nWidth,
LPCTSTR lpszFace,
int nEscapement,
int nOrientation,
int nWeight,
bool bItalic,
bool bUnderline,
bool bStrikeOut,
BYTE fbCharSet,
BYTE fbOutPrecision,
BYTE fbClipPrecision,
BYTE fbQuality,
BYTE fbPitchAndFamily
);
void settextstyle(const LOGFONT *font);
参数
nHeight
指定高度(逻辑单位)。
nWidth
字符的平均宽度(逻辑单位)。如果为 0,则比例自适应
最后
以上就是自由飞鸟最近收集整理的关于c语言settextstyle有哪些字体,EasyX 文档 - settextstyle的全部内容,更多相关c语言settextstyle有哪些字体,EasyX内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复