GetPixel

Reads a pixel value from the framebuffer

Declaration

GA_color NAPI GA_2DRenderFuncs::GetPixel(
N_int32 x,
N_int32 y)

Prototype In

snap/graphics.h

Parameters

x | X coordinate to read pixel value from
y | Y coordinate to read pixel value from

Description

This function reads the color of a single pixel from the framebuffer.

See Also

PutPixel

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