2015年11月14日
摘要: if( flags == DT_RIGHT ) {SIZE Size = {0,0};TEXTMETRICW temp;if (font->GetTextMetricsW(&temp) == S_OK){Size.cx = temp.tmMaxCharWidth;Size.cy = temp.tmD... 阅读全文
posted @ 2015-11-14 13:47 王庆东mas 阅读(406) 评论(0) 推荐(0) 编辑
摘要: D3DSprite.cppvoid CD3DSprite::DrawText(CD3DFont *pFont, char *szString, RECT &DesRect, D3DCOLOR Color){ DrawText(pFont, szString, DesRect, DT_TOP|D... 阅读全文
posted @ 2015-11-14 12:21 王庆东mas 阅读(307) 评论(0) 推荐(0) 编辑