{I+=codeWee;}
[C++] GdiPlus: Convert HFONT to Gdiplus::Font
#include <GdiPlus.h>
using namespace Gdiplus;
#pragma comment(lib, "Gdiplus.lib")


	HFONT hfont = CreateFont(...);


	HDC hdc = GetDC(NULL);

	Gdiplus::Font font(hdc, hfont);
	
	ReleaseDC(NULL, hdc);
HTML | PHP | C++ | DirectX11 | Javascript | C# | HTML5 | ASP | SQL | General | CSS | Oculus Rift | Unity3d | Virtools SDK | Tip | NSIS | PowerShell | node.js | Web API | RTSP | All
Copyright© 2016 CodeWee.com All rights reserved.