标签:
// static ULONG_PTR gdiplus_token; ULONG_PTR GdiPlusGraphics::gdiplus_token = 0; void GdiPlusGraphics::Init() { if(!gdiplus_token) { Gdiplus::GdiplusStartupInput StartupInput; GdiplusStartup(&gdiplus_token,&StartupInput,NULL); } } void GdiPlusGraphics::UnInit() { Gdiplus::GdiplusShutdown(gdiplus_token); }
标签:
原文地址:http://my.oschina.net/lyr/blog/373354