Mercurial > projects > doodle
comparison doodle/fig/diagram_layer.d @ 101:523269b36711
Update to dmd 2.050
author | David Bryant <bagnose@gmail.com> |
---|---|
date | Thu, 28 Oct 2010 16:35:11 +1030 |
parents | a274d16ab6ce |
children |
comparison
equal
deleted
inserted
replaced
100:a274d16ab6ce | 101:523269b36711 |
---|---|
20 // Layer overrides: | 20 // Layer overrides: |
21 | 21 |
22 override Rectangle bounds() const { | 22 override Rectangle bounds() const { |
23 // Take the union of all diagram element bounds | 23 // Take the union of all diagram element bounds |
24 /* | 24 /* |
25 Rectangle bounds = Rectangle.DEFAULT; | 25 Rectangle bounds; |
26 foreach (element; _elements) { bounds = bounds | element.bounds; } | 26 foreach (element; _elements) { bounds = bounds | element.bounds; } |
27 */ | 27 */ |
28 return Rectangle(); | 28 return Rectangle(); |
29 } | 29 } |
30 | 30 |