NAME
line.c - Line drawing.
SYNOPSIS
Functions
void caca_draw_line (int x1, int y1, int x2, int y2, char c)
Draw a line on the screen using the given character. void caca_draw_polyline (int const x[], int const y[], int n, char c)
Draw a polyline on the screen using the given character and coordinate arrays. The first and last points are not connected, so in order to draw a polygon you need to specify the starting point at the end of the list as well. void caca_draw_thin_line (int x1, int y1, int x2, int y2)
Draw a thin line on the screen, using ASCII art. void caca_draw_thin_polyline (int const x[], int const y[], int n)
Draw a thin polyline on the screen using the given coordinate arrays and with ASCII art. The first and last points are not connected, so in order to draw a polygon you need to specify the starting point at the end of the list as well.
Detailed Description
Version:
$Id: line.c 219 2004-01-07 12:45:02Z sam $
Author:
Sam Hocevar <[email protected]>
This file contains line and polyline drawing functions, with both thin and thick styles.
Author
Generated automatically by Doxygen for libcaca from the source code.