Mercurial > projects > doodle
diff fig/layer.d @ 26:06c30d250c0a
Cleanup
author | "David Bryant <bagnose@gmail.com>" |
---|---|
date | Thu, 16 Jul 2009 00:12:02 +0930 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fig/layer.d Thu Jul 16 00:12:02 2009 +0930 @@ -0,0 +1,23 @@ +module fig.layer; + +public { + import dia.icanvas; +} + +class Layer : dia.icanvas.Layer { + this(in string name) { + super(name); + } + + override Rectangle bounds() const { + return Rectangle.DEFAULT; + } + + void draw(in Viewport viewport, + in Rectangle pixel_damage, scope Context pixel_cr, + in Rectangle model_damage, scope Context model_cr) const { + } + + private { + } +}