This is a super quick algorithm to warp images.
There are 4 red dots, those are the handles - click and drag them to warp the image!!!
The secret is plgblt being used to draw the scanlines.
Overdraw is an antialiasing factor used for strecthing larger than the original image.
When the left side scanline finishes lower that the right side the image is flipped .