Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>_getpixel_w() get a pixel value (window coords)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _getpixel_w()           Get a pixel value (window coords)

 #include   <graph.h>

 short _getpixel_w(wx, wy);
  double wx, wy;        Window coordinates of the pixel

    _getpixel_w() is the window coordinates version of _getpixel();
    it gets the pixel value at coordinates (wx, wy). See _getpixel()
    for more information.

    Portability:     MS-DOS only, true MDPA, CGA, EGA, MCGA, or VGA video
                     compatibles

    Returns:         The current color index of the pixel if
                     successful; -1 otherwise.

See Also: _getpixel() _setpixel()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson