日期:2014-05-17  浏览次数:21005 次

请教GetGlyphOutline的汉字用法。
请问GetGlyphOutline
DWORD GetGlyphOutline( UINT nChar, UINT nFormat, LPGLYPHMETRICS lpgm, DWORD cbBuffer, LPVOID lpBuffer, const MAT2 FAR* lpmat2 ) const;
中,nChar 如何赋值?
如“一”的内码是0xd2,0xbb,如何赋值?、
谢谢!
------解决方案--------------------
哥哥帮你顶
------解决方案--------------------
错了吧?应为:
DWORD GetGlyphOutline( 
 HDC hdc,              // handle to device context 
 UINT uChar,           // character to query 
 UINT uFormat,         // format of data to return 
 LPGLYPHMETRICS lpgm,  // pointer to structure for metrics 
 DWORD cbBuffer,       // size of buffer for data 
 LPVOID lpvBuffer,     // pointer to buffer for data 
 CONST MAT2 *lpmat2    // pointer to transformation matrix structure 
);