2 |
- |
1 |
/* Copyright (C) 1998 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: gxropc.h,v 1.5 2002/06/16 08:45:43 lpd Exp $ */
|
|
|
18 |
/* Internals for RasterOp compositing */
|
|
|
19 |
|
|
|
20 |
#ifndef gxropc_INCLUDED
|
|
|
21 |
# define gxropc_INCLUDED
|
|
|
22 |
|
|
|
23 |
#include "gsropc.h"
|
|
|
24 |
#include "gxcomp.h"
|
|
|
25 |
|
|
|
26 |
/* Define RasterOp-compositing objects. */
|
|
|
27 |
typedef struct gs_composite_rop_s {
|
|
|
28 |
gs_composite_common;
|
|
|
29 |
gs_composite_rop_params_t params;
|
|
|
30 |
} gs_composite_rop_t;
|
|
|
31 |
|
|
|
32 |
#define private_st_composite_rop() /* in gsropc.c */\
|
|
|
33 |
gs_private_st_ptrs1(st_composite_rop, gs_composite_rop_t,\
|
|
|
34 |
"gs_composite_rop_t", composite_rop_enum_ptrs, composite_rop_reloc_ptrs,\
|
|
|
35 |
params.texture)
|
|
|
36 |
|
|
|
37 |
/*
|
|
|
38 |
* Initialize a RasterOp compositing function from parameters.
|
|
|
39 |
* We make this visible so that clients can allocate gs_composite_rop_t
|
|
|
40 |
* objects on the stack, to reduce memory manager overhead.
|
|
|
41 |
*/
|
|
|
42 |
void gx_init_composite_rop(gs_composite_rop_t * pcte,
|
|
|
43 |
const gs_composite_rop_params_t * params);
|
|
|
44 |
|
|
|
45 |
#endif /* gxropc_INCLUDED */
|