diff biro/routines.d @ 23:d5cd97f55cb6

Blah
author "David Bryant <bagnose@gmail.com>"
date Wed, 15 Jul 2009 23:33:54 +0930
parents cairo/routines.d@17c2df87b459
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/biro/routines.d	Wed Jul 15 23:33:54 2009 +0930
@@ -0,0 +1,11 @@
+module biro.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);
+}