cairo 1.14.1-x64-mingw32 → 1.14.2-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of cairo might be problematic. Click here for more details.

Files changed (215) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS +21 -0
  3. data/Rakefile +17 -6
  4. data/ext/cairo/cairo.def +1 -0
  5. data/ext/cairo/extconf.rb +23 -10
  6. data/ext/cairo/rb_cairo.c +3 -0
  7. data/ext/cairo/rb_cairo.h +3 -3
  8. data/ext/cairo/rb_cairo_context.c +1 -1
  9. data/ext/cairo/rb_cairo_io.c +4 -0
  10. data/ext/cairo/rb_cairo_io.h +2 -0
  11. data/ext/cairo/rb_cairo_pattern.c +4 -4
  12. data/ext/cairo/rb_cairo_private.h +2 -0
  13. data/ext/cairo/rb_cairo_surface.c +64 -232
  14. data/lib/2.0/cairo.so +0 -0
  15. data/lib/2.1/cairo.so +0 -0
  16. data/lib/2.2/cairo.so +0 -0
  17. data/lib/cairo.rb +20 -19
  18. data/lib/cairo/region.rb +14 -0
  19. data/test/test_region.rb +26 -0
  20. data/vendor/local/bin/fc-cache.exe +0 -0
  21. data/vendor/local/bin/fc-cat.exe +0 -0
  22. data/vendor/local/bin/fc-list.exe +0 -0
  23. data/vendor/local/bin/fc-match.exe +0 -0
  24. data/vendor/local/bin/fc-pattern.exe +0 -0
  25. data/vendor/local/bin/fc-query.exe +0 -0
  26. data/vendor/local/bin/fc-scan.exe +0 -0
  27. data/vendor/local/bin/fc-validate.exe +0 -0
  28. data/vendor/local/bin/freetype-config +2 -2
  29. data/vendor/local/bin/libcairo-2.dll +0 -0
  30. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  31. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  32. data/vendor/local/bin/libfontconfig-1.dll +0 -0
  33. data/vendor/local/bin/libfreetype-6.dll +0 -0
  34. data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
  35. data/vendor/local/bin/libpixman-1-0.dll +0 -0
  36. data/vendor/local/bin/libpng-config +1 -1
  37. data/vendor/local/bin/libpng16-16.dll +0 -0
  38. data/vendor/local/bin/libpng16-config +1 -1
  39. data/vendor/local/bin/libstdc++-6.dll +0 -0
  40. data/vendor/local/bin/libwinpthread-1.dll +0 -0
  41. data/vendor/local/bin/libxml2-2.dll +0 -0
  42. data/vendor/local/bin/png-fix-itxt.exe +0 -0
  43. data/vendor/local/bin/pngfix.exe +0 -0
  44. data/vendor/local/bin/xmlcatalog.exe +0 -0
  45. data/vendor/local/bin/xmllint.exe +0 -0
  46. data/vendor/local/bin/zlib1.dll +0 -0
  47. data/vendor/local/include/cairo/cairo-version.h +1 -1
  48. data/vendor/local/include/freetype2/config/ftconfig.h +19 -2
  49. data/vendor/local/include/freetype2/config/ftheader.h +7 -5
  50. data/vendor/local/include/freetype2/config/ftoption.h +9 -22
  51. data/vendor/local/include/freetype2/config/ftstdlib.h +2 -3
  52. data/vendor/local/include/freetype2/freetype.h +38 -17
  53. data/vendor/local/include/freetype2/ft2build.h +1 -1
  54. data/vendor/local/include/freetype2/ftadvanc.h +2 -2
  55. data/vendor/local/include/freetype2/ftautoh.h +50 -2
  56. data/vendor/local/include/freetype2/ftbbox.h +1 -1
  57. data/vendor/local/include/freetype2/ftbdf.h +1 -1
  58. data/vendor/local/include/freetype2/ftbitmap.h +11 -3
  59. data/vendor/local/include/freetype2/ftbzip2.h +1 -1
  60. data/vendor/local/include/freetype2/ftcache.h +3 -3
  61. data/vendor/local/include/freetype2/ftcffdrv.h +1 -1
  62. data/vendor/local/include/freetype2/ftcid.h +2 -1
  63. data/vendor/local/include/freetype2/fterrdef.h +1 -1
  64. data/vendor/local/include/freetype2/fterrors.h +1 -1
  65. data/vendor/local/include/freetype2/{ftxf86.h → ftfntfmt.h} +22 -14
  66. data/vendor/local/include/freetype2/ftgasp.h +1 -1
  67. data/vendor/local/include/freetype2/ftglyph.h +1 -1
  68. data/vendor/local/include/freetype2/ftgxval.h +1 -1
  69. data/vendor/local/include/freetype2/ftgzip.h +1 -1
  70. data/vendor/local/include/freetype2/ftimage.h +7 -13
  71. data/vendor/local/include/freetype2/ftincrem.h +1 -1
  72. data/vendor/local/include/freetype2/ftlcdfil.h +2 -2
  73. data/vendor/local/include/freetype2/ftlist.h +1 -1
  74. data/vendor/local/include/freetype2/ftlzw.h +1 -1
  75. data/vendor/local/include/freetype2/ftmac.h +1 -1
  76. data/vendor/local/include/freetype2/ftmm.h +17 -11
  77. data/vendor/local/include/freetype2/ftmodapi.h +4 -2
  78. data/vendor/local/include/freetype2/ftmoderr.h +1 -1
  79. data/vendor/local/include/freetype2/ftotval.h +1 -1
  80. data/vendor/local/include/freetype2/ftoutln.h +1 -1
  81. data/vendor/local/include/freetype2/ftpfr.h +1 -1
  82. data/vendor/local/include/freetype2/ftrender.h +3 -8
  83. data/vendor/local/include/freetype2/ftsizes.h +1 -1
  84. data/vendor/local/include/freetype2/ftsnames.h +1 -1
  85. data/vendor/local/include/freetype2/ftstroke.h +1 -1
  86. data/vendor/local/include/freetype2/ftsynth.h +5 -3
  87. data/vendor/local/include/freetype2/ftsystem.h +10 -1
  88. data/vendor/local/include/freetype2/fttrigon.h +1 -1
  89. data/vendor/local/include/freetype2/ftttdrv.h +85 -22
  90. data/vendor/local/include/freetype2/fttypes.h +1 -1
  91. data/vendor/local/include/freetype2/ftwinfnt.h +3 -3
  92. data/vendor/local/include/freetype2/t1tables.h +4 -3
  93. data/vendor/local/include/freetype2/ttnameid.h +116 -116
  94. data/vendor/local/include/freetype2/tttables.h +2 -2
  95. data/vendor/local/include/freetype2/tttags.h +1 -1
  96. data/vendor/local/include/freetype2/ttunpat.h +1 -1
  97. data/vendor/local/include/libpng16/png.h +63 -80
  98. data/vendor/local/include/libpng16/pngconf.h +8 -30
  99. data/vendor/local/include/libpng16/pnglibconf.h +10 -4
  100. data/vendor/local/include/png.h +63 -80
  101. data/vendor/local/include/pngconf.h +8 -30
  102. data/vendor/local/include/pnglibconf.h +10 -4
  103. data/vendor/local/lib/libcairo-gobject.a +0 -0
  104. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  105. data/vendor/local/lib/libcairo-gobject.la +2 -2
  106. data/vendor/local/lib/libcairo-script-interpreter.a +0 -0
  107. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  108. data/vendor/local/lib/libcairo-script-interpreter.la +2 -2
  109. data/vendor/local/lib/libcairo.a +0 -0
  110. data/vendor/local/lib/libcairo.dll.a +0 -0
  111. data/vendor/local/lib/libcairo.la +2 -2
  112. data/vendor/local/lib/libfontconfig.dll.a +0 -0
  113. data/vendor/local/lib/libfreetype.a +0 -0
  114. data/vendor/local/lib/libfreetype.dll.a +0 -0
  115. data/vendor/local/lib/libfreetype.la +4 -4
  116. data/vendor/local/lib/libpixman-1.a +0 -0
  117. data/vendor/local/lib/libpixman-1.dll.a +0 -0
  118. data/vendor/local/lib/libpng.a +0 -0
  119. data/vendor/local/lib/libpng.dll.a +0 -0
  120. data/vendor/local/lib/libpng.la +4 -4
  121. data/vendor/local/lib/libpng16.a +0 -0
  122. data/vendor/local/lib/libpng16.dll.a +0 -0
  123. data/vendor/local/lib/libpng16.la +4 -4
  124. data/vendor/local/lib/libxml2.a +0 -0
  125. data/vendor/local/lib/libxml2.dll.a +0 -0
  126. data/vendor/local/lib/libz.a +0 -0
  127. data/vendor/local/lib/libz.dll.a +0 -0
  128. data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
  129. data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
  130. data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
  131. data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
  132. data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
  133. data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
  134. data/vendor/local/lib/pkgconfig/cairo-script.pc +1 -1
  135. data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
  136. data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
  137. data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
  138. data/vendor/local/lib/pkgconfig/cairo.pc +1 -1
  139. data/vendor/local/lib/pkgconfig/freetype2.pc +1 -1
  140. data/vendor/local/lib/pkgconfig/libpng.pc +1 -1
  141. data/vendor/local/lib/pkgconfig/libpng16.pc +1 -1
  142. data/vendor/local/share/aclocal/freetype2.m4 +1 -1
  143. data/vendor/local/share/gtk-doc/html/cairo/bindings-errors.html +12 -12
  144. data/vendor/local/share/gtk-doc/html/cairo/bindings-fonts.html +12 -12
  145. data/vendor/local/share/gtk-doc/html/cairo/bindings-memory.html +12 -12
  146. data/vendor/local/share/gtk-doc/html/cairo/bindings-overloading.html +13 -13
  147. data/vendor/local/share/gtk-doc/html/cairo/bindings-path.html +12 -12
  148. data/vendor/local/share/gtk-doc/html/cairo/bindings-patterns.html +35 -35
  149. data/vendor/local/share/gtk-doc/html/cairo/bindings-return-values.html +10 -10
  150. data/vendor/local/share/gtk-doc/html/cairo/bindings-streams.html +11 -11
  151. data/vendor/local/share/gtk-doc/html/cairo/bindings-surfaces.html +13 -13
  152. data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +294 -225
  153. data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +387 -269
  154. data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +432 -302
  155. data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +325 -217
  156. data/vendor/local/share/gtk-doc/html/cairo/cairo-PNG-Support.html +298 -193
  157. data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +1121 -812
  158. data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +513 -383
  159. data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html +126 -83
  160. data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html +172 -119
  161. data/vendor/local/share/gtk-doc/html/cairo/cairo-Raster-Sources.html +581 -372
  162. data/vendor/local/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html +179 -130
  163. data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +888 -539
  164. data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +287 -192
  165. data/vendor/local/share/gtk-doc/html/cairo/cairo-Script-Surfaces.html +374 -231
  166. data/vendor/local/share/gtk-doc/html/cairo/cairo-Transformations.html +395 -219
  167. data/vendor/local/share/gtk-doc/html/cairo/cairo-Types.html +125 -75
  168. data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +630 -464
  169. data/vendor/local/share/gtk-doc/html/cairo/cairo-Version-Information.html +225 -200
  170. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +336 -214
  171. data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +277 -186
  172. data/vendor/local/share/gtk-doc/html/cairo/cairo-XCB-Surfaces.html +495 -350
  173. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +557 -362
  174. data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-XRender-Backend.html +158 -111
  175. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +655 -441
  176. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +389 -280
  177. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +667 -451
  178. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html +579 -351
  179. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +2006 -1545
  180. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +892 -618
  181. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +1624 -1188
  182. data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +2903 -2104
  183. data/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html +13 -13
  184. data/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html +13 -13
  185. data/vendor/local/share/gtk-doc/html/cairo/cairo-support.html +13 -13
  186. data/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html +13 -13
  187. data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +1115 -758
  188. data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +419 -604
  189. data/vendor/local/share/gtk-doc/html/cairo/home.png +0 -0
  190. data/vendor/local/share/gtk-doc/html/cairo/index-1.10.html +56 -56
  191. data/vendor/local/share/gtk-doc/html/cairo/index-1.12.html +70 -70
  192. data/vendor/local/share/gtk-doc/html/cairo/index-1.2.html +58 -58
  193. data/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +39 -39
  194. data/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +30 -30
  195. data/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +38 -38
  196. data/vendor/local/share/gtk-doc/html/cairo/index-all.html +426 -426
  197. data/vendor/local/share/gtk-doc/html/cairo/index.html +6 -6
  198. data/vendor/local/share/gtk-doc/html/cairo/index.sgml +234 -325
  199. data/vendor/local/share/gtk-doc/html/cairo/language-bindings.html +12 -12
  200. data/vendor/local/share/gtk-doc/html/cairo/left-insensitive.png +0 -0
  201. data/vendor/local/share/gtk-doc/html/cairo/left.png +0 -0
  202. data/vendor/local/share/gtk-doc/html/cairo/right-insensitive.png +0 -0
  203. data/vendor/local/share/gtk-doc/html/cairo/right.png +0 -0
  204. data/vendor/local/share/gtk-doc/html/cairo/style.css +221 -26
  205. data/vendor/local/share/gtk-doc/html/cairo/up-insensitive.png +0 -0
  206. data/vendor/local/share/gtk-doc/html/cairo/up.png +0 -0
  207. data/vendor/local/share/license/cairo/README +1 -1
  208. data/vendor/local/share/license/freetype/README +6 -6
  209. data/vendor/local/share/license/freetype/README.git +1 -1
  210. data/vendor/local/share/license/libpng/README +2 -2
  211. data/vendor/local/share/man/man1/freetype-config.1 +1 -1
  212. data/vendor/local/share/man/man3/libpng.3 +85 -92
  213. data/vendor/local/share/man/man3/libpngpf.3 +2 -2
  214. data/vendor/local/share/man/man5/png.5 +1 -1
  215. metadata +23 -19
@@ -2,30 +2,27 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>XCB Surfaces</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
5
+ <title>Cairo: A Vector Graphics Library: XCB Surfaces</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
  <link rel="home" href="index.html" title="Cairo: A Vector Graphics Library">
8
8
  <link rel="up" href="cairo-surfaces.html" title="Surfaces">
9
9
  <link rel="prev" href="cairo-Quartz-Surfaces.html" title="Quartz Surfaces">
10
10
  <link rel="next" href="cairo-XLib-Surfaces.html" title="XLib Surfaces">
11
- <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
- <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
- <tr valign="middle">
17
- <td><a accesskey="p" href="cairo-Quartz-Surfaces.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
- <td><a accesskey="u" href="cairo-surfaces.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
- <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
- <th width="100%" align="center">Cairo: A Vector Graphics Library</th>
21
- <td><a accesskey="n" href="cairo-XLib-Surfaces.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
- </tr>
23
- <tr><td colspan="5" class="shortcuts">
24
- <a href="#cairo-XCB-Surfaces.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#cairo-XCB-Surfaces.description" class="shortcut">Description</a>
27
- </td></tr>
28
- </table>
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts">
17
+ <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 
18
+ <a href="#cairo-XCB-Surfaces.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
19
+ <a href="#cairo-XCB-Surfaces.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
20
+ </td>
21
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22
+ <td><a accesskey="u" href="cairo-surfaces.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23
+ <td><a accesskey="p" href="cairo-Quartz-Surfaces.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24
+ <td><a accesskey="n" href="cairo-XLib-Surfaces.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25
+ </tr></table>
29
26
  <div class="refentry">
30
27
  <a name="cairo-XCB-Surfaces"></a><div class="titlepage"></div>
31
28
  <div class="refnamediv"><table width="100%"><tr>
@@ -33,495 +30,643 @@
33
30
  <h2><span class="refentrytitle"><a name="cairo-XCB-Surfaces.top_of_page"></a>XCB Surfaces</span></h2>
34
31
  <p>XCB Surfaces — X Window System rendering using the XCB library</p>
35
32
  </td>
36
- <td valign="top" align="right"></td>
33
+ <td class="gallery_image" valign="top" align="right"></td>
37
34
  </tr></table></div>
