Data Structures | |
struct | stp_color |
struct | stp_colorfuncs_t |
Typedefs | |
typedef stp_color | stp_color_t |
Functions | |
int | stp_color_init (stp_vars_t *v, stp_image_t *image, size_t steps) |
int | stp_color_get_row (stp_vars_t *v, stp_image_t *image, int row, unsigned *zero_mask) |
stp_parameter_list_t | stp_color_list_parameters (const stp_vars_t *v) |
void | stp_color_describe_parameter (const stp_vars_t *v, const char *name, stp_parameter_t *description) |
int | stp_color_register (const stp_color_t *color) |
int | stp_color_unregister (const stp_color_t *color) |
int | stp_color_count (void) |
Get the number of available color modules. | |
const stp_color_t * | stp_get_color_by_name (const char *name) |
Get a color module by its name. | |
const stp_color_t * | stp_get_color_by_index (int idx) |
Get a color module by its index number. | |
const stp_color_t * | stp_get_color_by_colorfuncs (stp_colorfuncs_t *colorfuncs) |
const char * | stp_color_get_name (const stp_color_t *c) |
Get the short (untranslated) name of a color module. | |
const char * | stp_color_get_long_name (const stp_color_t *c) |
Get the long (translated) name of a color module. |
Color modules provide the actual functionality, so different colour management modules may provide the application with different services (for example, colour profiles).
|
|
|
Get the number of available color modules.
Definition at line 71 of file color.c. References stp_erprintf(), stp_list_get_length(), and stpi_init_color_list(). |
|
Definition at line 215 of file color.c. References stp_colorfuncs_t::describe_parameter, stp_get_color_by_name(), stp_get_color_conversion(), and stpi_get_colorfuncs(). Referenced by stp_describe_parameter(). |
|
Get the long (translated) name of a color module.
Definition at line 135 of file color.c. References check_color(), gettext, and stp_color::long_name. |
|
Get the short (untranslated) name of a color module.
Definition at line 127 of file color.c. References check_color(), and stp_color::short_name. |
|
Definition at line 196 of file color.c. References stp_colorfuncs_t::get_row, stp_get_color_by_name(), stp_get_color_conversion(), and stpi_get_colorfuncs(). Referenced by canon_do_print(), escp2_print_data(), lexmark_do_print(), olympus_do_print(), pcl_do_print(), ps_print_internal(), and raw_print(). |
|
Definition at line 186 of file color.c. References stp_colorfuncs_t::init, stp_get_color_by_name(), stp_get_color_conversion(), and stpi_get_colorfuncs(). Referenced by canon_do_print(), escp2_print_page(), lexmark_do_print(), olympus_do_print(), pcl_do_print(), ps_print_internal(), and raw_print(). |
|
Definition at line 207 of file color.c. References stp_colorfuncs_t::list_parameters, stp_get_color_by_name(), stp_get_color_conversion(), and stpi_get_colorfuncs(). Referenced by stp_get_parameter_list(). |
|
Definition at line 225 of file color.c. References check_color(), stp_color::short_name, STP_DBG_COLORFUNC, stp_deprintf(), stp_get_color_by_name(), stp_list_item_create(), and stpi_init_color_list(). Referenced by color_traditional_module_init(). |
|
Definition at line 253 of file color.c. References check_color(), stp_color::short_name, STP_DBG_COLORFUNC, stp_list_get_start(), stp_list_item_destroy(), stp_list_item_get_data(), stp_list_item_next(), and stpi_init_color_list(). Referenced by color_traditional_module_exit(). |
|
Definition at line 166 of file color.c. References check_list(), stp_color::colorfuncs, stp_list_get_start(), stp_list_item_get_data(), and stp_list_item_next(). |
|
Get a color module by its index number.
Definition at line 95 of file color.c. References check_list(), stp_list_get_item_by_index(), and stp_list_item_get_data(). |
|
Get a color module by its name.
Definition at line 153 of file color.c. References check_list(), stp_list_get_item_by_name(), and stp_list_item_get_data(). Referenced by stp_color_describe_parameter(), stp_color_get_row(), stp_color_init(), stp_color_list_parameters(), and stp_color_register(). |