Functions | |
| int | caca_init (void) |
| Initialise libcaca. | |
| unsigned int | caca_get_width (void) |
| Get the screen width. | |
| unsigned int | caca_get_height (void) |
| Get the screen height. | |
| char const * | caca_get_color_name (enum caca_color color) |
| Translate a colour index into the colour's name. | |
| enum caca_feature | caca_get_feature (enum caca_feature feature) |
| Get the current value of a feature. | |
| void | caca_set_feature (enum caca_feature feature) |
| Set a feature. | |
| char const * | caca_get_feature_name (enum caca_feature feature) |
| Translate a feature value into the feature's name. | |
| void | caca_end (void) |
| Uninitialise libcaca. | |
|
|
This function translates a caca_color enum into a human-readable description string of the associated colour.
|
|
|
This function retrieves the value of an internal libcaca feature. A generic feature value is expected, such as CACA_ANTIALIASING.
|
|
|
This function translates a caca_feature enum into a human-readable description string of the associated feature.
|
|
|
This function sets an internal libcaca feature such as the antialiasing or dithering modes. If a specific feature such as CACA_DITHERING_RANDOM, caca_set_feature() will set it immediately. If a generic feature is given instead, such as CACA_DITHERING, the default value will be used instead.
|