Returns the value of a pixel from a cel's data buffer.
int32 ReturnCelPixel (CCB *cel, int32 x, int32 y)
This function returns the value of the specified pixel from the cel's data buffer.
This function performs no clipping internally. You must be careful not to pass coordinates that would result in reading from outside the cel's data buffer.
This function supports all cel formats and bit depths except packed cels, LRForm cels, and 6-bit coded cels.
The value of the specified pixel.
Library call implemented in lib3do.lib.
lib3do.lib, celutils.h