comparison doodle/gtk/cairo.d @ 73:6f2525e170f2

Cairo/OpenGL checkpoint
author "David Bryant <bagnose@gmail.com>"
date Sun, 15 Aug 2010 01:02:15 +0930
parents
children 78bc2046256e
comparison
equal deleted inserted replaced
72:5cc2de64f6d0 73:6f2525e170f2
1 module doodle.gtk.cairo;
2
3 public {
4 import doodle.tk.drawing;
5 }
6
7 /*
8 final class CairoDrawing : Drawing {
9 this(Context cr) {
10 assert(cr);
11 _cr = cr;
12 }
13
14 // Drawing overrides:
15
16 void pushState() {
17 _cr.save;
18 }
19
20 void popState() {
21 _cr.restore;
22 }
23
24 private {
25 Context _cr;
26 }
27 }
28 */