Mercurial > projects > doodle
comparison fig/layer.d @ 26:06c30d250c0a
Cleanup
author | "David Bryant <bagnose@gmail.com>" |
---|---|
date | Thu, 16 Jul 2009 00:12:02 +0930 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
25:8f58a8f88735 | 26:06c30d250c0a |
---|---|
1 module fig.layer; | |
2 | |
3 public { | |
4 import dia.icanvas; | |
5 } | |
6 | |
7 class Layer : dia.icanvas.Layer { | |
8 this(in string name) { | |
9 super(name); | |
10 } | |
11 | |
12 override Rectangle bounds() const { | |
13 return Rectangle.DEFAULT; | |
14 } | |
15 | |
16 void draw(in Viewport viewport, | |
17 in Rectangle pixel_damage, scope Context pixel_cr, | |
18 in Rectangle model_damage, scope Context model_cr) const { | |
19 } | |
20 | |
21 private { | |
22 } | |
23 } |