comparison doodle/gtk/cairo_canvas.d @ 85:98980cee8c5b

More work trying to support OpenGL as a renderer
author daveb
date Mon, 16 Aug 2010 17:59:42 +0930
parents cdd4fc728d94
children 100dd23c7bdf
comparison
equal deleted inserted replaced
84:cdd4fc728d94 85:98980cee8c5b
33 33
34 import std.math; 34 import std.math;
35 import std.stdio; 35 import std.stdio;
36 } 36 }
37 37
38 final class Canvas : Table, private IViewport { 38 final class CairoCanvas : Table, private IViewport {
39 this(in Layer[] layers, IEventHandler eventHandler, IGrid grid, in double pixelsPerMillimetre) { 39 this(in Layer[] layers, IEventHandler eventHandler, IGrid grid, in double pixelsPerMillimetre) {
40 super(3, 3, 0); 40 super(3, 3, 0);
41 41
42 _damageScreen = Rectangle.DEFAULT; 42 _damageScreen = Rectangle.DEFAULT;
43 43