#ifndef PIXELTOOLS_H #define PIXELTOOLS_H typedef struct JRGBColor { unsigned char red; unsigned char green; unsigned char blue; unsigned char alpha; } JRGBColor; /* Writes a Pixel with the specified colour to the specific PixelMap */ char WritePixel( PixMapHandle thePixMap, short x, short y, JRGBColor theColor ); /* Reads the colour of a specified pixel from the specified PixelMap */ char ReadPixel( PixMapHandle thePixMap, short x, short y, JRGBColor *theColor ); /* Gives the complement of a given colour */ void InvertJRGB( JRGBColor *theColor ); /* Invert a particular pixel in a PixMap */ void InvertPixel( PixMapHandle thePixMap, short x, short y ); #endif /*PIXELTOOLS_H*/