21 years, 1 month ago
Highlights
21 years, 1 month ago
use LPCWSTR as the string type and pass it to yor own drawtext function, and use DrawTextW to drawtext
21 years, 1 month ago
Hey guys! I'm a beginner. I just read the DirectFAQ of the forum and it says that we'd better to use Draw[Index]Primitive as fewer as possible. Then i got a idea. Is it possible…
21 years, 2 months ago
DrawText supports both ANSI and Unicode strings.ID3DXFont::DrawTextA(...)ID3DXFont::DrawTextW(...)The string's type is LPCWSTR if UNICODE is defined, LPCTSTR otherwise.
21 years, 1 month ago
21 years, 1 month ago
Latest Activity
See all in Discussionsuse LPCWSTR as the string type and pass it to yor own drawtext function, and use DrawTextW to drawtext
21 years, 1 month ago
DrawText supports both ANSI and Unicode strings.ID3DXFont::DrawTextA(...)ID3DXFont::DrawTextW(...)The string's type is LPCWSTR if UNICODE is defined, LPCTSTR otherwise.
21 years, 1 month ago
D3DXCreateTextureFromFileEx(g_lpD3DDevice,"billboard.bmp",D3DX_DEFAULT,D3DX_DEFAULT,D3DX_DEFAULT,0,D3DFMT_A1R5G5B5,D3DPOOL_MANAGED,D3DX_FILTER_TRIANGLE,D3DX_FILTER_TRIANGLE,D3DCOLOR_ARGB(255,255,255,2
21 years, 1 month ago