Ignore:
Timestamp:
Sep 25, 2006, 6:00:10 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Fix enumeration layout in the manpage documentation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/dither.c

    r1004 r1104  
    490490 *  Tell the renderer whether to antialias the dither. Antialiasing smoothens
    491491 *  the rendered image and avoids the commonly seen staircase effect.
    492  *
    493  *  \li \c "none": no antialiasing.
    494  *
    495  *  \li \c "prefilter" or \c "default": simple prefilter antialiasing. This
    496  *      is the default value.
     492 *  - \c "none": no antialiasing.
     493 *  - \c "prefilter" or \c "default": simple prefilter antialiasing. This
     494 *    is the default value.
    497495 *
    498496 *  If an error occurs, -1 is returned and \b errno is set accordingly:
     
    551549 *  Tell the renderer which colours should be used to render the
    552550 *  bitmap. Valid values for \c str are:
    553  *
    554  *  \li \c "mono": use light gray on a black background.
    555  *
    556  *  \li \c "gray": use white and two shades of gray on a black background.
    557  *
    558  *  \li \c "8": use the 8 ANSI colours on a black background.
    559  *
    560  *  \li \c "16": use the 16 ANSI colours on a black background.
    561  *
    562  *  \li \c "fullgray": use black, white and two shades of gray for both the
    563  *      characters and the background.
    564  *
    565  *  \li \c "full8": use the 8 ANSI colours for both the characters and the
    566  *      background.
    567  *
    568  *  \li \c "full16" or \c "default": use the 16 ANSI colours for both the
    569  *      characters and the background. This is the default value.
     551 *  - \c "mono": use light gray on a black background.
     552 *  - \c "gray": use white and two shades of gray on a black background.
     553 *  - \c "8": use the 8 ANSI colours on a black background.
     554 *  - \c "16": use the 16 ANSI colours on a black background.
     555 *  - \c "fullgray": use black, white and two shades of gray for both the
     556 *    characters and the background.
     557 *  - \c "full8": use the 8 ANSI colours for both the characters and the
     558 *    background.
     559 *  - \c "full16" or \c "default": use the 16 ANSI colours for both the
     560 *    characters and the background. This is the default value.
    570561 *
    571562 *  If an error occurs, -1 is returned and \b errno is set accordingly:
     
    639630 *  Tell the renderer which characters should be used to render the
    640631 *  dither. Valid values for \c str are:
    641  *
    642  *  \li \c "ascii" or "default": use only ASCII characters. This is the
    643  *      default value.
    644  *
    645  *  \li \c "shades": use Unicode characters "U+2591 LIGHT SHADE", "U+2592
    646  *      MEDIUM SHADE" and "U+2593 DARK SHADE". These characters are also
    647  *      present in the CP437 codepage available on DOS and VGA.
    648  *
    649  *  \li \c "blocks": use Unicode quarter-cell block combinations. These
    650  *      characters are only found in the Unicode set.
     632 *  - \c "ascii" or \c "default": use only ASCII characters. This is the
     633 *    default value.
     634 *  - \c "shades": use Unicode characters "U+2591 LIGHT SHADE", "U+2592
     635 *    MEDIUM SHADE" and "U+2593 DARK SHADE". These characters are also
     636 *    present in the CP437 codepage available on DOS and VGA.
     637 *  - \c "blocks": use Unicode quarter-cell block combinations. These
     638 *    characters are only found in the Unicode set.
    651639 *
    652640 *  If an error occurs, -1 is returned and \b errno is set accordingly:
     
    717705 *  necessary because the picture being rendered has usually far more colours
    718706 *  than the available palette. Valid values for \c str are:
    719  *
    720  *  \li \c "none": no dithering is used, the nearest matching colour is used.
    721  *
    722  *  \li \c "ordered2": use a 2x2 Bayer matrix for dithering.
    723  *
    724  *  \li \c "ordered4": use a 4x4 Bayer matrix for dithering.
    725  *
    726  *  \li \c "ordered8": use a 8x8 Bayer matrix for dithering.
    727  *
    728  *  \li \c "random": use random dithering.
    729  *
    730  *  \li \c "fstein": use Floyd-Steinberg dithering. This is the default value.
     707 *  - \c "none": no dithering is used, the nearest matching colour is used.
     708 *  - \c "ordered2": use a 2x2 Bayer matrix for dithering.
     709 *  - \c "ordered4": use a 4x4 Bayer matrix for dithering.
     710 *  - \c "ordered8": use a 8x8 Bayer matrix for dithering.
     711 *  - \c "random": use random dithering.
     712 *  - \c "fstein": use Floyd-Steinberg dithering. This is the default value.
    731713 *
    732714 *  If an error occurs, -1 is returned and \b errno is set accordingly:
Note: See TracChangeset for help on using the changeset viewer.