/* Copyright (C) 1996 Aladdin Enterprises. All rights reserved. This file is part of AFPL Ghostscript. AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author or distributor accepts any responsibility for the consequences of using it, or for whether it serves any particular purpose or works at all, unless he or she says so in writing. Refer to the Aladdin Free Public License (the "License") for full details. Every copy of AFPL Ghostscript must include a copy of the License, normally in a plain ASCII text file named PUBLIC. The License grants you the right to copy, modify and redistribute AFPL Ghostscript, but only under certain conditions described in the License. Among other things, the License requires that the copyright notice and this notice be preserved on all copies. */ /*$Id$ */ /* Definitions for color operand selection */ #ifndef gscsel_INCLUDED # define gscsel_INCLUDED /* * Define whether we are mapping a "source" or a "texture" color for * RasterOp. Right the source and texture only have separate halftone * phases in the graphics state, but someday they might have more. */ typedef enum { gs_color_select_all = -1, /* for setting only, not for reading */ gs_color_select_texture = 0, /* 0 is the one is used for currenthtphase */ gs_color_select_source = 1 } gs_color_select_t; #define gs_color_select_count 2 #endif /* gscsel_INCLUDED */