comparison dia/page_layer.d @ 26:06c30d250c0a

Cleanup
author "David Bryant <bagnose@gmail.com>"
date Thu, 16 Jul 2009 00:12:02 +0930
parents a24c13bb9c98
children
comparison
equal deleted inserted replaced
25:8f58a8f88735 26:06c30d250c0a
20 20
21 override Rectangle bounds() const { 21 override Rectangle bounds() const {
22 return mPageGeometry; 22 return mPageGeometry;
23 } 23 }
24 24
25 override void draw(const Viewport viewport, 25 override void draw(in Viewport viewport,
26 in Rectangle pixel_damage, scope Context pixel_cr, 26 in Rectangle pixel_damage, scope Context pixel_cr,
27 in Rectangle model_damage, scope Context model_cr) const { 27 in Rectangle model_damage, scope Context model_cr) const {
28 // Make the paper white, with a border 28 // Make the paper white, with a border
29 29
30 model_cr.save; { 30 model_cr.save; {