6.5.3.2.3 Stretch Blit

The stretch blit primitive performs a bit blit operation with stretch or shrink. The modified Bresenham algorithm is used to generate corresponding coordinates for fast stretching. The stretch factor is specified in a 16.0 fixed-point format. Stretch blits are not allowed to overlap, which means that source and destination cannot share any memory. Non-stretch blits may overlap.

For stretch blit, clipping is performed on a per-pixel basis.