|
mupdf
|


Go to the source code of this file.
Typedefs | |
| typedef struct fz_separations | fz_separations |
Enumerations | |
| enum | { FZ_MAX_SEPARATIONS = 64 } |
| enum | fz_separation_behavior { FZ_SEPARATION_COMPOSITE = 0 , FZ_SEPARATION_SPOT = 1 , FZ_SEPARATION_DISABLED = 2 } |
| typedef struct fz_separations fz_separations |
| anonymous enum |
| void fz_add_separation | ( | fz_context * | ctx, |
| fz_separations * | sep, | ||
| const char * | name, | ||
| fz_colorspace * | cs, | ||
| int | cs_channel ) |
Add a separation (null terminated name, colorspace)
| void fz_add_separation_equivalents | ( | fz_context * | ctx, |
| fz_separations * | sep, | ||
| uint32_t | rgba, | ||
| uint32_t | cmyk, | ||
| const char * | name ) |
Add a separation with equivalents (null terminated name, colorspace)
(old, deprecated)
| fz_separations * fz_clone_separations_for_overprint | ( | fz_context * | ctx, |
| fz_separations * | seps ) |
Return a separations object with all the spots in the input separations object that are set to composite, reset to be enabled. If there ARE no spots in the object, this returns NULL. If the object already has all its spots enabled, then just returns another handle on the same object.
| int fz_compare_separations | ( | fz_context * | ctx, |
| const fz_separations * | sep1, | ||
| const fz_separations * | sep2 ) |
Compare 2 separations structures (or NULLs).
Return 0 if identical, non-zero if not identical.
| void fz_convert_separation_colors | ( | fz_context * | ctx, |
| fz_colorspace * | src_cs, | ||
| const float * | src_color, | ||
| fz_separations * | dst_seps, | ||
| fz_colorspace * | dst_cs, | ||
| float * | dst_color, | ||
| fz_color_params | color_params ) |
Convert a color given in terms of one colorspace, to a color in terms of another colorspace/separations.
| int fz_count_active_separations | ( | fz_context * | ctx, |
| const fz_separations * | seps ) |
Return the number of active separations.
| int fz_count_separations | ( | fz_context * | ctx, |
| const fz_separations * | sep ) |
| void fz_drop_separations | ( | fz_context * | ctx, |
| fz_separations * | sep ) |
Decrement the reference count for a separations structure. When the reference count hits zero, the separations structure is freed.
Never throws exceptions.
| fz_separations * fz_keep_separations | ( | fz_context * | ctx, |
| fz_separations * | sep ) |
Increment the reference count for a separations structure. Returns the same pointer.
Never throws exceptions.
| fz_separations * fz_new_separations | ( | fz_context * | ctx, |
| int | controllable ) |
Create a new separations structure (initially empty)
| fz_separation_behavior fz_separation_current_behavior | ( | fz_context * | ctx, |
| const fz_separations * | sep, | ||
| int | separation ) |
Test for the current behavior of a separation.
| void fz_separation_equivalent | ( | fz_context * | ctx, |
| const fz_separations * | seps, | ||
| int | idx, | ||
| fz_colorspace * | dst_cs, | ||
| float * | dst_color, | ||
| fz_colorspace * | prf, | ||
| fz_color_params | color_params ) |
Get the equivalent separation color in a given colorspace.
| const char * fz_separation_name | ( | fz_context * | ctx, |
| const fz_separations * | sep, | ||
| int | separation ) |
| void fz_set_separation_behavior | ( | fz_context * | ctx, |
| fz_separations * | sep, | ||
| int | separation, | ||
| fz_separation_behavior | behavior ) |
Control the rendering of a given separation.