Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!princeton!allegra!mit-eddie!genrad!decvax!bellcore!petrus!magic!joevax!sdh From: sdh@joevax.UUCP (The Doctor) Newsgroups: net.graphics Subject: Bit Transformation wanted Message-ID: <208@joevax.UUCP> Date: Fri, 18-Jul-86 10:34:07 EDT Article-I.D.: joevax.208 Posted: Fri Jul 18 10:34:07 1986 Date-Received: Sat, 19-Jul-86 04:40:48 EDT Distribution: net Organization: Bell Communications Research Inc., Morristown, NJ Lines: 21 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