This is Dither.h in view mode; [Download] [Up]
#import <appkit/appkit.h>
#import "Dithering.h"
#define MAXHalftoneLevel 256 /* was 16 */
@interface Dither:Object <Dithering>
{
unsigned char *buffer;
int lnwidth;
int ylines;
unsigned char sect[256]; /* section */
unsigned char grad[256]; /* 0 - 16 */
unsigned char threshold[MAXHalftoneLevel + 2];
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.