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. More...

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

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

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

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

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

void caca_clear (void)
 Clear the screen. More...

int caca_set_window_title (char const *title)
 Set the window title. More...

unsigned int caca_get_window_width (void)
 Get the window width. More...

unsigned int caca_get_window_height (void)
 Get the window height. More...

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

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

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


Detailed Description

Version:
$Id: graphics.c 258 2004-01-26 10:52:30Z sam $
Author:
Sam Hocevar <sam@zoy.org>

This file contains character and string drawing functions.