摘要:
if( flags == DT_RIGHT ) {SIZE Size = {0,0};TEXTMETRICW temp;if (font->GetTextMetricsW(&temp) == S_OK){Size.cx = temp.tmMaxCharWidth;Size.cy = temp.tmD... 阅读全文
摘要:
D3DSprite.cppvoid CD3DSprite::DrawText(CD3DFont *pFont, char *szString, RECT &DesRect, D3DCOLOR Color){ DrawText(pFont, szString, DesRect, DT_TOP|D... 阅读全文