Mercurial > projects > doodle
comparison doodle/dia/icanvas.d @ 36:188397ef9a12
Late night tinkering
author | David Bryant <bagnose@gmail.com> |
---|---|
date | Sun, 30 Aug 2009 23:36:31 +0930 |
parents | 3f6bb0bb22dc |
children | f2e4e1d29b98 |
comparison
equal
deleted
inserted
replaced
35:3f6bb0bb22dc | 36:188397ef9a12 |
---|---|
50 } | 50 } |
51 | 51 |
52 interface Grid { | 52 interface Grid { |
53 void zoom_changed(double zoom); | 53 void zoom_changed(double zoom); |
54 | 54 |
55 // TODO | 55 // TODO inout? |
56 bool snap(in Point a, out Point b) const; | 56 bool snap(in Point a, out Point b) const; |
57 } | |
58 | |
59 interface Page { | |
60 // TODO | |
57 } | 61 } |
58 | 62 |
59 abstract class Layer { | 63 abstract class Layer { |
60 this(in string name) { | 64 this(in string name) { |
61 mName = name; | 65 mName = name; |