If an application copies a bitmap to a device and it is necessary to shrink or expand the bitmap before drawing, the effects of the StretchBlt and StretchDIBits functions can be controlled by calling SetStretchBltMode to set the current stretch mode for a device context. The stretch mode determines how lines eliminated from the bitmap are combined.