GetCPixel
GetCPixel Find the RGB of a specified pixel
#include <Quickdraw.h> Color Quickdraw
void GetCPixel( horiz, vert, &cPix );
short horiz ; horizontal position, in local coordinates
short vert ; vertical coordinate
RGBColor *cPix ; color pixel at specified position
GetCPixel obtains the RGB of a pixel associated with a coordinate pair.
horiz and . . .
vert identify the pixel in question (which hangs below and to the
right of the specified point). These are expressed in the
coordinate system of the current CGrafPort.
color is the RGB color of the pixel.
Returns: none