1 /* Copyright (C) 2001-2019 Artifex Software, Inc. 2 All Rights Reserved. 3 4 This software is provided AS-IS with no warranty, either express or 5 implied. 6 7 This software is distributed under license and may not be copied, 8 modified or distributed except as expressly authorized under the terms 9 of the license contained in the file LICENSE in this distribution. 10 11 Refer to licensing information at http://www.artifex.com or contact 12 Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato, 13 CA 94945, U.S.A., +1(415)492-9861, for further information. 14 */ 15 16 17 /* Client interface to Level 1 extended color facilities */ 18 /* Requires gscolor.h */ 19 20 #ifndef gscolor1_INCLUDED 21 # define gscolor1_INCLUDED 22 23 #include "stdpre.h" 24 #include "gxtmap.h" 25 #include "gsgstate.h" 26 27 /* Color and gray interface */ 28 int gs_setcmykcolor(gs_gstate *, double, double, double, double), 29 gs_currentcmykcolor(const gs_gstate *, float[4]), 30 gs_setblackgeneration(gs_gstate *, gs_mapping_proc), 31 gs_setblackgeneration_remap(gs_gstate *, gs_mapping_proc, bool); 32 gs_mapping_proc gs_currentblackgeneration(const gs_gstate *); 33 int gs_setundercolorremoval(gs_gstate *, gs_mapping_proc), 34 gs_setundercolorremoval_remap(gs_gstate *, gs_mapping_proc, bool); 35 gs_mapping_proc gs_currentundercolorremoval(const gs_gstate *); 36 37 /* Transfer function */ 38 int gs_setcolortransfer(gs_gstate *, gs_mapping_proc /*red */ , 39 gs_mapping_proc /*green */ , 40 gs_mapping_proc /*blue */ , 41 gs_mapping_proc /*gray */ ), 42 gs_setcolortransfer_remap(gs_gstate *, gs_mapping_proc /*red */ , 43 gs_mapping_proc /*green */ , 44 gs_mapping_proc /*blue */ , 45 gs_mapping_proc /*gray */ , bool); 46 void gs_currentcolortransfer(const gs_gstate *, gs_mapping_proc[4]); 47 48 #endif /* gscolor1_INCLUDED */ 49