Mercurial > projects > doodle
comparison 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 |
comparison
equal
deleted
inserted
replaced
21:993ac3a183c8 | 22:17c2df87b459 |
---|---|
1 module cairo.routines; | |
2 | |
3 public { | |
4 import tk.geometry; | |
5 import cairo.Context; | |
6 } | |
7 | |
8 void rectangle(Context cr, Rectangle rectangle) { | |
9 cr.rectangle(rectangle.position.x, rectangle.position.y, | |
10 rectangle.size.x, rectangle.size.y); | |
11 } |