15,979
社区成员
发帖
与我相关
我的任务
分享
CClientDC dc(this);
CRect rect;
GetClientRect(&rect);
Graphics graph(dc.m_hDC);
graph.SetInterpolationMode(InterpolationModeHighQualityBicubic);
Image bk(m_path2);
graph.DrawImage(&bk,RectF(rect.left,rect.top,rect.Width(),rect.Height()));
graph.ReleaseHDC(dc.m_hDC);
DeleteDC(dc.m_hDC);