ggiGetPixel(3ggi)

ggiGetPixel3ggi

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

Part of ggiDrawPixel(3ggi).

Usage

#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 col);

int ggiGetPixel(ggi_visual_t vis, int x, int y, ggi_pixel *col); .SH "DESCRIPTION"

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

Return value

All three functions return 0 to indicate success.

Releases

2 releases since Debian 2.2 (Potato); the text changed 1 time.

  1. 2.2
  2. 3.0

From libggi2-dev 1:2.0.1-2 in Debian 3.0 (Woody). Parsed by carta from the page's man source.