소스 검색

* src/caca.h:

+ Documented environment variables.
tags/v0.99.beta14
Sam Hocevar sam 21 년 전
부모
커밋
8b39e0b46b
1개의 변경된 파일29개의 추가작업 그리고 0개의 파일을 삭제
  1. +29
    -0
      src/caca.h

+ 29
- 0
src/caca.h 파일 보기

@@ -48,6 +48,35 @@
*
* The complete \e libcaca programming interface is available from the
* caca.h file.
*
* \section env Environment variables
*
* Some environment variables can be used to change the behaviour of
* \e libcaca without having to modify the program which uses it. These
* variables are:
*
* \li \b CACA_BACKGROUND: set the background type.
* - \c solid uses solid coloured backgrounds for all characters. This
* feature does not work with all terminal emulators. This is the
* default choice.
* - \c black uses only black backgrounds to render characters.
*
* \li \b CACA_ANTIALIASING: set the antialiasing mode. Antialiasing
* smoothens the rendered image and avoids the commonly seen staircase
* effect.
* - \c none disables antialiasing.
* - \c prefilter uses a simple prefilter antialiasing method. This is
* the default choice.
*
* \li \b CACA_DITHERING: set the dithering mode. Dithering is necessary
* when rendering a picture that has more colours than the usually
* available palette.
* - \c none disables dithering.
* - \c ordered2 uses a 2x2 bayer matrix for dithering.
* - \c ordered4 uses a 4x4 bayer matrix for dithering. This is the
* default choice.
* - \c ordered8 uses a 8x8 bayer matrix for dithering.
* - \c random uses random dithering.
*/

#ifndef __CACA_H__


불러오는 중...
취소
저장