~ubuntu-branches/ubuntu/trusty/gimp/trusty

« back to all changes in this revision

Viewing changes to plug-ins/common/noise-spread.c

  • Committer: Bazaar Package Importer
  • Author(s): Ari Pollak
  • Date: 2009-08-14 09:57:17 UTC
  • mto: (1.1.21 upstream) (0.1.5 squeeze)
  • mto: This revision was merged to the branch mainline in revision 48.
  • Revision ID: james.westby@ubuntu.com-20090814095717-37dh2xqy5t0rurpk
ImportĀ upstreamĀ versionĀ 2.6.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
275
275
  param.width    = drawable->width;
276
276
  param.height   = drawable->height;
277
277
 
 
278
  gimp_pixel_fetcher_set_edge_mode(param.pft, GIMP_PIXEL_FETCHER_EDGE_BLACK);
278
279
  iter = gimp_rgn_iterator_new (drawable, 0);
279
280
  gimp_rgn_iterator_dest (iter, spread_func, &param);
280
281
  gimp_rgn_iterator_free (iter);
304
305
                                                1) + 1) / 2;
305
306
  param.width    = drawable->width;
306
307
  param.height   = drawable->height;
 
308
  gimp_pixel_fetcher_set_edge_mode(param.pft, GIMP_PIXEL_FETCHER_EDGE_BLACK);
307
309
 
308
310
  gimp_preview_get_size (preview, &width, &height);
309
311