38
- <div class="refsynopsisdiv">
39
- <a name="cairo-XCB-Surfaces.synopsis"></a><h2>Synopsis</h2>
40
- <pre class="synopsis">#define <a class="link" href="cairo-XCB-Surfaces.html#CAIRO-HAS-XCB-SURFACE:CAPS" title="CAIRO_HAS_XCB_SURFACE">CAIRO_HAS_XCB_SURFACE</a>
41
- #define <a class="link" href="cairo-XCB-Surfaces.html#CAIRO-HAS-XCB-SHM-FUNCTIONS:CAPS" title="CAIRO_HAS_XCB_SHM_FUNCTIONS">CAIRO_HAS_XCB_SHM_FUNCTIONS</a>
42
- <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> * <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-surface-create" title="cairo_xcb_surface_create ()">cairo_xcb_surface_create</a> (<em class="parameter"><code><span class="type">xcb_connection_t</span> *connection</code></em>,
43
- <em class="parameter"><code><span class="type">xcb_drawable_t</span> drawable</code></em>,
44
- <em class="parameter"><code><span class="type">xcb_visualtype_t</span> *visual</code></em>,
45
- <em class="parameter"><code><span class="type">int</span> width</code></em>,
46
- <em class="parameter"><code><span class="type">int</span> height</code></em>);
47
- <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> * <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-surface-create-for-bitmap" title="cairo_xcb_surface_create_for_bitmap ()">cairo_xcb_surface_create_for_bitmap</a> (<em class="parameter"><code><span class="type">xcb_connection_t</span> *connection</code></em>,
48
- <em class="parameter"><code><span class="type">xcb_screen_t</span> *screen</code></em>,
49
- <em class="parameter"><code><span class="type">xcb_pixmap_t</span> bitmap</code></em>,
50
- <em class="parameter"><code><span class="type">int</span> width</code></em>,
51
- <em class="parameter"><code><span class="type">int</span> height</code></em>);
52
- <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> * <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-surface-create-with-xrender-format" title="cairo_xcb_surface_create_with_xrender_format ()">cairo_xcb_surface_create_with_xrender_format</a>
53
- (<em class="parameter"><code><span class="type">xcb_connection_t</span> *connection</code></em>,
54
- <em class="parameter"><code><span class="type">xcb_screen_t</span> *screen</code></em>,
55
- <em class="parameter"><code><span class="type">xcb_drawable_t</span> drawable</code></em>,
56
- <em class="parameter"><code><span class="type">xcb_render_pictforminfo_t</span> *format</code></em>,
57
- <em class="parameter"><code><span class="type">int</span> width</code></em>,
58
- <em class="parameter"><code><span class="type">int</span> height</code></em>);
59
- <span class="returnvalue">void</span> <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-surface-set-size" title="cairo_xcb_surface_set_size ()">cairo_xcb_surface_set_size</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> *surface</code></em>,
60
- <em class="parameter"><code><span class="type">int</span> width</code></em>,
61
- <em class="parameter"><code><span class="type">int</span> height</code></em>);
62
- <span class="returnvalue">void</span> <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-surface-set-drawable" title="cairo_xcb_surface_set_drawable ()">cairo_xcb_surface_set_drawable</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> *surface</code></em>,
63
- <em class="parameter"><code><span class="type">xcb_drawable_t</span> drawable</code></em>,
64
- <em class="parameter"><code><span class="type">int</span> width</code></em>,
65
- <em class="parameter"><code><span class="type">int</span> height</code></em>);
66
- <span class="returnvalue">xcb_connection_t</span> * <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-device-get-connection" title="cairo_xcb_device_get_connection ()">cairo_xcb_device_get_connection</a> (<em class="parameter"><code><a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> *device</code></em>);
67
- <span class="returnvalue">void</span> <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-device-debug-cap-xrender-version" title="cairo_xcb_device_debug_cap_xrender_version ()">cairo_xcb_device_debug_cap_xrender_version</a>
68
- (<em class="parameter"><code><a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> *device</code></em>,
69
- <em class="parameter"><code><span class="type">int</span> major_version</code></em>,
70
- <em class="parameter"><code><span class="type">int</span> minor_version</code></em>);
71
- <span class="returnvalue">void</span> <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-device-debug-cap-xshm-version" title="cairo_xcb_device_debug_cap_xshm_version ()">cairo_xcb_device_debug_cap_xshm_version</a>
72
- (<em class="parameter"><code><a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> *device</code></em>,
73
- <em class="parameter"><code><span class="type">int</span> major_version</code></em>,
74
- <em class="parameter"><code><span class="type">int</span> minor_version</code></em>);
75
- <span class="returnvalue">int</span> <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-device-debug-get-precision" title="cairo_xcb_device_debug_get_precision ()">cairo_xcb_device_debug_get_precision</a>
76
- (<em class="parameter"><code><a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> *device</code></em>);
77
- <span class="returnvalue">void</span> <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-device-debug-set-precision" title="cairo_xcb_device_debug_set_precision ()">cairo_xcb_device_debug_set_precision</a>
78
- (<em class="parameter"><code><a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> *device</code></em>,
79
- <em class="parameter"><code><span class="type">int</span> precision</code></em>);
80
- </pre>
35
+ <div class="refsect1">
36
+ <a name="cairo-XCB-Surfaces.functions"></a><h2>Functions</h2>
37
+ <div class="informaltable"><table width="100%" border="0">
38
+ <colgroup>
39
+ <col width="150px" class="functions_return">
40
+ <col class="functions_name">
41
+ </colgroup>
42
+ <tbody>
43
+ <tr>
44
+ <td class="function_type">
45
+ <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
46
+ </td>
47
+ <td class="function_name">
48
+ <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-surface-create" title="cairo_xcb_surface_create ()">cairo_xcb_surface_create</a> <span class="c_punctuation">()</span>
49
+ </td>
50
+ </tr>
51
+ <tr>
52
+ <td class="function_type">
53
+ <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
54
+ </td>
55
+ <td class="function_name">
56
+ <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-surface-create-for-bitmap" title="cairo_xcb_surface_create_for_bitmap ()">cairo_xcb_surface_create_for_bitmap</a> <span class="c_punctuation">()</span>
57
+ </td>
58
+ </tr>
59
+ <tr>
60
+ <td class="function_type">
61
+ <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
62
+ </td>
63
+ <td class="function_name">
64
+ <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-surface-create-with-xrender-format" title="cairo_xcb_surface_create_with_xrender_format ()">cairo_xcb_surface_create_with_xrender_format</a> <span class="c_punctuation">()</span>
65
+ </td>
66
+ </tr>
67
+ <tr>
68
+ <td class="function_type">
69
+ <span class="returnvalue">void</span>
70
+ </td>
71
+ <td class="function_name">
72
+ <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-surface-set-size" title="cairo_xcb_surface_set_size ()">cairo_xcb_surface_set_size</a> <span class="c_punctuation">()</span>
73
+ </td>
74
+ </tr>
75
+ <tr>
76
+ <td class="function_type">
77
+ <span class="returnvalue">void</span>
78
+ </td>
79
+ <td class="function_name">
80
+ <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-surface-set-drawable" title="cairo_xcb_surface_set_drawable ()">cairo_xcb_surface_set_drawable</a> <span class="c_punctuation">()</span>
81
+ </td>
82
+ </tr>
83
+ <tr>
84
+ <td class="function_type">
85
+ <span class="returnvalue">xcb_connection_t</span> *
86
+ </td>
87
+ <td class="function_name">
88
+ <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-device-get-connection" title="cairo_xcb_device_get_connection ()">cairo_xcb_device_get_connection</a> <span class="c_punctuation">()</span>
89
+ </td>
90
+ </tr>
91
+ <tr>
92
+ <td class="function_type">
93
+ <span class="returnvalue">void</span>
94
+ </td>
95
+ <td class="function_name">
96
+ <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-device-debug-cap-xrender-version" title="cairo_xcb_device_debug_cap_xrender_version ()">cairo_xcb_device_debug_cap_xrender_version</a> <span class="c_punctuation">()</span>
97
+ </td>
98
+ </tr>
99
+ <tr>
100
+ <td class="function_type">
101
+ <span class="returnvalue">void</span>
102
+ </td>
103
+ <td class="function_name">
104
+ <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-device-debug-cap-xshm-version" title="cairo_xcb_device_debug_cap_xshm_version ()">cairo_xcb_device_debug_cap_xshm_version</a> <span class="c_punctuation">()</span>
105
+ </td>
106
+ </tr>
107
+ <tr>
108
+ <td class="function_type">
109
+ <span class="returnvalue">int</span>
110
+ </td>
111
+ <td class="function_name">
112
+ <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-device-debug-get-precision" title="cairo_xcb_device_debug_get_precision ()">cairo_xcb_device_debug_get_precision</a> <span class="c_punctuation">()</span>
113
+ </td>
114
+ </tr>
115
+ <tr>
116
+ <td class="function_type">
117
+ <span class="returnvalue">void</span>
118
+ </td>
119
+ <td class="function_name">
120
+ <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-device-debug-set-precision" title="cairo_xcb_device_debug_set_precision ()">cairo_xcb_device_debug_set_precision</a> <span class="c_punctuation">()</span>
121
+ </td>
122
+ </tr>
123
+ </tbody>
124
+ </table></div>
81
125
  </div>
82
126
  <div class="refsect1">
