ggiDrawLine(3)

ggiDrawLine3

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

Overview

Draws any line, using the current foreground color set by ggiSetGCForeground(3), 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

4 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0

From libggi2-dev 1:2.2.2-5 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.