摘要:
字体ID3DXFont 接口创建一个ID3DXFont接口对象HRESULTD3DXCreateFontIndirect(LPDIRECT3DDEVICE9pDevice, //device to associanted with the fontCONST LOGFONT*pLogFont, //D3DXFONT_DESC structrure, describing //the fontLPD3DXFONT*ppFont //return the created font);对要创建的字体进行描述, 必须先填充D3DXFONT_DESC结构。函数使用演示Code highlighting 阅读全文