同時再調用一下 ::SetBrushOrgEx(hDestDC, 0, 0, NULL);
然後再調用CImage的StretchBlt
例如
SetStretchBltMode(pDC->m_hDC, STRETCH_HALFTONE);
img.StretchBlt(pDC->GetSafeHdc(), CRect(0, 0, nWidth, nHeight), CRect((int)(rectZoomBorder.left*iWidthRate), \
(int)(rectZoomBorder.top * iHeightRate), (int)(rectZoomBorder.right*iWidthRate), \
(int)(rectZoomBorder.bottom * iHeightRate)));
img.ReleaseDC();
img.Destroy();