[gegl] newsprint: shift texture coordinates to avoid edge artifact



commit a3b79d79a1799a4ddce0a7fe0c799f2d73b306d6
Author: Øyvind Kolås <pippin gimp org>
Date:   Sat Apr 22 17:14:21 2017 +0200

    newsprint: shift texture coordinates to avoid edge artifact

 operations/common/newsprint.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/operations/common/newsprint.c b/operations/common/newsprint.c
index 34f56b5..3aed485 100644
--- a/operations/common/newsprint.c
+++ b/operations/common/newsprint.c
@@ -134,6 +134,9 @@ float spachrotyze (
   int in = 0;
   float old_acc = 0.0;
 
+  x += period * 2;
+  y += period * 2;
+
   for (int i = 0; i < max_aa_samples ; i++)
   {
     xi = fmodf (xi + 0.618033988749854, 1.0);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]