🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.graphics
Article #1338

Bit Transformation wanted

#1338
From: The Doctor
Date: Fri, 18 Jul 1986 14:34
21 lines
1083 bytes
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
Technical Details
Message-ID: <208@joevax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!princeton!allegra!mit-eddie!genrad!decvax!bellcore!petrus!magic!joevax!sdh

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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