diff options
author | Henry Stiles <henry.stiles@artifex.com> | 2011-05-09 14:47:48 -0600 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 2011-05-09 14:47:48 -0600 |
commit | df4e669177f7757a5c054084f4990599bef5c355 (patch) | |
tree | b1aaf7609299fbdcb11ab1a9d3bc59a4b2dfcd16 | |
parent | e55d362f3370b4bff0d72dc58c4b7a08b0dba71a (diff) |
Remove unused file should have been committed with e55d362f.
-rw-r--r-- | gs/base/gsnorop.c | 122 |
1 files changed, 0 insertions, 122 deletions
diff --git a/gs/base/gsnorop.c b/gs/base/gsnorop.c deleted file mode 100644 index fe26b4353..000000000 --- a/gs/base/gsnorop.c +++ /dev/null @@ -1,122 +0,0 @@ -/* Copyright (C) 2001-2006 Artifex Software, Inc. - All Rights Reserved. - - 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 that - license. Refer to licensing information at http://www.artifex.com/ - or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, - San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. -*/ - -/* $Id$ */ -/* Stubs for unimplemented RasterOp */ -#include "gx.h" -#include "gserrors.h" -#include "gsrop.h" -#include "gxdevcli.h" -#include "gxdevice.h" /* for gx_default_*copy_rop prototypes */ -#include "gxdevmem.h" /* for gdevmem.h */ -#include "gdevmem.h" /* for mem_*_strip_copy_rop prototypes */ -#include "gdevmrop.h" - -/* Stub accessors to logical operation in graphics state. */ - -gs_logical_operation_t -gs_current_logical_op(const gs_state * pgs) -{ - return lop_default; -} - -int -gs_set_logical_op(gs_state * pgs, gs_logical_operation_t lop) -{ - return (lop == lop_default ? 0 : gs_note_error(gs_error_rangecheck)); -} - -/* Stub RasterOp implementations for memory devices. */ - -int -mem_mono_strip_copy_rop(gx_device * dev, - const byte * sdata, int sourcex, uint sraster, gx_bitmap_id id, - const gx_color_index * scolors, - const gx_strip_bitmap * textures, const gx_color_index * tcolors, - int x, int y, int width, int height, - int phase_x, int phase_y, gs_logical_operation_t lop) -{ - return_error(gs_error_rangecheck); -} - -int -mem_gray_strip_copy_rop(gx_device * dev, - const byte * sdata, int sourcex, uint sraster, gx_bitmap_id id, - const gx_color_index * scolors, - const gx_strip_bitmap * textures, const gx_color_index * tcolors, - int x, int y, int width, int height, - int phase_x, int phase_y, gs_logical_operation_t lop) -{ - return_error(gs_error_rangecheck); -} - -int -mem_gray8_rgb24_strip_copy_rop(gx_device * dev, - const byte * sdata, int sourcex, uint sraster, gx_bitmap_id id, - const gx_color_index * scolors, - const gx_strip_bitmap * textures, const gx_color_index * tcolors, - int x, int y, int width, int height, - int phase_x, int phase_y, gs_logical_operation_t lop) -{ - return_error(gs_error_rangecheck); -} - -/* Stub default implementations of device procedures. */ - -int -gx_default_copy_rop(gx_device * dev, - const byte * sdata, int sourcex, uint sraster, gx_bitmap_id id, - const gx_color_index * scolors, - const gx_tile_bitmap * texture, const gx_color_index * tcolors, - int x, int y, int width, int height, - int phase_x, int phase_y, gs_logical_operation_t lop) -{ - return_error(gs_error_unknownerror); /* not implemented */ -} - -int -gx_default_strip_copy_rop(gx_device * dev, - const byte * sdata, int sourcex, uint sraster, gx_bitmap_id id, - const gx_color_index * scolors, - const gx_strip_bitmap * textures, const gx_color_index * tcolors, - int x, int y, int width, int height, - int phase_x, int phase_y, gs_logical_operation_t lop) -{ - return_error(gs_error_unknownerror); /* not implemented */ -} - -int -mem_default_strip_copy_rop(gx_device * dev, - const byte * sdata, int sourcex, uint sraster, gx_bitmap_id id, - const gx_color_index * scolors, - const gx_strip_bitmap * textures, const gx_color_index * tcolors, - int x, int y, int width, int height, - int phase_x, int phase_y, gs_logical_operation_t lop) -{ - return_error(gs_error_unknownerror); /* not implemented */ -} - -/* Stub RasterOp source devices. */ - -int -gx_alloc_rop_texture_device(gx_device_rop_texture ** prsdev, gs_memory_t * mem, - client_name_t cname) -{ - return_error(gs_error_rangecheck); -} - -void -gx_make_rop_texture_device(gx_device_rop_texture * dev, gx_device * target, - gs_logical_operation_t log_op, const gx_device_color * texture) -{ /* Never called. */ -} |