Supported Browsers Home   
MGL_getPixel Previous   
MGL_getPixelCoordFast Next   
External Functions Up   

MGL_getPixelCoord

Returns the color of a specified pixel.

Declaration

color_t MGLAPI MGL_getPixelCoord(
    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.

See Also

MGL_getPixel, MGL_beginPixel, MGL_endPixel

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com