www.delorie.com/archives/browse.cgi | search |
From: | aho450s AT nic DOT smsu DOT edu (Tony O'Bryan) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Found the answer after looking at the source |
Date: | Mon, 20 Jan 1997 12:52:34 GMT |
Organization: | Southwest Missouri State University |
Lines: | 5 |
Message-ID: | <32e369d5.2965219@ursa.smsu.edu> |
NNTP-Posting-Host: | forseti.i53.smsu.edu |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I had forgotten than Shawn released the source to Grabber. After two short minutes of browsing the code, the answer to the pixel alignment problem became apparent. Grabber's code is set up to strip the bottom four bits from the (x,y) coordinates. All that is required to pixel-perfect alignment is to remove the bitwise AND.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |