diff options
author | Henry Stiles <henry.stiles@artifex.com> | 1998-07-26 07:36:41 +0000 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 1998-07-26 07:36:41 +0000 |
commit | eec0ef527f18c5978c4476c9490f4de4c4249628 (patch) | |
tree | 5588d5e1300a245186594893c930949a19bcbbce /gs/src/icsmap.h | |
parent | d4bdba93ef34f68d27148e1b31088d1d3e786e8c (diff) | |
download | ghostpdl-eec0ef527f18c5978c4476c9490f4de4c4249628.tar.gz |
Initial revision
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@246 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'gs/src/icsmap.h')
-rw-r--r-- | gs/src/icsmap.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gs/src/icsmap.h b/gs/src/icsmap.h new file mode 100644 index 000000000..d8f33e73e --- /dev/null +++ b/gs/src/icsmap.h @@ -0,0 +1,34 @@ +/* Copyright (C) 1994 Aladdin Enterprises. All rights reserved. + + This file is part of Aladdin Ghostscript. + + Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author + or distributor accepts any responsibility for the consequences of using it, + or for whether it serves any particular purpose or works at all, unless he + or she says so in writing. Refer to the Aladdin Ghostscript Free Public + License (the "License") for full details. + + Every copy of Aladdin Ghostscript must include a copy of the License, + normally in a plain ASCII text file named PUBLIC. The License grants you + the right to copy, modify and redistribute Aladdin Ghostscript, but only + under certain conditions described in the License. Among other things, the + License requires that the copyright notice and this notice be preserved on + all copies. +*/ + +/* icsmap.h */ +/* Interface to shared routines for loading the cached color space maps. */ + +/* + * Set up to load a cached map for an Indexed or substituted Separation + * color space. The implementation is in zcsindex.c. When the map1 + * procedure is called, the following structure is on the e_stack: + */ +#define num_csme 5 +# define csme_num_components (-4) /* t_integer */ +# define csme_map (-3) /* t_struct (bytes) */ +# define csme_proc (-2) /* -procedure- */ +# define csme_hival (-1) /* t_integer */ +# define csme_index 0 /* t_integer */ +int zcs_begin_map(P5(gs_indexed_map **pmap, const ref *pproc, int num_entries, + const gs_base_color_space *base_space, int (*map1)(P1(os_ptr)))); |