1 /* Copyright (C) 1995, 1998, 1999 Aladdin Enterprises. All rights reserved. 2 3 This software is provided AS-IS with no warranty, either express or 4 implied. 5 6 This software is distributed under license and may not be copied, 7 modified or distributed except as expressly authorized under the terms 8 of the license contained in the file LICENSE in this distribution. 9 10 For more information about licensing, please refer to 11 http://www.ghostscript.com/licensing/. For information on 12 commercial licensing, go to http://www.artifex.com/licensing/ or 13 contact Artifex Software, Inc., 101 Lucas Valley Road #110, 14 San Rafael, CA 94903, U.S.A., +1(415)492-9861. 15 */ 16 17 /* $Id: gscpm.h,v 1.5 2005/05/23 14:59:28 igor Exp $ */ 18 /* Charpath mode and cache device status definitions */ 19 20 #ifndef gscpm_INCLUDED 21 # define gscpm_INCLUDED 22 23 typedef enum { 24 cpm_show, /* *show (default, must be 0) */ 25 cpm_charwidth, /* stringwidth rmoveto (not standard PS) */ 26 cpm_false_charpath, /* false charpath */ 27 cpm_true_charpath, /* true charpath */ 28 cpm_false_charboxpath, /* false charboxpath (not standard PS) */ 29 cpm_true_charboxpath /* true charboxpath (ditto) */ 30 } gs_char_path_mode; 31 32 typedef enum { 33 CACHE_DEVICE_NONE = 0, /* default, must be 0 */ 34 CACHE_DEVICE_NOT_CACHING, /* setcachedevice done but not caching */ 35 CACHE_DEVICE_NONE_AND_CLIP, /* setcachedevice done, not caching and applied gsave and clip */ 36 CACHE_DEVICE_CACHING /* setcachedevice done and caching */ 37 } gs_in_cache_device_t; 38 39 #endif /* gscpm_INCLUDED */ 40