blob: 7ca835812fe400257d28381682ffeb0c03c73a4a [file] [log] [blame]
/* Copyright (C) 1989 Aladdin Enterprises. All rights reserved.
Distributed by Free Software Foundation, Inc.
This file is part of Ghostscript.
Ghostscript is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY. No author or distributor accepts responsibility
to anyone for the consequences of using it or for whether it serves any
particular purpose or works at all, unless he says so in writing. Refer
to the Ghostscript General Public License for full details.
Everyone is granted permission to copy, modify and redistribute
Ghostscript, but only under the conditions described in the Ghostscript
General Public License. A copy of this license is supposed to have been
given to you along with Ghostscript so you can know your rights and
responsibilities. It should be in a file named COPYING. Among other
things, the copyright notice and this notice must be preserved on all
copies. */
/* state.h */
/* GhostScript graphics state definition */
/* Note that from the interpreter's point of view, */
/* the graphics state is opaque, i.e. the interpreter is */
/* just another client of the library. */
/* The interpreter requires additional items in the graphics state: */
typedef struct int_state_s int_state;
struct int_state_s {
int_state *saved; /* previous int_state from gsave */
ref screen_proc; /* halftone screen procedure */
ref transfer; /* gray transfer procedure */
ref show_proc; /* device show procedure */
ref font; /* font object (dictionary) */
};
extern int_state istate;
extern gs_state *igs;