Main Page | Modules | File List | Globals

graphics.c File Reference

Character drawing. More...


Functions

void caca_set_color (enum caca_color fgcolor, enum caca_color bgcolor)
 Set the default colour pair.

enum caca_color caca_get_fg_color (void)
 Get the current foreground colour.

enum caca_color caca_get_bg_color (void)
 Get the current background colour.

void caca_putchar (int x, int y, char c)
 Print a character.

void caca_putstr (int x, int y, char const *s)
 Print a string.

void caca_printf (int x, int y, char const *format,...)
 Format a string.

void caca_clear (void)
 Clear the screen.

void caca_set_delay (unsigned int usec)
 Set the refresh delay.

unsigned int caca_get_rendertime (void)
 Get the average rendering time.

void caca_refresh (void)
 Flush pending changes and redraw the screen.


Detailed Description

Version:
$Id: graphics.c 221 2004-01-07 17:19:36Z sam $
Author:
Sam Hocevar <sam@zoy.org>
This file contains character and string drawing functions.