12345678910111213141516171819202122232425262728293031323334353637 |
- /* Copyright (C) 1991, 2000 Aladdin Enterprises. 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 the license contained in the file LICENSE in this distribution.
-
- For more information about licensing, please refer to
- http://www.ghostscript.com/licensing/. For information on
- commercial licensing, go to http://www.artifex.com/licensing/ or
- contact Artifex Software, Inc., 101 Lucas Valley Road #110,
- San Rafael, CA 94903, U.S.A., +1(415)492-9861.
- */
- /* $Id: gscolor.h,v 1.6 2002/06/16 08:45:42 lpd Exp $ */
- /* 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 */
|