[ prev :: next :: up ] libggi-current (3)

Draw, put, and get a single pixel from a visual

Name

ggiDrawPixel, ggiPutPixel, ggiGetPixel : Draw, put, and get a single pixel from a visual

Synopsis

#include <ggi/ggi.h>

int ggiDrawPixel(ggi_visual_t vis, int x, int y);

int ggiPutPixel(ggi_visual_t vis, int x, int y, ggi_pixel pixel);

int ggiGetPixel(ggi_visual_t vis, int x, int y, ggi_pixel *pixel);

Description

Draw, put, or get a single pixelvalue at (:p:`x`, :p:`y`).

System Message: ERROR/3 (../ggi-core/libggi/doc/libggi.txt, line 988); backlink

Unknown interpreted text role "p".

System Message: ERROR/3 (../ggi-core/libggi/doc/libggi.txt, line 988); backlink

Unknown interpreted text role "p".

Return value

All three functions return 0 to indicate success.

 
[ prev :: next :: up ] libggi-current (3)
2006/11/09 16:51:02