VC++中自带的图像缩放函数两个: 1、 BOOL StretchBlt ( int x, int y, int nWidth, int nHeight, CDC* pSrcDC, int xSrc, int ySrc, int nSrcWidth, int nSrcHeight, DWORD dwRop ); 2、 int StretchDIBits(H
1、CDC::StretchBlt BOOL StretchBlt( int x, int y,int nWidth,int nHeight, CDC* pSrcDC, intxSrc, int ySrc, int nSrcWidth, int nSrcHeight, DWORD dwRop) 功能:函数从源矩形中 复制 一个位图到目标矩形,必要时按目标设备设置的模式进行图像的拉伸或压缩;