comparison doodle/dia/layer_stack.d @ 129:10ad5417bf07

Checkpoint
author David Bryant <bagnose@gmail.com>
date Thu, 12 Jan 2012 16:42:16 +1030
parents a274d16ab6ce
children bc5baa585b32
comparison
equal deleted inserted replaced
128:bc4d29c7499c 129:10ad5417bf07
3 public { 3 public {
4 import doodle.dia.icanvas; 4 import doodle.dia.icanvas;
5 } 5 }
6 6
7 final class LayerStack { 7 final class LayerStack {
8 this(in Layer[] layers) { 8 this(Layer[] layers) {
9 _layers = layers.dup; 9 _layers = layers.dup;
10 } 10 }
11 11
12 Rectangle bounds() const { 12 Rectangle bounds() const {
13 // Take the union of all layer bounds 13 // Take the union of all layer bounds