19,468
社区成员
发帖
与我相关
我的任务
分享
ImageAttributes imAtt;
imAtt.SetColorKey(Color(255,255,255),Color(255,255,255),ColorAdjustTypeDefault);
pDoc->m_pGraphics->SetSmoothingMode(SmoothingModeAntiAlias);
pDoc->m_pGraphics->DrawImage(&img,Rect(0,0,w,h),0,0,width,height,UnitPixel,&imAtt);