annotate cairo/routines.d @ 26:06c30d250c0a

Cleanup
author "David Bryant <bagnose@gmail.com>"
date Thu, 16 Jul 2009 00:12:02 +0930
parents a24c13bb9c98
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
a24c13bb9c98 Builds again.
"David Bryant <bagnose@gmail.com>"
parents: 23
diff changeset
1 module cairo.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
26
06c30d250c0a Cleanup
"David Bryant <bagnose@gmail.com>"
parents: 24
diff changeset
8 void rectangle(scope Context cr, in 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 }