Mercurial > projects > dynamin
comparison dynamin/c/cairo_xlib.d @ 0:aa4efef0f0b1
Initial commit of code.
author | Jordan Miner <jminer7@gmail.com> |
---|---|
date | Mon, 15 Jun 2009 22:10:48 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:aa4efef0f0b1 |
---|---|
1 module dynamin.c.cairo_xlib; | |
2 | |
3 /* | |
4 * A complete binding to the xlib backend of | |
5 * the cairo graphics library version 1.3.16. | |
6 */ | |
7 | |
8 import dynamin.c.cairo; | |
9 import dynamin.c.xlib; | |
10 import dynamin.c.x_types; | |
11 | |
12 extern(C): | |
13 | |
14 cairo_surface_t* cairo_xlib_surface_create( | |
15 Display* dpy, | |
16 Drawable drawable, | |
17 Visual* visual, | |
18 int width, | |
19 int height); | |
20 | |
21 cairo_surface_t* cairo_xlib_surface_create_for_bitmap( | |
22 Display* dpy, | |
23 Pixmap bitmap, | |
24 Screen* screen, | |
25 int width, int height); | |
26 | |
27 void cairo_xlib_surface_set_size( | |
28 cairo_surface_t* surface, | |
29 int width, int height); | |
30 | |
31 void cairo_xlib_surface_set_drawable( | |
32 cairo_surface_t* surface, | |
33 Drawable drawable, | |
34 int width, int height); | |
35 | |
36 Display* cairo_xlib_surface_get_display(cairo_surface_t* surface); | |
37 | |
38 Drawable cairo_xlib_surface_get_drawable(cairo_surface_t* surface); | |
39 | |
40 Screen* cairo_xlib_surface_get_screen(cairo_surface_t* surface); | |
41 | |
42 Visual* cairo_xlib_surface_get_visual(cairo_surface_t* surface); | |
43 | |
44 int cairo_xlib_surface_get_depth(cairo_surface_t* surface); | |
45 | |
46 int cairo_xlib_surface_get_width(cairo_surface_t* surface); | |
47 | |
48 int cairo_xlib_surface_get_height(cairo_surface_t* surface); | |
49 |