Supported Browsers Home   
MGL_getPixelCoordFast Previous   
MGL_getPixelFormat Next   
External Functions Up   

MGL_getPixelFast

Returns the color of a specified pixel.

Declaration

color_t MGL_getPixelFast(
    point_t p)

Prototype In

mgraph.h

Parameters

p

Coordinate of the pixel to read

 

Return Value

Color of the specified pixel.

Description

This function is the same as MGL_getPixelCoordFast, however it takes the coordinate of the pixel to read as a point.

See Also

MGL_getPixelCoordFast, MGL_beginPixel, MGL_endPixel

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