[net.graphics] Bit Transformation wanted

sdh@joevax.UUCP (The Doctor) (07/18/86)

I'm looking for a routine that will transform a rectangular bitmap
into any quadralateral.

The original bitmap has the form:

struct BitMap {
	char	*baseAddr;
	short	rowBytes;
	Rect	bounds;
};

Where base Addr points to a block of bytes, rowBytes is an even number
describing the number of bytes per line, and rect is a structure of 4
ints: top, left, right and bottom describing the bounds of the image.

The transformation does not have to return a BitMap, it can simply plot
to the screen, if neccessary.

Steve Hawley
joevax!sdh