GDI画旋转图片
通过GDI在窗口上画不同角度旋转的图片, Graphics* graphics = Graphics::FromHDC(dc.m_hDC); float width = (float)tmpWidth / graphics->GetDpiX()*25.4f; float height = (float)tmpHeight / graphics->GetDpiY()*25.4f; Gdiplus::Bitmap tmpBmp( tmpWidth+600,tmpHeight+400); Gdiplus::Graphics *gTmp = Gdiplus::Graphics::FromI
用户评论