Mercurial > projects > doodle
diff doodle/fig/diagram_elements.d @ 67:31d10176415d
Checkpoint
author | daveb |
---|---|
date | Fri, 13 Aug 2010 15:28:04 +0930 |
parents | 43cc2135ced0 |
children | 6f2525e170f2 |
line wrap: on
line diff
--- a/doodle/fig/diagram_elements.d Thu Aug 12 22:43:42 2010 +0930 +++ b/doodle/fig/diagram_elements.d Fri Aug 13 15:28:04 2010 +0930 @@ -34,10 +34,10 @@ class GraphConnector { } -class GraphNode : GraphElement { +final class GraphNode : GraphElement { } -class GraphEdge : GraphElement { +final class GraphEdge : GraphElement { private { GraphConnector[2] _anchors; } @@ -63,7 +63,7 @@ } */ -class RectanglePrimitive : GraphicPrimitive { +final class RectanglePrimitive : GraphicPrimitive { override void draw(in Rectangle damage, scope Context cr) const { rectangle(cr, bounds); }