ggiDrawPixel, ggiPutPixel, ggiGetPixel — Draw, put, and get a single pixel from a visual
#include <ggi/ggi.h>
int ggiDrawPixel( | vis, | |
x, | ||
y) ; |
ggi_visual_t | vis; |
int | x; |
int | y; |
int ggiPutPixel( | vis, | |
x, | ||
y, | ||
col) ; |
ggi_visual_t | vis; |
int | x; |
int | y; |
ggi_pixel | col; |
int ggiGetPixel( | vis, | |
x, | ||
y, | ||
col) ; |
ggi_visual_t | vis; |
int | x; |
int | y; |
ggi_pixel * | col; |
Draw, put, or get a single pixelvalue at (x,y).
All three functions return 0 to indicate success.