/* Copyright (C) 2001 artofcode LLC. This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of the license contained in the file LICENSE in this distribution. For more information about licensing, please refer to http://www.ghostscript.com/licensing/. For information on commercial licensing, go to http://www.artifex.com/licensing/ or contact Artifex Software, Inc., 101 Lucas Valley Road #110, San Rafael, CA 94903, U.S.A., +1(415)492-9861. Author: Raph Levien */ /* $Id: zdfilter.c,v 1.6 2002/08/22 07:12:29 henrys Exp $ */ /* PostScript operators for managing the device filter stack */ /* We probably don't need all of these, they were copied from zdevice.c. */ #include "string_.h" #include "ghost.h" #include "oper.h" #include "ialloc.h" #include "idict.h" #include "igstate.h" #include "iname.h" #include "interp.h" #include "iparam.h" #include "ivmspace.h" #include "gsmatrix.h" #include "gsstate.h" #include "gxdevice.h" #include "store.h" #include "gsdfilt.h" /* pushpdf14devicefilter is defined in ztrans.c */ /* - .popdevicefilter - */ private int zpopdevicefilter(i_ctx_t *i_ctx_p) { gs_memory_t *mem = gs_memory_stable(imemory); return gs_pop_device_filter(mem, igs); } const op_def zdfilter_op_defs[] = { {"0.popdevicefilter", zpopdevicefilter}, op_def_end(0) };