Logo Search packages:      
Sourcecode: libcaca version File versions  Download package

Primitives drawing


Detailed Description

These functions provide routines for primitive drawing, such as lines, boxes, triangles and ellipses.


Functions

void caca_draw_box (int, int, int, int, char)
 Draw a box on the screen using the given character.
void caca_draw_circle (int, int, int, char)
 Draw a circle on the screen using the given character.
void caca_draw_ellipse (int, int, int, int, char)
 Draw an ellipse on the screen using the given character.
void caca_draw_line (int, int, int, int, char)
 Draw a line on the screen using the given character.
void caca_draw_polyline (int const x[], int const y[], int, char)
 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_box (int, int, int, int)
 Draw a thin box on the screen.
void caca_draw_thin_ellipse (int, int, int, int)
 Draw a thin ellipse on the screen.
void caca_draw_thin_line (int, int, int, int)
 Draw a thin line on the screen, using ASCII art.
void caca_draw_thin_polyline (int const x[], int const y[], int)
 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.
void caca_draw_thin_triangle (int, int, int, int, int, int)
 Draw a thin triangle on the screen.
void caca_draw_triangle (int, int, int, int, int, int, char)
 Draw a triangle on the screen using the given character.
void caca_fill_box (int, int, int, int, char)
 Fill a box on the screen using the given character.
void caca_fill_ellipse (int, int, int, int, char)
 Fill an ellipse on the screen using the given character.
void caca_fill_triangle (int, int, int, int, int, int, char)
 Fill a triangle on the screen using the given character.


Generated by  Doxygen 1.6.0   Back to index