读书人

请问GetGlyphOutline的汉字用法

发布时间: 2012-12-15 15:16:03 作者: rapoo

请教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
);

读书人网 >windows

热点推荐