Re: 2-D Gradients

2000-12-08 Thread Jerome Abela
On Fri, Dec 08, 2000 at 07:49:38AM -0500, Garry R. Osgood wrote: > > What is the Red Book? Where can I find it? What is its ISBN? > > PostScript(r) Language Reference by Adobe Systems Incorporated > Paperback - 912 pages 3rd edition Bk & cdr edition (February 26, 1999) > Addison-Wesley Pub Co; I

Re: divide by 255

2000-12-22 Thread Jerome Abela
On Wed, Dec 20, 2000 at 08:19:01PM +, Nick Lamb wrote: > > In the border cases (alpha = 0, alpha = 255) this produces exact > > results. In the intermediate ones, the maximum difference between > > doing a "slow but accurate" division and all this bit twiddling is at > > most 1. So it is jus