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