diff doodle/dia/grid_layer.d @ 80:b759414d2b72

Switched from cairo to Drawable abstraction
author "David Bryant <bagnose@gmail.com>"
date Sun, 15 Aug 2010 23:43:04 +0930
parents c03ed75c0f8e
children d92b9f04b1e8
line wrap: on
line diff
--- a/doodle/dia/grid_layer.d	Sun Aug 15 23:18:05 2010 +0930
+++ b/doodle/dia/grid_layer.d	Sun Aug 15 23:43:04 2010 +0930
@@ -32,8 +32,9 @@
         return Rectangle();
     }
 
-    override void draw(in Rectangle pixelDamage, scope Context pixelCr,
-                       in Rectangle modelDamage, scope Context modelCr) const {
+    override void draw(in Rectangle screenDamage, scope Drawable screenDrawable,
+                       in Rectangle modelDamage, scope Drawable modelDrawable) const {
+        /+
         assert(_zoomValid);
 
         double xx = 1.0, yy = 1.0;
@@ -86,6 +87,7 @@
                 }
             }
         } modelCr.restore();
+        +/
     }
 
     // IGrid overrides: