diff options
author | Ralph Giles <ralph.giles@artifex.com> | 2008-08-29 18:46:21 +0000 |
---|---|---|
committer | Ralph Giles <ralph.giles@artifex.com> | 2008-08-29 18:46:21 +0000 |
commit | 6ff2582d038f99b79178082b200bdfe73f734456 (patch) | |
tree | 6db04fc72813760fdc6912a15875ad83d57943df /gs/base/gxdcconv.h | |
parent | 9d36ee856e41244d3cf0469fc0004d21e6911994 (diff) |
Split the source tree into two new directories.
PSSRC files are now in 'gs/psi'.
GLSRC files are now in 'gs/base'.
This is to facilitate build modularization and merging in the ghostpdl
tree.
NOTE: msvc32.mak is now in psi, not src.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@9048 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/base/gxdcconv.h')
-rw-r--r-- | gs/base/gxdcconv.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gs/base/gxdcconv.h b/gs/base/gxdcconv.h new file mode 100644 index 000000000..b7596123a --- /dev/null +++ b/gs/base/gxdcconv.h @@ -0,0 +1,32 @@ +/* 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$ */ +/* Internal device color conversion interfaces */ + +#ifndef gxdcconv_INCLUDED +# define gxdcconv_INCLUDED + +#include "gxfrac.h" + +/* Color space conversion routines */ +frac color_rgb_to_gray(frac r, frac g, frac b, + const gs_imager_state * pis); +void color_rgb_to_cmyk(frac r, frac g, frac b, + const gs_imager_state * pis, frac cmyk[4]); +frac color_cmyk_to_gray(frac c, frac m, frac y, frac k, + const gs_imager_state * pis); +void color_cmyk_to_rgb(frac c, frac m, frac y, frac k, + const gs_imager_state * pis, frac rgb[3]); + +#endif /* gxdcconv_INCLUDED */ |