/* Copyright (C) 2001-2006 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of that license. Refer to licensing information at http://www.artifex.com/ or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. */ /* $Id$ */ /* Client interface to color routines */ #ifndef gscolor_INCLUDED # define gscolor_INCLUDED #include "gxtmap.h" /* Color and gray interface */ int gs_setgray(gs_state *, floatp); int gs_currentgray(const gs_state *, float *); int gs_setrgbcolor(gs_state *, floatp, floatp, floatp); int gs_currentrgbcolor(const gs_state *, float[3]); int gs_setnullcolor(gs_state *); /* Transfer function */ int gs_settransfer(gs_state *, gs_mapping_proc); int gs_settransfer_remap(gs_state *, gs_mapping_proc, bool); gs_mapping_proc gs_currenttransfer(const gs_state *); #endif /* gscolor_INCLUDED */