83
- <a name="cairo-XCB-Surfaces.description"></a><h2>Description</h2>
84
- <p>
85
- The XCB surface is used to render cairo graphics to X Window System
86
- windows and pixmaps using the XCB library.
87
- </p>
88
- <p>
89
- Note that the XCB surface automatically takes advantage of the X render
90
- extension if it is available.
91
- </p>
127
+ <a name="cairo-XCB-Surfaces.other"></a><h2>Types and Values</h2>
128
+ <div class="informaltable"><table width="100%" border="0">
129
+ <colgroup>
130
+ <col width="150px" class="name">
131
+ <col class="description">
132
+ </colgroup>
133
+ <tbody>
134
+ <tr>
135
+ <td class="define_keyword">#define</td>
136
+ <td class="function_name"><a class="link" href="cairo-XCB-Surfaces.html#CAIRO-HAS-XCB-SURFACE:CAPS" title="CAIRO_HAS_XCB_SURFACE">CAIRO_HAS_XCB_SURFACE</a></td>
137
+ </tr>
138
+ <tr>
139
+ <td class="define_keyword">#define</td>
140
+ <td class="function_name"><a class="link" href="cairo-XCB-Surfaces.html#CAIRO-HAS-XCB-SHM-FUNCTIONS:CAPS" title="CAIRO_HAS_XCB_SHM_FUNCTIONS">CAIRO_HAS_XCB_SHM_FUNCTIONS</a></td>
141
+ </tr>
142
+ </tbody>
143
+ </table></div>
92
144
  </div>
93
145
  <div class="refsect1">
94
- <a name="cairo-XCB-Surfaces.details"></a><h2>Details</h2>
95
- <div class="refsect2">
96
- <a name="CAIRO-HAS-XCB-SURFACE:CAPS"></a><h3>CAIRO_HAS_XCB_SURFACE</h3>
97
- <pre class="programlisting">#define CAIRO_HAS_XCB_SURFACE 1
146
+ <a name="cairo-XCB-Surfaces.object-hierarchy"></a><h2>Object Hierarchy</h2>
147
+ <pre class="screen">
98
148
  </pre>
99
- <p>
100
- Defined if the xcb surface backend is available.
101
- This macro can be used to conditionally compile backend-specific code.
102
- </p>
103
- <p class="since">Since 1.12</p>
104
149
  </div>
105
- <hr>
106
- <div class="refsect2">
107
- <a name="CAIRO-HAS-XCB-SHM-FUNCTIONS:CAPS"></a><h3>CAIRO_HAS_XCB_SHM_FUNCTIONS</h3>
108
- <pre class="programlisting">#define CAIRO_HAS_XCB_SHM_FUNCTIONS 1
109
- </pre>
110
- <p>
111
- </p>
150
+ <div class="refsect1">
151
+ <a name="cairo-XCB-Surfaces.description"></a><h2>Description</h2>
152
+ <p>The XCB surface is used to render cairo graphics to X Window System
153
+ windows and pixmaps using the XCB library.</p>
154
+ <p>Note that the XCB surface automatically takes advantage of the X render
155
+ extension if it is available.</p>
112
156
  </div>
113
- <hr>
157
+ <div class="refsect1">
158
+ <a name="cairo-XCB-Surfaces.functions_details"></a><h2>Functions</h2>
114
159
  <div class="refsect2">
