annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
"David Bryant <bagnose@gmail.com>"
parents: 22
diff changeset
1 module biro.routines;
2
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
2
16
9e63308b749c * Fix up public/private includes
David Bryant <daveb@acres.com.au>
parents: 11
diff changeset
3 public {
9e63308b749c * Fix up public/private includes
David Bryant <daveb@acres.com.au>
parents: 11
diff changeset
4 import tk.geometry;
9e63308b749c * Fix up public/private includes
David Bryant <daveb@acres.com.au>
parents: 11
diff changeset
5 import cairo.Context;
9e63308b749c * Fix up public/private includes
David Bryant <daveb@acres.com.au>
parents: 11
diff changeset
6 }
2
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
7
11
fb571a3b1f0d Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 10
diff changeset
8 void rectangle(Context cr, Rectangle rectangle) {
10
71ca82e0eb76 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 3
diff changeset
9 cr.rectangle(rectangle.position.x, rectangle.position.y,
71ca82e0eb76 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 3
diff changeset
10 rectangle.size.x, rectangle.size.y);
2
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
11 }