关于Windows字体高度计算
LOGFONT lf;strcpy(lf.lfFaceName,TextFaceName);lf.lfCharSet=TextCharFormat;lf.lfWeight=TextWeight;lf.lfWidth=TextSize;lf.lfHeight=-MulDiv(TextSize, GetDeviceCaps(hDC, LOGPIXELSY), 72);lf.lfItali...
原创
2018-10-12 15:17:56 ·
1379 阅读 ·
0 评论