ggiDrawLine(3ggi)

ggiDrawLine3ggi

Draw a line on a visual

Usage

#include <ggi/ggi.h>

int ggiDrawLine(ggi_visual_t vis, int x, int y, int xe, int ye); .SH "DESCRIPTION"

Draws any line, using the current foreground color, from (x,y) to (xe,ye). The line is exact; the pixel set is no more than 0.5 pixels off the place it should be.

Return value

This function returns 0 to indicate success.

Releases

3 releases since Debian 2.1 (Slink); the text changed 2 times.

  1. 2.1
  2. 2.2
  3. 3.0

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