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