115
- <a name="cairo-xcb-surface-create"></a><h3>cairo_xcb_surface_create ()</h3>
116
- <pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> * cairo_xcb_surface_create (<em class="parameter"><code><span class="type">xcb_connection_t</span> *connection</code></em>,
117
- <em class="parameter"><code><span class="type">xcb_drawable_t</span> drawable</code></em>,
118
- <em class="parameter"><code><span class="type">xcb_visualtype_t</span> *visual</code></em>,
119
- <em class="parameter"><code><span class="type">int</span> width</code></em>,
120
- <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
121
- <p>
122
- Creates an XCB surface that draws to the given drawable.
160
+ <a name="cairo-xcb-surface-create"></a><h3>cairo_xcb_surface_create ()</h3>
161
+ <pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
162
+ cairo_xcb_surface_create (<em class="parameter"><code><span class="type">xcb_connection_t</span> *connection</code></em>,
163
+ <em class="parameter"><code><span class="type">xcb_drawable_t</span> drawable</code></em>,
164
+ <em class="parameter"><code><span class="type">xcb_visualtype_t</span> *visual</code></em>,
165
+ <em class="parameter"><code><span class="type">int</span> width</code></em>,
166
+ <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
167
+ <p>Creates an XCB surface that draws to the given drawable.
123
168
  The way that colors are represented in the drawable is specified
124
- by the provided visual.
125
- </p>
126
- <p>
127
- Note: If <em class="parameter"><code>drawable</code></em> is a Window, then the function
128
- <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-surface-set-size" title="cairo_xcb_surface_set_size ()"><code class="function">cairo_xcb_surface_set_size()</code></a> must be called whenever the size of the
129
- window changes.
130
- </p>
131
- <p>
132
- When <em class="parameter"><code>drawable</code></em> is a Window containing child windows then drawing to
169
+ by the provided visual.</p>
170
+ <p>Note: If <em class="parameter"><code>drawable</code></em>
171
+ is a Window, then the function
172
+ <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-surface-set-size" title="cairo_xcb_surface_set_size ()"><code class="function">cairo_xcb_surface_set_size()</code></a> must be called whenever the size of the
173
+ window changes.</p>
174
+ <p>When <em class="parameter"><code>drawable</code></em>
175
+ is a Window containing child windows then drawing to
133
176
  the created surface will be clipped by those child windows. When
134
177
  the created surface is used as a source, the contents of the
135
- children will be included.
136
- </p>
137
- <div class="variablelist"><table border="0">
138
- <col align="left" valign="top">
178
+ children will be included.</p>
179
+ <div class="refsect3">
180
+ <a name="id-1.5.12.7.2.7"></a><h4>Parameters</h4>
181
+ <div class="informaltable"><table width="100%" border="0">
182
+ <colgroup>
183
+ <col width="150px" class="parameters_name">
184
+ <col class="parameters_description">
185
+ <col width="200px" class="parameters_annotations">
186
+ </colgroup>
139
187
  <tbody>
140
188
  <tr>
141
- <td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
142
- <td>an XCB connection</td>
189
+ <td class="parameter_name"><p>connection</p></td>
190
+ <td class="parameter_description"><p>an XCB connection</p></td>
191
+ <td class="parameter_annotations"> </td>
143
192
  </tr>
144
193
  <tr>
145
- <td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
146
- <td>an XCB drawable</td>
194
+ <td class="parameter_name"><p>drawable</p></td>
195
+ <td class="parameter_description"><p>an XCB drawable</p></td>
196
+ <td class="parameter_annotations"> </td>
147
197
  </tr>
148
198
  <tr>
149
- <td><p><span class="term"><em class="parameter"><code>visual</code></em> :</span></p></td>
150
- <td>the visual to use for drawing to <em class="parameter"><code>drawable</code></em>. The depth
199
+ <td class="parameter_name"><p>visual</p></td>
200
+ <td class="parameter_description"><p>the visual to use for drawing to <em class="parameter"><code>drawable</code></em>
201
+ . The depth
151
202
  of the visual must match the depth of the drawable.
152
- Currently, only TrueColor visuals are fully supported.</td>
203
+ Currently, only TrueColor visuals are fully supported.</p></td>
204
+ <td class="parameter_annotations"> </td>
153
205
  </tr>
154
206
  <tr>
155
- <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
156
- <td>the current width of <em class="parameter"><code>drawable</code></em>
157
- </td>
207
+ <td class="parameter_name"><p>width</p></td>
208
+ <td class="parameter_description"><p>the current width of <em class="parameter"><code>drawable</code></em>
209
+ </p></td>
210
+ <td class="parameter_annotations"> </td>
158
211
  </tr>
159
212
  <tr>
160
- <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
161
- <td>the current height of <em class="parameter"><code>drawable</code></em>
162
- </td>
163
- </tr>
164
- <tr>
165
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
166
- <td>a pointer to the newly created surface. The caller
167
- owns the surface and should call <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> when done
168
- with it.
169
- This function always returns a valid pointer, but it will return a
170
- pointer to a "nil" surface if an error such as out of memory
171
- occurs. You can use <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status" title="cairo_surface_status ()"><code class="function">cairo_surface_status()</code></a> to check for this.</td>
213
+ <td class="parameter_name"><p>height</p></td>
214
+ <td class="parameter_description"><p>the current height of <em class="parameter"><code>drawable</code></em>
215
+ </p></td>
216
+ <td class="parameter_annotations"> </td>
172
217
  </tr>
173
218
  </tbody>
174
219
  </table></div>
220
+ </div>
221
+ <div class="refsect3">
222
+ <a name="id-1.5.12.7.2.8"></a><h4>Returns</h4>
223
+ <p> a pointer to the newly created surface. The caller
224
+ owns the surface and should call <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> when done
225
+ with it.</p>
226
+ <p>This function always returns a valid pointer, but it will return a
227
+ pointer to a "nil" surface if an error such as out of memory
228
+ occurs. You can use <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status" title="cairo_surface_status ()"><code class="function">cairo_surface_status()</code></a> to check for this.</p>
229
+ <p></p>
230
+ </div>
175
231
  <p class="since">Since 1.12</p>
176
232
  </div>
177
233
  <hr>
178
234
  <div class="refsect2">
179
- <a name="cairo-xcb-surface-create-for-bitmap"></a><h3>cairo_xcb_surface_create_for_bitmap ()</h3>
180
- <pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> * cairo_xcb_surface_create_for_bitmap (<em class="parameter"><code><span class="type">xcb_connection_t</span> *connection</code></em>,
181
- <em class="parameter"><code><span class="type">xcb_screen_t</span> *screen</code></em>,
182
- <em class="parameter"><code><span class="type">xcb_pixmap_t</span> bitmap</code></em>,
183
- <em class="parameter"><code><span class="type">int</span> width</code></em>,
184
- <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
185
- <p>
186
- Creates an XCB surface that draws to the given bitmap.
187
- This will be drawn to as a <a class="link" href="cairo-Image-Surfaces.html#CAIRO-FORMAT-A1:CAPS"><code class="literal">CAIRO_FORMAT_A1</code></a> object.
188
- </p>
189
- <div class="variablelist"><table border="0">
190
- <col align="left" valign="top">
235
+ <a name="cairo-xcb-surface-create-for-bitmap"></a><h3>cairo_xcb_surface_create_for_bitmap ()</h3>
236
+ <pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
237
+ cairo_xcb_surface_create_for_bitmap (<em class="parameter"><code><span class="type">xcb_connection_t</span> *connection</code></em>,
238
+ <em class="parameter"><code><span class="type">xcb_screen_t</span> *screen</code></em>,
239
+ <em class="parameter"><code><span class="type">xcb_pixmap_t</span> bitmap</code></em>,
240
+ <em class="parameter"><code><span class="type">int</span> width</code></em>,
241
+ <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
242
+ <p>Creates an XCB surface that draws to the given bitmap.
243
+ This will be drawn to as a <a class="link" href="cairo-Image-Surfaces.html#CAIRO-FORMAT-A1:CAPS"><code class="literal">CAIRO_FORMAT_A1</code></a> object.</p>
244
+ <div class="refsect3">
245
+ <a name="id-1.5.12.7.3.5"></a><h4>Parameters</h4>
246
+ <div class="informaltable"><table width="100%" border="0">
247
+ <colgroup>
248
+ <col width="150px" class="parameters_name">
249
+ <col class="parameters_description">
250
+ <col width="200px" class="parameters_annotations">
251
+ </colgroup>
191
252
  <tbody>
192
253
  <tr>
193
- <td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
194
- <td>an XCB connection</td>
254
+ <td class="parameter_name"><p>connection</p></td>
255
+ <td class="parameter_description"><p>an XCB connection</p></td>
256
+ <td class="parameter_annotations"> </td>
195
257
  </tr>
196
258
  <tr>
197
- <td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
198
- <td>the XCB screen associated with <em class="parameter"><code>bitmap</code></em>
199
- </td>
259
+ <td class="parameter_name"><p>screen</p></td>
260
+ <td class="parameter_description"><p>the XCB screen associated with <em class="parameter"><code>bitmap</code></em>
261
+ </p></td>
262
+ <td class="parameter_annotations"> </td>
200
263
  </tr>
201
264
  <tr>
202
- <td><p><span class="term"><em class="parameter"><code>bitmap</code></em> :</span></p></td>
203
- <td>an XCB drawable (a Pixmap with depth 1)</td>
265
+ <td class="parameter_name"><p>bitmap</p></td>
266
+ <td class="parameter_description"><p>an XCB drawable (a Pixmap with depth 1)</p></td>
267
+ <td class="parameter_annotations"> </td>
204
268
  </tr>
205
269
  <tr>
206
- <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
207
- <td>the current width of <em class="parameter"><code>bitmap</code></em>
208
- </td>
270
+ <td class="parameter_name"><p>width</p></td>
271
+ <td class="parameter_description"><p>the current width of <em class="parameter"><code>bitmap</code></em>
272
+ </p></td>
273
+ <td class="parameter_annotations"> </td>
209
274
  </tr>
210
275
  <tr>
211
- <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
212
- <td>the current height of <em class="parameter"><code>bitmap</code></em>
213
- </td>
214
- </tr>
215
- <tr>
216
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
217
- <td>a pointer to the newly created surface. The caller
218
- owns the surface and should call <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> when done
219
- with it.
220
- This function always returns a valid pointer, but it will return a
221
- pointer to a "nil" surface if an error such as out of memory
222
- occurs. You can use <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status" title="cairo_surface_status ()"><code class="function">cairo_surface_status()</code></a> to check for this.</td>
276
+ <td class="parameter_name"><p>height</p></td>
277
+ <td class="parameter_description"><p>the current height of <em class="parameter"><code>bitmap</code></em>
278
+ </p></td>
279
+ <td class="parameter_annotations"> </td>
223
280
  </tr>
224
281
  </tbody>
225
282
  </table></div>
283
+ </div>
284
+ <div class="refsect3">
285
+ <a name="id-1.5.12.7.3.6"></a><h4>Returns</h4>
286
+ <p> a pointer to the newly created surface. The caller
287
+ owns the surface and should call <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> when done
288
+ with it.</p>
289
+ <p>This function always returns a valid pointer, but it will return a
290
+ pointer to a "nil" surface if an error such as out of memory
291
+ occurs. You can use <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status" title="cairo_surface_status ()"><code class="function">cairo_surface_status()</code></a> to check for this.</p>
292
+ <p></p>
293
+ </div>
226
294
  <p class="since">Since 1.12</p>
227
295
  </div>
228
296
  <hr>
229
297
  <div class="refsect2">
230
- <a name="cairo-xcb-surface-create-with-xrender-format"></a><h3>cairo_xcb_surface_create_with_xrender_format ()</h3>
231
- <pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> * cairo_xcb_surface_create_with_xrender_format
232
- (<em class="parameter"><code><span class="type">xcb_connection_t</span> *connection</code></em>,
233
- <em class="parameter"><code><span class="type">xcb_screen_t</span> *screen</code></em>,
234
- <em class="parameter"><code><span class="type">xcb_drawable_t</span> drawable</code></em>,
235
- <em class="parameter"><code><span class="type">xcb_render_pictforminfo_t</span> *format</code></em>,
236
- <em class="parameter"><code><span class="type">int</span> width</code></em>,
237
- <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
238
- <p>
239
- Creates an XCB surface that draws to the given drawable.
298
+ <a name="cairo-xcb-surface-create-with-xrender-format"></a><h3>cairo_xcb_surface_create_with_xrender_format ()</h3>
299
+ <pre class="programlisting"><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="returnvalue">cairo_surface_t</span></a> *
300
+ cairo_xcb_surface_create_with_xrender_format
301
+ (<em class="parameter"><code><span class="type">xcb_connection_t</span> *connection</code></em>,
302
+ <em class="parameter"><code><span class="type">xcb_screen_t</span> *screen</code></em>,
303
+ <em class="parameter"><code><span class="type">xcb_drawable_t</span> drawable</code></em>,
304
+ <em class="parameter"><code><span class="type">xcb_render_pictforminfo_t</span> *format</code></em>,
305
+ <em class="parameter"><code><span class="type">int</span> width</code></em>,
306
+ <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
307
+ <p>Creates an XCB surface that draws to the given drawable.
240
308
  The way that colors are represented in the drawable is specified
241
- by the provided picture format.
242
- </p>
243
- <p>
244
- Note: If <em class="parameter"><code>drawable</code></em> is a Window, then the function
245
- <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-surface-set-size" title="cairo_xcb_surface_set_size ()"><code class="function">cairo_xcb_surface_set_size()</code></a> must be called whenever the size of the
246
- window changes.
247
- </p>
248
- <p>
249
- When <em class="parameter"><code>drawable</code></em> is a Window containing child windows then drawing to
309
+ by the provided picture format.</p>
310
+ <p>Note: If <em class="parameter"><code>drawable</code></em>
311
+ is a Window, then the function
312
+ <a class="link" href="cairo-XCB-Surfaces.html#cairo-xcb-surface-set-size" title="cairo_xcb_surface_set_size ()"><code class="function">cairo_xcb_surface_set_size()</code></a> must be called whenever the size of the
313
+ window changes.</p>
314
+ <p>When <em class="parameter"><code>drawable</code></em>
315
+ is a Window containing child windows then drawing to
250
316
  the created surface will be clipped by those child windows. When
251
317
  the created surface is used as a source, the contents of the
252
- children will be included.
253
- </p>
254
- <div class="variablelist"><table border="0">
255
- <col align="left" valign="top">
318
+ children will be included.</p>
319
+ <div class="refsect3">
320
+ <a name="id-1.5.12.7.4.7"></a><h4>Parameters</h4>
321
+ <div class="informaltable"><table width="100%" border="0">
322
+ <colgroup>
323
+ <col width="150px" class="parameters_name">
324
+ <col class="parameters_description">
325
+ <col width="200px" class="parameters_annotations">
326
+ </colgroup>
256
327
  <tbody>
257
328
  <tr>
258
- <td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
259
- <td>an XCB connection</td>
329
+ <td class="parameter_name"><p>connection</p></td>
330
+ <td class="parameter_description"><p>an XCB connection</p></td>
331
+ <td class="parameter_annotations"> </td>
260
332
  </tr>
261
333
  <tr>
262
- <td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
263
- <td>the XCB screen associated with <em class="parameter"><code>drawable</code></em>
264
- </td>
334
+ <td class="parameter_name"><p>screen</p></td>
335
+ <td class="parameter_description"><p>the XCB screen associated with <em class="parameter"><code>drawable</code></em>
336
+ </p></td>
337
+ <td class="parameter_annotations"> </td>
265
338
  </tr>
266
339
  <tr>
267
- <td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
268
- <td>an XCB drawable</td>
340
+ <td class="parameter_name"><p>drawable</p></td>
341
+ <td class="parameter_description"><p>an XCB drawable</p></td>
342
+ <td class="parameter_annotations"> </td>
269
343
  </tr>
270
344
  <tr>
271
- <td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
272
- <td>the picture format to use for drawing to <em class="parameter"><code>drawable</code></em>. The
273
- depth of <em class="parameter"><code>format</code></em> mush match the depth of the drawable.</td>
274
- </tr>
275
- <tr>
276
- <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
277
- <td>the current width of <em class="parameter"><code>drawable</code></em>
278
- </td>
345
+ <td class="parameter_name"><p>format</p></td>
346
+ <td class="parameter_description"><p>the picture format to use for drawing to <em class="parameter"><code>drawable</code></em>
347
+ . The
348
+ depth of <em class="parameter"><code>format</code></em>
349
+ mush match the depth of the drawable.</p></td>
350
+ <td class="parameter_annotations"> </td>
279
351
  </tr>
280
352
  <tr>
281
- <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
282
- <td>the current height of <em class="parameter"><code>drawable</code></em>
283
- </td>
353
+ <td class="parameter_name"><p>width</p></td>
354
+ <td class="parameter_description"><p>the current width of <em class="parameter"><code>drawable</code></em>
355
+ </p></td>
356
+ <td class="parameter_annotations"> </td>
284
357
  </tr>
285
358
  <tr>
286
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
287
- <td>a pointer to the newly created surface. The caller
288
- owns the surface and should call <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> when done
289
- with it.
290
- This function always returns a valid pointer, but it will return a
291
- pointer to a "nil" surface if an error such as out of memory
292
- occurs. You can use <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status" title="cairo_surface_status ()"><code class="function">cairo_surface_status()</code></a> to check for this.</td>
359
+ <td class="parameter_name"><p>height</p></td>
360
+ <td class="parameter_description"><p>the current height of <em class="parameter"><code>drawable</code></em>
361
+ </p></td>
362
+ <td class="parameter_annotations"> </td>
293
363
  </tr>
294
364
  </tbody>
295
365
  </table></div>
366
+ </div>
367
+ <div class="refsect3">
368
+ <a name="id-1.5.12.7.4.8"></a><h4>Returns</h4>
369
+ <p> a pointer to the newly created surface. The caller
370
+ owns the surface and should call <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-destroy" title="cairo_surface_destroy ()"><code class="function">cairo_surface_destroy()</code></a> when done
371
+ with it.</p>
372
+ <p>This function always returns a valid pointer, but it will return a
373
+ pointer to a "nil" surface if an error such as out of memory
374
+ occurs. You can use <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-status" title="cairo_surface_status ()"><code class="function">cairo_surface_status()</code></a> to check for this.</p>
375
+ <p></p>
376
+ </div>
296
377
  <p class="since">Since 1.12</p>
297
378
  </div>
298
379
  <hr>
299
380
  <div class="refsect2">
300
- <a name="cairo-xcb-surface-set-size"></a><h3>cairo_xcb_surface_set_size ()</h3>
301
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_xcb_surface_set_size (<em class="parameter"><code><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> *surface</code></em>,
302
- <em class="parameter"><code><span class="type">int</span> width</code></em>,
303
- <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
304
- <p>
305
- Informs cairo of the new size of the XCB drawable underlying the
381
+ <a name="cairo-xcb-surface-set-size"></a><h3>cairo_xcb_surface_set_size ()</h3>
382
+ <pre class="programlisting"><span class="returnvalue">void</span>
383
+ cairo_xcb_surface_set_size (<em class="parameter"><code><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> *surface</code></em>,
384
+ <em class="parameter"><code><span class="type">int</span> width</code></em>,
385
+ <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
386
+ <p>Informs cairo of the new size of the XCB drawable underlying the
306
387
  surface. For a surface created for a window (rather than a pixmap),
307
388
  this function must be called each time the size of the window
308
389
  changes. (For a subwindow, you are normally resizing the window
309
390
  yourself, but for a toplevel window, it is necessary to listen for
310
- ConfigureNotify events.)
311
- </p>
312
- <p>
313
- A pixmap can never change size, so it is never necessary to call
314
- this function on a surface created for a pixmap.
315
- </p>
316
- <p>
317
- If <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-flush" title="cairo_surface_flush ()"><code class="function">cairo_surface_flush()</code></a> wasn't called, some pending operations
318
- might be discarded.
319
- </p>
320
- <div class="variablelist"><table border="0">
321
- <col align="left" valign="top">
391
+ ConfigureNotify events.)</p>
392
+ <p>A pixmap can never change size, so it is never necessary to call
393
+ this function on a surface created for a pixmap.</p>
394
+ <p>If <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-flush" title="cairo_surface_flush ()"><code class="function">cairo_surface_flush()</code></a> wasn't called, some pending operations
395
+ might be discarded.</p>
396
+ <div class="refsect3">
397
+ <a name="id-1.5.12.7.5.7"></a><h4>Parameters</h4>
398
+ <div class="informaltable"><table width="100%" border="0">
399
+ <colgroup>
400
+ <col width="150px" class="parameters_name">
401
+ <col class="parameters_description">
402
+ <col width="200px" class="parameters_annotations">
403
+ </colgroup>
322
404
  <tbody>
323
405
  <tr>
324
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
325
- <td>a <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> for the XCB backend</td>
406
+ <td class="parameter_name"><p>surface</p></td>
407
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> for the XCB backend</p></td>
408
+ <td class="parameter_annotations"> </td>
326
409
  </tr>
327
410
  <tr>
328
- <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
329
- <td>the new width of the surface</td>
411
+ <td class="parameter_name"><p>width</p></td>
412
+ <td class="parameter_description"><p>the new width of the surface</p></td>
413
+ <td class="parameter_annotations"> </td>
330
414
  </tr>
331
415
  <tr>
332
- <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
333
- <td>the new height of the surface</td>
416
+ <td class="parameter_name"><p>height</p></td>
417
+ <td class="parameter_description"><p>the new height of the surface</p></td>
418
+ <td class="parameter_annotations"> </td>
334
419
  </tr>
335
420
  </tbody>
336
421
  </table></div>
422
+ </div>
337
423
  <p class="since">Since 1.12</p>
338
424
  </div>
339
425
  <hr>
340
426
  <div class="refsect2">
341
- <a name="cairo-xcb-surface-set-drawable"></a><h3>cairo_xcb_surface_set_drawable ()</h3>
342
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_xcb_surface_set_drawable (<em class="parameter"><code><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> *surface</code></em>,
343
- <em class="parameter"><code><span class="type">xcb_drawable_t</span> drawable</code></em>,
344
- <em class="parameter"><code><span class="type">int</span> width</code></em>,
345
- <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
346
- <p>
347
- Informs cairo of the new drawable and size of the XCB drawable underlying the
348
- surface.
349
- </p>
350
- <p>
351
- If <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-flush" title="cairo_surface_flush ()"><code class="function">cairo_surface_flush()</code></a> wasn't called, some pending operations
352
- might be discarded.
353
- </p>
354
- <div class="variablelist"><table border="0">
355
- <col align="left" valign="top">
427
+ <a name="cairo-xcb-surface-set-drawable"></a><h3>cairo_xcb_surface_set_drawable ()</h3>
428
+ <pre class="programlisting"><span class="returnvalue">void</span>
429
+ cairo_xcb_surface_set_drawable (<em class="parameter"><code><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> *surface</code></em>,
430
+ <em class="parameter"><code><span class="type">xcb_drawable_t</span> drawable</code></em>,
431
+ <em class="parameter"><code><span class="type">int</span> width</code></em>,
432
+ <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
433
+ <p>Informs cairo of the new drawable and size of the XCB drawable underlying the
434
+ surface.</p>
435
+ <p>If <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-flush" title="cairo_surface_flush ()"><code class="function">cairo_surface_flush()</code></a> wasn't called, some pending operations
436
+ might be discarded.</p>
437
+ <div class="refsect3">
438
+ <a name="id-1.5.12.7.6.6"></a><h4>Parameters</h4>
439
+ <div class="informaltable"><table width="100%" border="0">
440
+ <colgroup>
441
+ <col width="150px" class="parameters_name">
442
+ <col class="parameters_description">
443
+ <col width="200px" class="parameters_annotations">
444
+ </colgroup>
356
445
  <tbody>
357
446
  <tr>
358
- <td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
359
- <td>a <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> for the XCB backend</td>
447
+ <td class="parameter_name"><p>surface</p></td>
448
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a> for the XCB backend</p></td>
449
+ <td class="parameter_annotations"> </td>
360
450
  </tr>
361
451
  <tr>
362
- <td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
363
- <td>the new drawable of the surface</td>
452
+ <td class="parameter_name"><p>drawable</p></td>
453
+ <td class="parameter_description"><p>the new drawable of the surface</p></td>
454
+ <td class="parameter_annotations"> </td>
364
455
  </tr>
365
456
  <tr>
366
- <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
367
- <td>the new width of the surface</td>
457
+ <td class="parameter_name"><p>width</p></td>
458
+ <td class="parameter_description"><p>the new width of the surface</p></td>
459
+ <td class="parameter_annotations"> </td>
368
460
  </tr>
369
461
  <tr>
370
- <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
371
- <td>the new height of the surface</td>
462
+ <td class="parameter_name"><p>height</p></td>
463
+ <td class="parameter_description"><p>the new height of the surface</p></td>
464
+ <td class="parameter_annotations"> </td>
372
465
  </tr>
373
466
  </tbody>
374
467
  </table></div>
468
+ </div>
375
469
  <p class="since">Since 1.12</p>
376
470
  </div>
377
471
  <hr>
378
472
  <div class="refsect2">
379
- <a name="cairo-xcb-device-get-connection"></a><h3>cairo_xcb_device_get_connection ()</h3>
380
- <pre class="programlisting"><span class="returnvalue">xcb_connection_t</span> * cairo_xcb_device_get_connection (<em class="parameter"><code><a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> *device</code></em>);</pre>
381
- <p>
382
- Get the connection for the XCB device.
383
- </p>
384
- <div class="variablelist"><table border="0">
385
- <col align="left" valign="top">
386
- <tbody>
387
- <tr>
388
- <td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
389
- <td>a <a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> for the XCB backend</td>
390
- </tr>
391
- <tr>
392
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
393
- <td>the <span class="type">xcb_connection_t</span> for the connection</td>
394
- </tr>
395
- </tbody>
473
+ <a name="cairo-xcb-device-get-connection"></a><h3>cairo_xcb_device_get_connection ()</h3>
474
+ <pre class="programlisting"><span class="returnvalue">xcb_connection_t</span> *
475
+ cairo_xcb_device_get_connection (<em class="parameter"><code><a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> *device</code></em>);</pre>
476
+ <p>Get the connection for the XCB device.</p>
477
+ <div class="refsect3">
478
+ <a name="id-1.5.12.7.7.5"></a><h4>Parameters</h4>
479
+ <div class="informaltable"><table width="100%" border="0">
480
+ <colgroup>
481
+ <col width="150px" class="parameters_name">
482
+ <col class="parameters_description">
483
+ <col width="200px" class="parameters_annotations">
484
+ </colgroup>
485
+ <tbody><tr>
486
+ <td class="parameter_name"><p>device</p></td>
487
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> for the XCB backend</p></td>
488
+ <td class="parameter_annotations"> </td>
489
+ </tr></tbody>
396
490
  </table></div>
491
+ </div>
492
+ <div class="refsect3">
493
+ <a name="id-1.5.12.7.7.6"></a><h4>Returns</h4>
494
+ <p> the <span class="type">xcb_connection_t</span> for the connection</p>
495
+ <p></p>
496
+ </div>
397
497
  <p class="since">Since 1.12</p>
398
498
  </div>
399
499
  <hr>
400
500
  <div class="refsect2">
401
- <a name="cairo-xcb-device-debug-cap-xrender-version"></a><h3>cairo_xcb_device_debug_cap_xrender_version ()</h3>
402
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_xcb_device_debug_cap_xrender_version
403
- (<em class="parameter"><code><a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> *device</code></em>,
404
- <em class="parameter"><code><span class="type">int</span> major_version</code></em>,
405
- <em class="parameter"><code><span class="type">int</span> minor_version</code></em>);</pre>
406
- <p>
407
- Restricts all future XCB surfaces for this devices to the specified version
501
+ <a name="cairo-xcb-device-debug-cap-xrender-version"></a><h3>cairo_xcb_device_debug_cap_xrender_version ()</h3>
502
+ <pre class="programlisting"><span class="returnvalue">void</span>
503
+ cairo_xcb_device_debug_cap_xrender_version
504
+ (<em class="parameter"><code><a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> *device</code></em>,
505
+ <em class="parameter"><code><span class="type">int</span> major_version</code></em>,
506
+ <em class="parameter"><code><span class="type">int</span> minor_version</code></em>);</pre>
507
+ <p>Restricts all future XCB surfaces for this devices to the specified version
408
508
  of the RENDER extension. This function exists solely for debugging purpose.
409
509
  It let's you find out how cairo would behave with an older version of
410
- the RENDER extension.
411
- </p>
412
- <p>
413
- Use the special values -1 and -1 for disabling the RENDER extension.
414
- </p>
415
- <div class="variablelist"><table border="0">
416
- <col align="left" valign="top">
510
+ the RENDER extension.</p>
511
+ <p>Use the special values -1 and -1 for disabling the RENDER extension.</p>
512
+ <div class="refsect3">
513
+ <a name="id-1.5.12.7.8.6"></a><h4>Parameters</h4>
514
+ <div class="informaltable"><table width="100%" border="0">
515
+ <colgroup>
516
+ <col width="150px" class="parameters_name">
517
+ <col class="parameters_description">
518
+ <col width="200px" class="parameters_annotations">
519
+ </colgroup>
417
520
  <tbody>
418
521
  <tr>
419
- <td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
420
- <td>a <a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> for the XCB backend</td>
522
+ <td class="parameter_name"><p>device</p></td>
523
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> for the XCB backend</p></td>
524
+ <td class="parameter_annotations"> </td>
421
525
  </tr>
422
526
  <tr>
423
- <td><p><span class="term"><em class="parameter"><code>major_version</code></em> :</span></p></td>
424
- <td>major version to restrict to</td>
527
+ <td class="parameter_name"><p>major_version</p></td>
528
+ <td class="parameter_description"><p>major version to restrict to</p></td>
529
+ <td class="parameter_annotations"> </td>
425
530
  </tr>
426
531
  <tr>
427
- <td><p><span class="term"><em class="parameter"><code>minor_version</code></em> :</span></p></td>
428
- <td>minor version to restrict to</td>
532
+ <td class="parameter_name"><p>minor_version</p></td>
533
+ <td class="parameter_description"><p>minor version to restrict to</p></td>
534
+ <td class="parameter_annotations"> </td>
429
535
  </tr>
430
536
  </tbody>
431
537
  </table></div>
538
+ </div>
432
539
  <p class="since">Since 1.12</p>
433
540
  </div>
434
541
  <hr>
435
542
  <div class="refsect2">
436
- <a name="cairo-xcb-device-debug-cap-xshm-version"></a><h3>cairo_xcb_device_debug_cap_xshm_version ()</h3>
437
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_xcb_device_debug_cap_xshm_version
438
- (<em class="parameter"><code><a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> *device</code></em>,
439
- <em class="parameter"><code><span class="type">int</span> major_version</code></em>,
440
- <em class="parameter"><code><span class="type">int</span> minor_version</code></em>);</pre>
441
- <p>
442
- Restricts all future XCB surfaces for this devices to the specified version
543
+ <a name="cairo-xcb-device-debug-cap-xshm-version"></a><h3>cairo_xcb_device_debug_cap_xshm_version ()</h3>
544
+ <pre class="programlisting"><span class="returnvalue">void</span>
545
+ cairo_xcb_device_debug_cap_xshm_version
546
+ (<em class="parameter"><code><a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> *device</code></em>,
547
+ <em class="parameter"><code><span class="type">int</span> major_version</code></em>,
548
+ <em class="parameter"><code><span class="type">int</span> minor_version</code></em>);</pre>
549
+ <p>Restricts all future XCB surfaces for this devices to the specified version
443
550
  of the SHM extension. This function exists solely for debugging purpose.
444
551
  It let's you find out how cairo would behave with an older version of
445
- the SHM extension.
446
- </p>
447
- <p>
448
- Use the special values -1 and -1 for disabling the SHM extension.
449
- </p>
450
- <div class="variablelist"><table border="0">
451
- <col align="left" valign="top">
552
+ the SHM extension.</p>
553
+ <p>Use the special values -1 and -1 for disabling the SHM extension.</p>
554
+ <div class="refsect3">
555
+ <a name="id-1.5.12.7.9.6"></a><h4>Parameters</h4>
556
+ <div class="informaltable"><table width="100%" border="0">
557
+ <colgroup>
558
+ <col width="150px" class="parameters_name">
559
+ <col class="parameters_description">
560
+ <col width="200px" class="parameters_annotations">
561
+ </colgroup>
452
562
  <tbody>
453
563
  <tr>
454
- <td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
455
- <td>a <a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> for the XCB backend</td>
564
+ <td class="parameter_name"><p>device</p></td>
565
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> for the XCB backend</p></td>
566
+ <td class="parameter_annotations"> </td>
456
567
  </tr>
457
568
  <tr>
458
- <td><p><span class="term"><em class="parameter"><code>major_version</code></em> :</span></p></td>
459
- <td>major version to restrict to</td>
569
+ <td class="parameter_name"><p>major_version</p></td>
570
+ <td class="parameter_description"><p>major version to restrict to</p></td>
571
+ <td class="parameter_annotations"> </td>
460
572
  </tr>
461
573
  <tr>
462
- <td><p><span class="term"><em class="parameter"><code>minor_version</code></em> :</span></p></td>
463
- <td>minor version to restrict to</td>
574
+ <td class="parameter_name"><p>minor_version</p></td>
575
+ <td class="parameter_description"><p>minor version to restrict to</p></td>
576
+ <td class="parameter_annotations"> </td>
464
577
  </tr>
465
578
  </tbody>
466
579
  </table></div>
580
+ </div>
467
581
  <p class="since">Since 1.12</p>
468
582
  </div>
469
583
  <hr>
470
584
  <div class="refsect2">
471
- <a name="cairo-xcb-device-debug-get-precision"></a><h3>cairo_xcb_device_debug_get_precision ()</h3>
472
- <pre class="programlisting"><span class="returnvalue">int</span> cairo_xcb_device_debug_get_precision
473
- (<em class="parameter"><code><a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> *device</code></em>);</pre>
474
- <p>
475
- Get the Xrender precision mode.
476
- </p>
477
- <div class="variablelist"><table border="0">
478
- <col align="left" valign="top">
479
- <tbody>
480
- <tr>
481
- <td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
482
- <td>a <a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> for the XCB backend</td>
483
- </tr>
484
- <tr>
485
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
486
- <td>the render precision mode</td>
487
- </tr>
488
- </tbody>
585
+ <a name="cairo-xcb-device-debug-get-precision"></a><h3>cairo_xcb_device_debug_get_precision ()</h3>
586
+ <pre class="programlisting"><span class="returnvalue">int</span>
587
+ cairo_xcb_device_debug_get_precision (<em class="parameter"><code><a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> *device</code></em>);</pre>
588
+ <p>Get the Xrender precision mode.</p>
589
+ <div class="refsect3">
590
+ <a name="id-1.5.12.7.10.5"></a><h4>Parameters</h4>
591
+ <div class="informaltable"><table width="100%" border="0">
592
+ <colgroup>
593
+ <col width="150px" class="parameters_name">
594
+ <col class="parameters_description">
595
+ <col width="200px" class="parameters_annotations">
596
+ </colgroup>
597
+ <tbody><tr>
598
+ <td class="parameter_name"><p>device</p></td>
599
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> for the XCB backend</p></td>
600
+ <td class="parameter_annotations"> </td>
601
+ </tr></tbody>
489
602
  </table></div>
603
+ </div>
604
+ <div class="refsect3">
605
+ <a name="id-1.5.12.7.10.6"></a><h4>Returns</h4>
606
+ <p> the render precision mode</p>
607
+ <p></p>
608
+ </div>
490
609
  <p class="since">Since 1.12</p>
491
610
  </div>
492
611
  <hr>
493
612
  <div class="refsect2">
494
- <a name="cairo-xcb-device-debug-set-precision"></a><h3>cairo_xcb_device_debug_set_precision ()</h3>
495
- <pre class="programlisting"><span class="returnvalue">void</span> cairo_xcb_device_debug_set_precision
496
- (<em class="parameter"><code><a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> *device</code></em>,
497
- <em class="parameter"><code><span class="type">int</span> precision</code></em>);</pre>
498
- <p>
499
- Render supports two modes of precision when rendering trapezoids. Set
500
- the precision to the desired mode.
501
- </p>
502
- <div class="variablelist"><table border="0">
503
- <col align="left" valign="top">
613
+ <a name="cairo-xcb-device-debug-set-precision"></a><h3>cairo_xcb_device_debug_set_precision ()</h3>
614
+ <pre class="programlisting"><span class="returnvalue">void</span>
615
+ cairo_xcb_device_debug_set_precision (<em class="parameter"><code><a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> *device</code></em>,
616
+ <em class="parameter"><code><span class="type">int</span> precision</code></em>);</pre>
617
+ <p>Render supports two modes of precision when rendering trapezoids. Set
618
+ the precision to the desired mode.</p>
619
+ <div class="refsect3">
620
+ <a name="id-1.5.12.7.11.5"></a><h4>Parameters</h4>
621
+ <div class="informaltable"><table width="100%" border="0">
622
+ <colgroup>
623
+ <col width="150px" class="parameters_name">
624
+ <col class="parameters_description">
625
+ <col width="200px" class="parameters_annotations">
626
+ </colgroup>
504
627
  <tbody>
505
628
  <tr>
506
- <td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
507
- <td>a <a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> for the XCB backend</td>
629
+ <td class="parameter_name"><p>device</p></td>
630
+ <td class="parameter_description"><p>a <a class="link" href="cairo-cairo-device-t.html#cairo-device-t" title="cairo_device_t"><span class="type">cairo_device_t</span></a> for the XCB backend</p></td>
631
+ <td class="parameter_annotations"> </td>
508
632
  </tr>
509
633
  <tr>
510
- <td><p><span class="term"><em class="parameter"><code>precision</code></em> :</span></p></td>
511
- <td>the precision to use</td>
634
+ <td class="parameter_name"><p>precision</p></td>
635
+ <td class="parameter_description"><p>the precision to use</p></td>
636
+ <td class="parameter_annotations"> </td>
512
637
  </tr>
513
638
  </tbody>
514
639
  </table></div>
640
+ </div>
641
+ <p class="since">Since 1.12</p>
642
+ </div>
643
+ </div>
644
+ <div class="refsect1">
645
+ <a name="cairo-XCB-Surfaces.other_details"></a><h2>Types and Values</h2>
646
+ <div class="refsect2">
647
+ <a name="CAIRO-HAS-XCB-SURFACE:CAPS"></a><h3>CAIRO_HAS_XCB_SURFACE</h3>
648
+ <pre class="programlisting">#define CAIRO_HAS_XCB_SURFACE 1
649
+ </pre>
650
+ <p>Defined if the xcb surface backend is available.
651
+ This macro can be used to conditionally compile backend-specific code.</p>
515
652
  <p class="since">Since 1.12</p>
516
653
  </div>
654
+ <hr>
655
+ <div class="refsect2">
656
+ <a name="CAIRO-HAS-XCB-SHM-FUNCTIONS:CAPS"></a><h3>CAIRO_HAS_XCB_SHM_FUNCTIONS</h3>
657
+ <pre class="programlisting">#define CAIRO_HAS_XCB_SHM_FUNCTIONS 1
658
+ </pre>
659
+ <p>
660
+ </p>
661
+ </div>
517
662
  </div>
518
663
  <div class="refsect1">
519
664
  <a name="cairo-XCB-Surfaces.see-also"></a><h2>See Also</h2>
520
- <a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a>
665
+ <p><a class="link" href="cairo-cairo-surface-t.html#cairo-surface-t" title="cairo_surface_t"><span class="type">cairo_surface_t</span></a></p>
521
666
  </div>
522
667
  </div>
523
668
  <div class="footer">
524
669
  <hr>
525
- Generated by GTK-Doc V1.18</div>
670
+ Generated by GTK-Doc V1.20</div>
526
671
  </body>
527
672
  </html>