Mercurial > projects > doodle
diff cairo/routines.d @ 22:17c2df87b459
Package refactoring.
author | "David Bryant <bagnose@gmail.com>" |
---|---|
date | Wed, 15 Jul 2009 23:31:29 +0930 |
parents | cairo_support.d@9e63308b749c |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cairo/routines.d Wed Jul 15 23:31:29 2009 +0930 @@ -0,0 +1,11 @@ +module cairo.routines; + +public { + import tk.geometry; + import cairo.Context; +} + +void rectangle(Context cr, Rectangle rectangle) { + cr.rectangle(rectangle.position.x, rectangle.position.y, + rectangle.size.x, rectangle.size.y); +}