1 /* Copyright (C) 2001-2019 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., 1305 Grant Avenue - Suite 200, Novato, 13 CA 94945, U.S.A., +1(415)492-9861, for further information. 14 */ 15 16 17 /* Common definitions for "object filter" device */ 18 19 #ifndef gdev_obj_filter_INCLUDED 20 # define gdev_obj_filter_INCLUDED 21 22 #ifndef gxdevice_INCLUDED 23 #include "gxdevice.h" 24 #endif 25 26 typedef struct gx_device_s gx_device_obj_filter; 27 28 /* Initialize a object filter device. */ 29 void gx_device_obj_filter_init(gx_device_obj_filter * dev); 30 31 typedef struct { 32 subclass_common; 33 } obj_filter_subclass_data; 34 35 typedef struct obj_filter_text_enum_s { 36 gs_text_enum_common; 37 } obj_filter_text_enum_t; 38 #define private_st_obj_filter_text_enum()\ 39 extern_st(st_gs_text_enum);\ 40 gs_private_st_suffix_add0(st_obj_filter_text_enum, obj_filter_text_enum_t,\ 41 "obj_filter_text_enum_t", obj_filter_text_enum_enum_ptrs, obj_filter_text_enum_reloc_ptrs,\ 42 st_gs_text_enum) 43 44 extern_st(st_device_obj_filter); 45 #define public_st_device_obj_filter() /* in gdevoflt.c */\ 46 47 #endif /* gdev_obj_filter_INCLUDED */ 48