1 /* Copyright (C) 2001-2006 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, modified
8    or distributed except as expressly authorized under the terms of that
9    license.  Refer to licensing information at http://www.artifex.com/
10    or contact Artifex Software, Inc.,  7 Mt. Lassen Drive - Suite A-134,
11    San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
12 */
13 
14 /* $Id: gscpm.h 8022 2007-06-05 22:23:38Z giles $ */
15 /* Charpath mode and cache device status definitions */
16 
17 #ifndef gscpm_INCLUDED
18 #  define gscpm_INCLUDED
19 
20 typedef enum {
21     cpm_show,			/* *show (default, must be 0) */
22     cpm_charwidth,		/* stringwidth rmoveto (not standard PS) */
23     cpm_false_charpath,		/* false charpath */
24     cpm_true_charpath,		/* true charpath */
25     cpm_false_charboxpath,	/* false charboxpath (not standard PS) */
26     cpm_true_charboxpath	/* true charboxpath (ditto) */
27 } gs_char_path_mode;
28 
29 typedef enum {
30     CACHE_DEVICE_NONE = 0,	/* default, must be 0 */
31     CACHE_DEVICE_NOT_CACHING,	/* setcachedevice done but not caching */
32     CACHE_DEVICE_NONE_AND_CLIP, /* setcachedevice done, not caching and applied gsave and clip */
33     CACHE_DEVICE_CACHING	/* setcachedevice done and caching */
34 } gs_in_cache_device_t;
35 
36 #endif /* gscpm_INCLUDED */
37