Send commitlog mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:

   1. r3075 - in
      trunk/src/target/OM-2007.2/libraries/moko-gtk-engine: . src
      ([EMAIL PROTECTED])
--- Begin Message ---
Author: chris
Date: 2007-10-03 14:30:29 +0200 (Wed, 03 Oct 2007)
New Revision: 3075

Modified:
   trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/ChangeLog
   trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/src/moko-draw.c
Log:
Shift the offset to make the pattern less uniform-looking


Modified: trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/ChangeLog      
2007-10-02 16:39:07 UTC (rev 3074)
+++ trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/ChangeLog      
2007-10-03 12:30:29 UTC (rev 3075)
@@ -1,3 +1,8 @@
+2007-10-03  Chris Lord  <[EMAIL PROTECTED]>
+
+       * src/moko-draw.c: (moko_dither16):
+       Shift the offset to make the pattern less uniform-looking
+
 2007-10-02  Chris Lord  <[EMAIL PROTECTED]>
 
        * src/moko-draw.c: (moko_dither16), (moko_gradient):

Modified: trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/src/moko-draw.c
===================================================================
--- trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/src/moko-draw.c        
2007-10-02 16:39:07 UTC (rev 3074)
+++ trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/src/moko-draw.c        
2007-10-03 12:30:29 UTC (rev 3075)
@@ -73,10 +73,10 @@
 
   sum = (c1d.red + c1d.green + c1d.blue) >> 8;
   gdk_gc_set_function (gcd, GDK_SET);
-  gdk_draw_rectangle (dither, gcd, TRUE, 0, 0, 17, 1);
+  gdk_draw_line (dither, gcd, 0, 0, 17, 0);
   gdk_gc_set_function (gcd, GDK_CLEAR);
   for (x = 0; x < sum; x ++) {
-    gdk_draw_point (dither, gcd, ((x+i) * 11) % 18, 0);
+    gdk_draw_point (dither, gcd, ((x+(i<<3)) * 11) % 18, 0);
   }
 
   c1d.red = c1->red + 0x800;




--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to