IPC@CHIP® Graphics Library – API Documentation

Header image

Main page


GcErrorCode gcSetPixel ( GcImage targetImage,
unsigned short  x,
unsigned short  y,
GcColor  color 
)

This function can be used to set the color of a single pixel of an image or the frame buffer.

Parameters:
targetImage Pointer to the GcImage object to operate on; NULL for the frame buffer
x X coordinate of the pixel
y Y coordinate of the pixel
color Designated color of the pixel
Returns:
One of the following error codes is returned:
Since:
1.00
Targets:

GC01

GC04

X

X

See also:
gcGetPixel
Examples:
example06.c.





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Jun 27 14:21:34 2017 by Doxygen 1.6.1