~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to app/core/gimpdrawable-invert.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* The GIMP -- an image manipulation program
 
1
/* GIMP - The GNU Image Manipulation Program
2
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
48
48
 
49
49
  lut = invert_lut_new (gimp_drawable_bytes (drawable));
50
50
 
51
 
  pixel_region_init (&srcPR, gimp_drawable_data (drawable),
52
 
                     x, y, width, height, FALSE);
53
 
  pixel_region_init (&destPR, gimp_drawable_shadow (drawable),
54
 
                     x, y, width, height, TRUE);
 
51
  pixel_region_init (&srcPR, gimp_drawable_get_tiles (drawable),
 
52
                     x, y, width, height, FALSE);
 
53
  pixel_region_init (&destPR, gimp_drawable_get_shadow_tiles (drawable),
 
54
                     x, y, width, height, TRUE);
55
55
 
56
 
  pixel_regions_process_parallel ((p_func)gimp_lut_process, lut,
57
 
                                  2, &srcPR, &destPR);
 
56
  pixel_regions_process_parallel ((PixelProcessorFunc) gimp_lut_process,
 
57
                                  lut, 2, &srcPR, &destPR);
58
58
 
59
59
  gimp_lut_free (lut);
60
60