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

« back to all changes in this revision

Viewing changes to src/gdevm24.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: gdevm24.c 8022 2007-06-05 22:23:38Z giles $ */
 
13
/* $Id: gdevm24.c 8250 2007-09-25 13:31:24Z giles $ */
14
14
/* 24-bit-per-pixel "memory" (stored bitmap) device */
15
15
#include "memory_.h"
16
16
#include "gx.h"
54
54
 
55
55
/* Procedures */
56
56
declare_mem_procs(mem_true24_copy_mono, mem_true24_copy_color, mem_true24_fill_rectangle);
57
 
private dev_proc_copy_alpha(mem_true24_copy_alpha);
 
57
static dev_proc_copy_alpha(mem_true24_copy_alpha);
58
58
 
59
59
/* The device descriptor. */
60
60
const gx_device_memory mem_true24_device =
99
99
#endif
100
100
 
101
101
/* Fill a rectangle with a color. */
102
 
private int
 
102
static int
103
103
mem_true24_fill_rectangle(gx_device * dev,
104
104
                          int x, int y, int w, int h, gx_color_index color)
105
105
{
339
339
}
340
340
 
341
341
/* Copy a monochrome bitmap. */
342
 
private int
 
342
static int
343
343
mem_true24_copy_mono(gx_device * dev,
344
344
               const byte * base, int sourcex, int sraster, gx_bitmap_id id,
345
345
        int x, int y, int w, int h, gx_color_index zero, gx_color_index one)
456
456
}
457
457
 
458
458
/* Copy a color bitmap. */
459
 
private int
 
459
static int
460
460
mem_true24_copy_color(gx_device * dev,
461
461
               const byte * base, int sourcex, int sraster, gx_bitmap_id id,
462
462
                      int x, int y, int w, int h)
469
469
}
470
470
 
471
471
/* Copy an alpha map. */
472
 
private int
 
472
static int
473
473
mem_true24_copy_alpha(gx_device * dev, const byte * base, int sourcex,
474
474
                   int sraster, gx_bitmap_id id, int x, int y, int w, int h,
475
475
                      gx_color_index color, int depth)
532
532
                gx_no_strip_copy_rop, mem_word_get_bits_rectangle);
533
533
 
534
534
/* Fill a rectangle with a color. */
535
 
private int
 
535
static int
536
536
mem24_word_fill_rectangle(gx_device * dev, int x, int y, int w, int h,
537
537
                          gx_color_index color)
538
538
{
550
550
}
551
551
 
552
552
/* Copy a bitmap. */
553
 
private int
 
553
static int
554
554
mem24_word_copy_mono(gx_device * dev,
555
555
               const byte * base, int sourcex, int sraster, gx_bitmap_id id,
556
556
        int x, int y, int w, int h, gx_color_index zero, gx_color_index one)
572
572
}
573
573
 
574
574
/* Copy a color bitmap. */
575
 
private int
 
575
static int
576
576
mem24_word_copy_color(gx_device * dev,
577
577
               const byte * base, int sourcex, int sraster, gx_bitmap_id id,
578
578
                      int x, int y, int w, int h)