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 /* gdevdsp2.c */ 17 18 #ifndef gdevdsp2_INCLUDED 19 # define gdevdsp2_INCLUDED 20 21 #include "gdevdevn.h" 22 #include "gdevdsp.h" 23 24 typedef struct gx_device_display_s gx_device_display; 25 26 #define gx_device_display_common\ 27 gx_device_memory *mdev;\ 28 display_callback *callback;\ 29 void *pHandle;\ 30 int nFormat;\ 31 void *pBitmap;\ 32 unsigned long ulBitmapSize;\ 33 int HWResolution_set;\ 34 gs_devn_params devn_params;\ 35 equivalent_cmyk_color_params equiv_cmyk_colors 36 37 /* The device descriptor */ 38 struct gx_device_display_s { 39 gx_device_common; 40 gx_device_display_common; 41 }; 42 43 extern_st(st_device_display); 44 #define public_st_device_display() /* in gdevdsp.c */\ 45 gs_public_st_composite_use_final(st_device_display, gx_device_display,\ 46 "gx_device_display", display_enum_ptrs, display_reloc_ptrs,\ 47 gx_device_finalize) 48 49 #endif /* gdevdsp2_INCLUDED */ 50