PageRenderTime 20ms CodeModel.GetById 8ms app.highlight 10ms RepoModel.GetById 1ms app.codeStats 1ms

/binding/cairo/xlibrender.d

http://github.com/wilkie/djehuty
D | 54 lines | 5 code | 5 blank | 44 comment | 0 complexity | c3c1b2b6ffff20dc3b1b440e87aab293 MD5 | raw file
 1/*
 2 * xlibrender.d
 3 *
 4 * This file holds bindings to cairo's xlibrender.h. The original copyright
 5 * is displayed below, but does not pertain to this file.
 6 *
 7 * Author: Dave Wilkinson
 8 *
 9 */
10
11module binding.cairo.xlibrender;
12
13/* cairo - a vector graphics library with display and print output
14 *
15 * Copyright © 2002 University of Southern California
16 *
17 * This library is free software; you can redistribute it and/or
18 * modify it either under the terms of the GNU Lesser General Public
19 * License version 2.1 as published by the Free Software Foundation
20 * (the "LGPL") or, at your option, under the terms of the Mozilla
21 * Public License Version 1.1 (the "MPL"). If you do not alter this
22 * notice, a recipient may use your version of this file under either
23 * the MPL or the LGPL.
24 *
25 * You should have received a copy of the LGPL along with this library
26 * in the file COPYING-LGPL-2.1; if not, write to the Free Software
27 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 * You should have received a copy of the MPL along with this library
29 * in the file COPYING-MPL-1.1
30 *
31 * The contents of this file are subject to the Mozilla Public License
32 * Version 1.1 (the "License"); you may not use this file except in
33 * compliance with the License. You may obtain a copy of the License at
34 * http://www.mozilla.org/MPL/
35 *
36 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY
37 * OF ANY KIND, either express or implied. See the LGPL or the MPL for
38 * the specific language governing rights and limitations.
39 *
40 * The Original Code is the cairo graphics library.
41 *
42 * The Initial Developer of the Original Code is University of Southern
43 * California.
44 *
45 * Contributor(s):
46 *	Carl D. Worth <cworth@cworth.org>
47 */
48
49import binding.cairo.cairo;
50import binding.Xrender;
51
52
53extern(C):
54cairo_surface_t* cairo_xlib_surface_create_with_xrender_format (Display* dpy, Drawable drawable, Screen* screen, XRenderPictFormat* format, int width, int height);