Mercurial > projects > doodle
diff icanvas.d @ 20:d6e7a5a6f008
Checkpoint
author | "David Bryant <bagnose@gmail.com>" |
---|---|
date | Wed, 15 Jul 2009 23:23:02 +0930 |
parents | 22abbf4cde96 |
children |
line wrap: on
line diff
--- a/icanvas.d Mon Jul 13 22:08:18 2009 +0930 +++ b/icanvas.d Wed Jul 15 23:23:02 2009 +0930 @@ -5,8 +5,8 @@ import cairo.Context; interface Viewport { - void rel_zoom(Point pixel_datum, double factor); - void rel_pan(Vector pixel_displacement); + void zoom_relative(Point pixel_datum, double factor); + void pan_relative(Vector pixel_displacement); void damage_model(Rectangle area); // FIXME could be an inout parameter of the event handling, or a special scope Damage object that supports growth only void damage_pixel(Rectangle area); // FIXME as above