主要是用StretchBlt时指定好下面四个参数,然后再自己循环计算贴图就行了
int nXOriginDest, // x-coord of destination upper-left corner
int nYOriginDest, // y-coord of destination upper-left corner
int nWidthDest, // width of destination rectangle
int nHeightDest, // height of destination rectangle