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