2 |
- |
1 |
/* Copyright (C) 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: ipcolor.h,v 1.5 2002/06/16 04:47:10 lpd Exp $ */
|
|
|
18 |
/* Interpreter definitions for Pattern color */
|
|
|
19 |
|
|
|
20 |
#ifndef ipcolor_INCLUDED
|
|
|
21 |
# define ipcolor_INCLUDED
|
|
|
22 |
|
|
|
23 |
/*
|
|
|
24 |
* Define the structure for remembering the pattern dictionary.
|
|
|
25 |
* This is the "client data" in the template.
|
|
|
26 |
* See zgstate.c (int_gstate) or zfont2.c (font_data) for information
|
|
|
27 |
* as to why we define this as a structure rather than a ref array.
|
|
|
28 |
*/
|
|
|
29 |
typedef struct int_pattern_s {
|
|
|
30 |
ref dict;
|
|
|
31 |
} int_pattern;
|
|
|
32 |
|
|
|
33 |
#define private_st_int_pattern() /* in zpcolor.c */\
|
|
|
34 |
gs_private_st_ref_struct(st_int_pattern, int_pattern, "int_pattern")
|
|
|
35 |
|
|
|
36 |
/* Create an interpreter pattern structure. */
|
|
|
37 |
int int_pattern_alloc(int_pattern **ppdata, const ref *op,
|
|
|
38 |
gs_memory_t *mem);
|
|
|
39 |
|
|
|
40 |
#endif /* ipcolor_INCLUDED */
|