Changeset 823 for libcaca/trunk/caca
- Timestamp:
- Apr 21, 2006, 6:27:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca/caca.h
r819 r823 19 19 * This header contains the public types and functions that applications 20 20 * using \e libcaca may use. 21 */22 23 /** \mainpage libcaca developer documentation24 *25 * \section intro Introduction26 *27 * \e libcaca is a graphics library that outputs text instead of pixels,28 * so that it can work on older video cards or text terminals. It is not29 * unlike the famous AAlib library. \e libcaca can use almost any virtual30 * terminal to work, thus it should work on all Unix systems (including31 * Mac OS X) using either the slang library or the ncurses library, on DOS32 * using the conio library, and on Windows systems using either slang or33 * ncurses (through Cygwin emulation) or conio. There is also a native X1134 * driver, and an OpenGL driver (through freeglut) that does not require a35 * text terminal. For machines without a screen, the raw driver can be used36 * to send the output to another machine, using for instance cacaserver.37 *38 * \e libcaca is free software, released under the Do What The Fuck You39 * Want To Public License. This ensures that no one, not even the \e libcaca40 * developers, will ever have anything to say about what you do with the41 * software. It used to be licensed under the GNU Lesser General Public42 * License, but that was not free enough.43 *44 * \section api The libcaca API45 *46 * \e libcaca relies on a low-level, device independent library, called47 * \e libcucul. \e libcucul can be used alone as a simple ASCII and/or48 * Unicode compositing canvas.49 *50 * The complete \e libcucul and \e libcaca programming interface is51 * available from the cucul.h and caca.h headers.52 *53 * \section env Environment variables54 *55 * Some environment variables can be used to change the behaviour of56 * \e libcaca without having to modify the program which uses them. These57 * variables are:58 *59 * \li \b CACA_DRIVER: set the backend video driver. In order of preference:60 * - \c conio uses the DOS conio.h interface.61 * - \c ncurses uses the ncurses library.62 * - \c slang uses the S-Lang library.63 * - \c x11 uses the native X11 driver.64 * - \c gl uses freeglut and opengl libraries.65 * - \c raw outputs to the standard output instead of rendering the66 * canvas. This is can be used together with cacaserver.67 *68 * \li \b CACA_GEOMETRY: set the video display size. The format of this69 * variable must be XxY, with X and Y being integer values. This option70 * currently works with the network, X11 and GL drivers.71 *72 * \li \b CACA_FONT: set the rendered font. The format of this variable is73 * implementation dependent, but since it currently only works with the74 * X11 driver, an X11 font name such as "fixed" or "5x7" is expected.75 21 */ 76 22
Note: See TracChangeset
for help on using the changeset viewer.