Mercurial > projects > doodle
view cairo_support.d @ 10:71ca82e0eb76
Checkpoint
author | "David Bryant <bagnose@gmail.com>" |
---|---|
date | Sat, 11 Jul 2009 22:49:41 +0930 |
parents | 7d57cae10805 |
children | fb571a3b1f0d |
line wrap: on
line source
module cairo_support; import tk.geometry; import cairo.Context; void draw_rectangle(Context cr, Rectangle rectangle) { cr.rectangle(rectangle.position.x, rectangle.position.y, rectangle.size.x, rectangle.size.y); }