|
|
|
|
MGL_getPixelCoordFast
Returns the color of a specified pixel.
Declaration
color_t MGLAPI MGL_getPixelCoordFast(
int x,
int y)
Prototype In
mgraph.h
Parameters
x |
x coordinate of the pixel to read |
y |
y coordinate of the pixel to read |
Return Value
Color of the specified pixel.
Description
This function returns the color of the pixel at the specified coordinate. Note that you must ensure that you call the routine MGL_beginPixel before reading any pixel values and the routine MGL_endPixel after reading a bunch of pixels with these fast pixel routines.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com