View Single Post
Old 2nd November 2009, 06:54   #16  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
You're right. I changed my original equation from
Quote:
((width+(width%16)))*(height+(height%16))))
but that didn't cover all cases either. Guess it's harder than I thought. Guess you can't do it without a piece-wise function unless you use word functions.
Snowknight26 is offline   Reply With Quote