Ignore:
Timestamp:
Apr 1, 2006, 5:02:05 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Removed CUCUL_BACKGROUND, CUCUL_ANTIALIASING and CUCUL_DITHERING environment variables handling. Replaced that with three per-bitmap functions: cucul_set_bitmap_antialias(), cucul_set_bitmap_color() and cucul_set_bitmap_dithering().
  • Added cucul_set_bitmap_brightness() and cucul_set_bitmap_contrast() prototypes (but did not implement them yet).
  • Added cucul_set_bitmap_charset() to choose what characters are going to be used for the bitmap rendering.
  • Removed the now useless cucul_get_feature(), cucul_set_feature() etc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca.h

    r710 r711  
    3131 *  ncurses (through Cygwin emulation) or conio. There is also a native X11
    3232 *  driver, and an OpenGL driver (through freeglut) that does not require a
    33  *  text terminal. For machines without a screen, and with a valid tcp stack,
    34  *  the network driver (BSD sockets) should perfectly fit your needs.
     33 *  text terminal. For machines without a screen, the raw driver can be used
     34 *  to send the output to another machine, using for instance cacaserver.
    3535 *
    3636 *  \e libcaca is free software, released under the Do What The Fuck You
     
    5252 *
    5353 *  Some environment variables can be used to change the behaviour of
    54  *  \e libcaca or \e libcucul without having to modify the program which
    55  *  uses them. These variables are:
     54 *  \e libcaca without having to modify the program which uses them. These
     55 *  variables are:
    5656 *
    5757 *  \li \b CACA_DRIVER: set the backend video driver. In order of preference:
     
    6161 *      - \c x11 uses the native X11 driver.
    6262 *      - \c gl uses freeglut and opengl libraries.
    63  *      - \c network uses BSD sockets calls.
    64  *
    65  *  \li \b CUCUL_BACKGROUND: set the background type.
    66  *      - \c solid uses solid coloured backgrounds for all characters. This
    67  *        feature does not work with all terminal emulators. This is the
    68  *        default choice.
    69  *      - \c black uses only black backgrounds to render characters.
    70  *
    71  *  \li \b CUCUL_ANTIALIASING: set the antialiasing mode. Antialiasing
    72  *      smoothens the rendered image and avoids the commonly seen staircase
    73  *      effect.
    74  *      - \c none disables antialiasing.
    75  *      - \c prefilter uses a simple prefilter antialiasing method. This is
    76  *        the default choice.
    77  *
    78  *  \li \b CUCUL_DITHERING: set the dithering mode. Dithering is necessary
    79  *      when rendering a picture that has more colours than the usually
    80  *      available palette.
    81  *      - \c none disables dithering.
    82  *      - \c ordered2 uses a 2x2 Bayer matrix for dithering.
    83  *      - \c ordered4 uses a 4x4 Bayer matrix for dithering. This is the
    84  *        default choice.
    85  *      - \c ordered8 uses a 8x8 Bayer matrix for dithering.
    86  *      - \c random uses random dithering.
     63 *      - \c raw outputs to the standard output instead of rendering the
     64 *        canvas. This is can be used together with cacaserver.
    8765 *
    8866 *  \li \b CACA_GEOMETRY: set the video display size. The format of this
Note: See TracChangeset for help on using the changeset viewer.