comparison doodle/dia/icanvas.d @ 34:c2f11e1d7470

Geometry cleanup and checkpoint.
author David Bryant <bagnose@gmail.com>
date Sun, 30 Aug 2009 15:32:12 +0930
parents 1754cb773d41
children 3f6bb0bb22dc
comparison
equal deleted inserted replaced
33:157b4ad5615d 34:c2f11e1d7470
15 15
16 interface Viewport { 16 interface Viewport {
17 void zoom_relative(in Point pixel_datum, in double factor); 17 void zoom_relative(in Point pixel_datum, in double factor);
18 void pan_relative(in Vector pixel_displacement); 18 void pan_relative(in Vector pixel_displacement);
19 void set_cursor(in Cursor cursor); 19 void set_cursor(in Cursor cursor);
20
21 // FIXME get rid of these and accumulate damage during event handling
20 void damage_model(in Rectangle area); // FIXME could be an inout parameter of the event handling, or a special scope Damage object that supports growth only 22 void damage_model(in Rectangle area); // FIXME could be an inout parameter of the event handling, or a special scope Damage object that supports growth only
21 void damage_pixel(in Rectangle area); // FIXME as above 23 void damage_pixel(in Rectangle area); // FIXME as above
22 24
23 /* 25 /*
24 // FIXME not sure about these: 26 // FIXME not sure about these: