1 /* Copyright (C) 1995, 1996, 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: gsrop.h,v 1.5 2002/06/16 08:45:42 lpd Exp $ */ 18 /* RasterOp / transparency procedure interface */ 19 20 #ifndef gsrop_INCLUDED 21 # define gsrop_INCLUDED 22 23 #include "gsropt.h" 24 25 /* Procedural interface */ 26 27 int gs_setrasterop(gs_state *, gs_rop3_t); 28 gs_rop3_t gs_currentrasterop(const gs_state *); 29 int gs_setsourcetransparent(gs_state *, bool); 30 bool gs_currentsourcetransparent(const gs_state *); 31 int gs_settexturetransparent(gs_state *, bool); 32 bool gs_currenttexturetransparent(const gs_state *); 33 34 /* Save/restore the combined logical operation. */ 35 gs_logical_operation_t gs_current_logical_op(const gs_state *); 36 int gs_set_logical_op(gs_state *, gs_logical_operation_t); 37 38 #endif /* gsrop_INCLUDED */ 39