~ubuntu-branches/ubuntu/hardy/ghostscript/hardy

« back to all changes in this revision

Viewing changes to src/gdevm4.c

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2007-11-22 12:17:43 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071122121743-cd70s3ypq0r243mp
Tags: 8.61.dfsg.1-0ubtuntu1
* New upstream release
  o Final 8.61 release
* debian/patches/09_ijs_krgb_support.dpatch: Adapted to upstream changes.
* debian/rules: Updated CUPS-related variables for "make install" calls.
* debian/rules: Remove /usr/include/ghostscript from the ghostscript
  package, they go into lings-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
   or contact Artifex Software, Inc.,  7 Mt. Lassen Drive - Suite A-134,
11
11
   San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
12
12
*/
13
 
/* $Id: gdevm4.c 8170 2007-08-02 08:53:09Z leonardo $ */
 
13
/* $Id: gdevm4.c 8250 2007-09-25 13:31:24Z giles $ */
14
14
/* 4-bit-per-pixel "memory" (stored bitmap) device */
15
15
#include "memory_.h"
16
16
#include "gx.h"
48
48
 
49
49
 
50
50
/* Fill a rectangle with a color. */
51
 
private int
 
51
static int
52
52
mem_mapped4_fill_rectangle(gx_device * dev,
53
53
                           int x, int y, int w, int h, gx_color_index color)
54
54
{
61
61
}
62
62
 
63
63
/* Copy a bitmap. */
64
 
private int
 
64
static int
65
65
mem_mapped4_copy_mono(gx_device * dev,
66
66
               const byte * base, int sourcex, int sraster, gx_bitmap_id id,
67
67
        int x, int y, int w, int h, gx_color_index zero, gx_color_index one)
205
205
}
206
206
 
207
207
/* Copy a color bitmap. */
208
 
private int
 
208
static int
209
209
mem_mapped4_copy_color(gx_device * dev,
210
210
               const byte * base, int sourcex, int sraster, gx_bitmap_id id,
211
211
                       int x, int y, int w, int h)
242
242
                gx_no_strip_copy_rop, mem_word_get_bits_rectangle);
243
243
 
244
244
/* Fill a rectangle with a color. */
245
 
private int
 
245
static int
246
246
mem4_word_fill_rectangle(gx_device * dev, int x, int y, int w, int h,
247
247
                         gx_color_index color)
248
248
{
261
261
}
262
262
 
263
263
/* Copy a bitmap. */
264
 
private int
 
264
static int
265
265
mem4_word_copy_mono(gx_device * dev,
266
266
               const byte * base, int sourcex, int sraster, gx_bitmap_id id,
267
267
        int x, int y, int w, int h, gx_color_index zero, gx_color_index one)
283
283
}
284
284
 
285
285
/* Copy a color bitmap. */
286
 
private int
 
286
static int
287
287
mem4_word_copy_color(gx_device * dev,
288
288
               const byte * base, int sourcex, int sraster, gx_bitmap_id id,
289
289
                     int x, int y, int w, int h)