| Home
| Previous
| Next
| Up

MGL_getPixel

Returns the color of a specified pixel.

Declaration

color_t MGL_getPixel(
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_getPixelCoord, however it takes the coordinate of the pixel to read as a point.

See Also

MGL_getPixelCoord, MGL_beginPixel, MGL_endPixel

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