Changeset 1104 for libcaca


Ignore:
Timestamp:
Sep 25, 2006, 6:00:10 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • Fix enumeration layout in the manpage documentation.
Location:
libcaca/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/TODO

    r1095 r1104  
    1313  - Error distribution dithering
    1414  - Add a random factor to the random ditherer. No need to change the API
    15      for that, we can just pass "random:10" instead of "random" to the
     15     for that, we can just pass \c "random:10" instead of \c "random" to the
    1616     cucul_set_bitmap_dithering() function.
    1717  - Implement the colour modes set in cucul_set_bitmap_color(). For the
    18      moment only "full16" and "16" are implemented.
     18     moment only \c "full16" and \c "16" are implemented.
    1919  - Fix the thin ellipse rendering (currently it's only |s and -s, we
    2020     could make them smoother by using ' ` , etc).
  • libcaca/trunk/caca/caca.h

    r1006 r1104  
    4444 *  The \e type field is always valid. The validity of the \e data union
    4545 *  depends on the value of the \e type field:
    46  *
    47  *  \li \b CACA_EVENT_NONE: no other field is valid.
    48  *
    49  *  \li \b CACA_EVENT_KEY_PRESS, \b CACA_EVENT_KEY_RELEASE: the \e data.key.ch
     46 *  - \b CACA_EVENT_NONE: no other field is valid.
     47 *  - \b CACA_EVENT_KEY_PRESS, \b CACA_EVENT_KEY_RELEASE: the \e data.key.ch
    5048 *      field is valid and contains either the ASCII value for the key, or
    5149 *      an \e enum \e caca_key value. If the value is a printable ASCII
     
    5452 *      representations of the character. Otherwise, their content is
    5553 *      undefined.
    56  *
    57  *  \li \b CACA_EVENT_MOUSE_PRESS, \b CACA_EVENT_MOUSE_RELEASE: the
     54 *  - \b CACA_EVENT_MOUSE_PRESS, \b CACA_EVENT_MOUSE_RELEASE: the
    5855 *      \e data.mouse.button field is valid and contains the index of the
    5956 *      mouse button that was pressed.
    60  *
    61  *  \li \b CACA_EVENT_MOUSE_MOTION: the \e data.mouse.x and \e data.mouse.y
     57 *  - \b CACA_EVENT_MOUSE_MOTION: the \e data.mouse.x and \e data.mouse.y
    6258 *      fields are valid and contain the mouse coordinates in character
    6359 *      cells.
    64  *
    65  *  \li \b CACA_EVENT_RESIZE: the \e data.resize.w and \e data.resize.h
     60 *  - \b CACA_EVENT_RESIZE: the \e data.resize.w and \e data.resize.h
    6661 *      fields are valid and contain the new width and height values of
    6762 *      the \e libcucul canvas attached to \e libcaca.
    68  *
    69  *  \li \b CACA_EVENT_QUIT: no other field is valid.
     63 *  - \b CACA_EVENT_QUIT: no other field is valid.
    7064 *
    7165 *  The result of accessing data members outside the above conditions is
  • 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:
  • libcaca/trunk/cucul/export.c

    r1089 r1104  
    5050 *
    5151 *  Valid values for \c format are:
    52  *
    53  *  \li \c "caca": export native libcaca files.
    54  *
    55  *  \li \c "ansi": export ANSI art (CP437 charset with ANSI colour codes).
    56  *
    57  *  \li \c "html": export an HTML page with CSS information.
    58  *
    59  *  \li \c "html3": export an HTML table that should be compatible with
    60  *      most navigators, including textmode ones.
    61  *
    62  *  \li \c "irc": export UTF-8 text with mIRC colour codes.
    63  *
    64  *  \li \c "ps": export a PostScript document.
    65  *
    66  *  \li \c "svg": export an SVG vector image.
    67  *
    68  *  \li \c "tga": export a TGA image.
     52 *  - \c "caca": export native libcaca files.
     53 *  - \c "ansi": export ANSI art (CP437 charset with ANSI colour codes).
     54 *  - \c "html": export an HTML page with CSS information.
     55 *  - \c "html3": export an HTML table that should be compatible with
     56 *    most navigators, including textmode ones.
     57 *  - \c "irc": export UTF-8 text with mIRC colour codes.
     58 *  - \c "ps": export a PostScript document.
     59 *  - \c "svg": export an SVG vector image.
     60 *  - \c "tga": export a TGA image.
    6961 *
    7062 *  If an error occurs, NULL is returned and \b errno is set accordingly:
  • libcaca/trunk/cucul/import.c

    r1098 r1104  
    5252 *
    5353 *  Valid values for \c format are:
    54  *
    55  *  \li \c "": attempt to autodetect the file format.
    56  *
    57  *  \li \c "ansi": import ANSI files.
    58  *
    59  *  \li \c "caca": import native libcaca files.
     54 *  - \c "": attempt to autodetect the file format.
     55 *  - \c "ansi": import ANSI files.
     56 *  - \c "caca": import native libcaca files.
    6057 *
    6158 *  If an error occurs, NULL is returned and \b errno is set accordingly:
Note: See TracChangeset for help on using the changeset viewer.