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.
- checksums.yaml +4 -4
- data/NEWS +21 -0
- data/Rakefile +17 -6
- data/ext/cairo/cairo.def +1 -0
- data/ext/cairo/extconf.rb +23 -10
- data/ext/cairo/rb_cairo.c +3 -0
- data/ext/cairo/rb_cairo.h +3 -3
- data/ext/cairo/rb_cairo_context.c +1 -1
- data/ext/cairo/rb_cairo_io.c +4 -0
- data/ext/cairo/rb_cairo_io.h +2 -0
- data/ext/cairo/rb_cairo_pattern.c +4 -4
- data/ext/cairo/rb_cairo_private.h +2 -0
- data/ext/cairo/rb_cairo_surface.c +64 -232
- data/lib/2.0/cairo.so +0 -0
- data/lib/2.1/cairo.so +0 -0
- data/lib/2.2/cairo.so +0 -0
- data/lib/cairo.rb +20 -19
- data/lib/cairo/region.rb +14 -0
- data/test/test_region.rb +26 -0
- data/vendor/local/bin/fc-cache.exe +0 -0
- data/vendor/local/bin/fc-cat.exe +0 -0
- data/vendor/local/bin/fc-list.exe +0 -0
- data/vendor/local/bin/fc-match.exe +0 -0
- data/vendor/local/bin/fc-pattern.exe +0 -0
- data/vendor/local/bin/fc-query.exe +0 -0
- data/vendor/local/bin/fc-scan.exe +0 -0
- data/vendor/local/bin/fc-validate.exe +0 -0
- data/vendor/local/bin/freetype-config +2 -2
- data/vendor/local/bin/libcairo-2.dll +0 -0
- data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
- data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
- data/vendor/local/bin/libfontconfig-1.dll +0 -0
- data/vendor/local/bin/libfreetype-6.dll +0 -0
- data/vendor/local/bin/libgcc_s_seh-1.dll +0 -0
- data/vendor/local/bin/libpixman-1-0.dll +0 -0
- data/vendor/local/bin/libpng-config +1 -1
- data/vendor/local/bin/libpng16-16.dll +0 -0
- data/vendor/local/bin/libpng16-config +1 -1
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/libwinpthread-1.dll +0 -0
- data/vendor/local/bin/libxml2-2.dll +0 -0
- data/vendor/local/bin/png-fix-itxt.exe +0 -0
- data/vendor/local/bin/pngfix.exe +0 -0
- data/vendor/local/bin/xmlcatalog.exe +0 -0
- data/vendor/local/bin/xmllint.exe +0 -0
- data/vendor/local/bin/zlib1.dll +0 -0
- data/vendor/local/include/cairo/cairo-version.h +1 -1
- data/vendor/local/include/freetype2/config/ftconfig.h +19 -2
- data/vendor/local/include/freetype2/config/ftheader.h +7 -5
- data/vendor/local/include/freetype2/config/ftoption.h +9 -22
- data/vendor/local/include/freetype2/config/ftstdlib.h +2 -3
- data/vendor/local/include/freetype2/freetype.h +38 -17
- data/vendor/local/include/freetype2/ft2build.h +1 -1
- data/vendor/local/include/freetype2/ftadvanc.h +2 -2
- data/vendor/local/include/freetype2/ftautoh.h +50 -2
- data/vendor/local/include/freetype2/ftbbox.h +1 -1
- data/vendor/local/include/freetype2/ftbdf.h +1 -1
- data/vendor/local/include/freetype2/ftbitmap.h +11 -3
- data/vendor/local/include/freetype2/ftbzip2.h +1 -1
- data/vendor/local/include/freetype2/ftcache.h +3 -3
- data/vendor/local/include/freetype2/ftcffdrv.h +1 -1
- data/vendor/local/include/freetype2/ftcid.h +2 -1
- data/vendor/local/include/freetype2/fterrdef.h +1 -1
- data/vendor/local/include/freetype2/fterrors.h +1 -1
- data/vendor/local/include/freetype2/{ftxf86.h → ftfntfmt.h} +22 -14
- data/vendor/local/include/freetype2/ftgasp.h +1 -1
- data/vendor/local/include/freetype2/ftglyph.h +1 -1
- data/vendor/local/include/freetype2/ftgxval.h +1 -1
- data/vendor/local/include/freetype2/ftgzip.h +1 -1
- data/vendor/local/include/freetype2/ftimage.h +7 -13
- data/vendor/local/include/freetype2/ftincrem.h +1 -1
- data/vendor/local/include/freetype2/ftlcdfil.h +2 -2
- data/vendor/local/include/freetype2/ftlist.h +1 -1
- data/vendor/local/include/freetype2/ftlzw.h +1 -1
- data/vendor/local/include/freetype2/ftmac.h +1 -1
- data/vendor/local/include/freetype2/ftmm.h +17 -11
- data/vendor/local/include/freetype2/ftmodapi.h +4 -2
- data/vendor/local/include/freetype2/ftmoderr.h +1 -1
- data/vendor/local/include/freetype2/ftotval.h +1 -1
- data/vendor/local/include/freetype2/ftoutln.h +1 -1
- data/vendor/local/include/freetype2/ftpfr.h +1 -1
- data/vendor/local/include/freetype2/ftrender.h +3 -8
- data/vendor/local/include/freetype2/ftsizes.h +1 -1
- data/vendor/local/include/freetype2/ftsnames.h +1 -1
- data/vendor/local/include/freetype2/ftstroke.h +1 -1
- data/vendor/local/include/freetype2/ftsynth.h +5 -3
- data/vendor/local/include/freetype2/ftsystem.h +10 -1
- data/vendor/local/include/freetype2/fttrigon.h +1 -1
- data/vendor/local/include/freetype2/ftttdrv.h +85 -22
- data/vendor/local/include/freetype2/fttypes.h +1 -1
- data/vendor/local/include/freetype2/ftwinfnt.h +3 -3
- data/vendor/local/include/freetype2/t1tables.h +4 -3
- data/vendor/local/include/freetype2/ttnameid.h +116 -116
- data/vendor/local/include/freetype2/tttables.h +2 -2
- data/vendor/local/include/freetype2/tttags.h +1 -1
- data/vendor/local/include/freetype2/ttunpat.h +1 -1
- data/vendor/local/include/libpng16/png.h +63 -80
- data/vendor/local/include/libpng16/pngconf.h +8 -30
- data/vendor/local/include/libpng16/pnglibconf.h +10 -4
- data/vendor/local/include/png.h +63 -80
- data/vendor/local/include/pngconf.h +8 -30
- data/vendor/local/include/pnglibconf.h +10 -4
- data/vendor/local/lib/libcairo-gobject.a +0 -0
- data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
- data/vendor/local/lib/libcairo-gobject.la +2 -2
- data/vendor/local/lib/libcairo-script-interpreter.a +0 -0
- data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
- data/vendor/local/lib/libcairo-script-interpreter.la +2 -2
- data/vendor/local/lib/libcairo.a +0 -0
- data/vendor/local/lib/libcairo.dll.a +0 -0
- data/vendor/local/lib/libcairo.la +2 -2
- data/vendor/local/lib/libfontconfig.dll.a +0 -0
- data/vendor/local/lib/libfreetype.a +0 -0
- data/vendor/local/lib/libfreetype.dll.a +0 -0
- data/vendor/local/lib/libfreetype.la +4 -4
- data/vendor/local/lib/libpixman-1.a +0 -0
- data/vendor/local/lib/libpixman-1.dll.a +0 -0
- data/vendor/local/lib/libpng.a +0 -0
- data/vendor/local/lib/libpng.dll.a +0 -0
- data/vendor/local/lib/libpng.la +4 -4
- data/vendor/local/lib/libpng16.a +0 -0
- data/vendor/local/lib/libpng16.dll.a +0 -0
- data/vendor/local/lib/libpng16.la +4 -4
- data/vendor/local/lib/libxml2.a +0 -0
- data/vendor/local/lib/libxml2.dll.a +0 -0
- data/vendor/local/lib/libz.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-script.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
- data/vendor/local/lib/pkgconfig/cairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/freetype2.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpng.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpng16.pc +1 -1
- data/vendor/local/share/aclocal/freetype2.m4 +1 -1
- data/vendor/local/share/gtk-doc/html/cairo/bindings-errors.html +12 -12
- data/vendor/local/share/gtk-doc/html/cairo/bindings-fonts.html +12 -12
- data/vendor/local/share/gtk-doc/html/cairo/bindings-memory.html +12 -12
- data/vendor/local/share/gtk-doc/html/cairo/bindings-overloading.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/bindings-path.html +12 -12
- data/vendor/local/share/gtk-doc/html/cairo/bindings-patterns.html +35 -35
- data/vendor/local/share/gtk-doc/html/cairo/bindings-return-values.html +10 -10
- data/vendor/local/share/gtk-doc/html/cairo/bindings-streams.html +11 -11
- data/vendor/local/share/gtk-doc/html/cairo/bindings-surfaces.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Error-handling.html +294 -225
- data/vendor/local/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html +387 -269
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html +432 -302
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html +325 -217
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PNG-Support.html +298 -193
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Paths.html +1121 -812
- data/vendor/local/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html +513 -383
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html +126 -83
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html +172 -119
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Raster-Sources.html +581 -372
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html +179 -130
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Regions.html +888 -539
- data/vendor/local/share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html +287 -192
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Script-Surfaces.html +374 -231
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Transformations.html +395 -219
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Types.html +125 -75
- data/vendor/local/share/gtk-doc/html/cairo/cairo-User-Fonts.html +630 -464
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Version-Information.html +225 -200
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Fonts.html +336 -214
- data/vendor/local/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html +277 -186
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XCB-Surfaces.html +495 -350
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html +557 -362
- data/vendor/local/share/gtk-doc/html/cairo/cairo-XLib-XRender-Backend.html +158 -111
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-device-t.html +655 -441
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html +389 -280
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html +667 -451
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html +579 -351
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html +2006 -1545
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html +892 -618
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html +1624 -1188
- data/vendor/local/share/gtk-doc/html/cairo/cairo-cairo-t.html +2903 -2104
- data/vendor/local/share/gtk-doc/html/cairo/cairo-drawing.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-fonts.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-support.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-surfaces.html +13 -13
- data/vendor/local/share/gtk-doc/html/cairo/cairo-text.html +1115 -758
- data/vendor/local/share/gtk-doc/html/cairo/cairo.devhelp2 +419 -604
- data/vendor/local/share/gtk-doc/html/cairo/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/index-1.10.html +56 -56
- data/vendor/local/share/gtk-doc/html/cairo/index-1.12.html +70 -70
- data/vendor/local/share/gtk-doc/html/cairo/index-1.2.html +58 -58
- data/vendor/local/share/gtk-doc/html/cairo/index-1.4.html +39 -39
- data/vendor/local/share/gtk-doc/html/cairo/index-1.6.html +30 -30
- data/vendor/local/share/gtk-doc/html/cairo/index-1.8.html +38 -38
- data/vendor/local/share/gtk-doc/html/cairo/index-all.html +426 -426
- data/vendor/local/share/gtk-doc/html/cairo/index.html +6 -6
- data/vendor/local/share/gtk-doc/html/cairo/index.sgml +234 -325
- data/vendor/local/share/gtk-doc/html/cairo/language-bindings.html +12 -12
- data/vendor/local/share/gtk-doc/html/cairo/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/style.css +221 -26
- data/vendor/local/share/gtk-doc/html/cairo/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cairo/up.png +0 -0
- data/vendor/local/share/license/cairo/README +1 -1
- data/vendor/local/share/license/freetype/README +6 -6
- data/vendor/local/share/license/freetype/README.git +1 -1
- data/vendor/local/share/license/libpng/README +2 -2
- data/vendor/local/share/man/man1/freetype-config.1 +1 -1
- data/vendor/local/share/man/man3/libpng.3 +85 -92
- data/vendor/local/share/man/man3/libpngpf.3 +2 -2
- data/vendor/local/share/man/man5/png.5 +1 -1
- 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.
|
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.
|
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="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<
|
19
|
-
<
|
20
|
-
|
21
|
-
<td><a accesskey="
|
22
|
-
|
23
|
-
<
|
24
|
-
<a href="
|
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="
|
39
|
-
<a name="cairo-XCB-Surfaces.
|
40
|
-
<
|
41
|
-
|
42
|
-
<
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
<
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
<
|
60
|
-
|
61
|
-
|
62
|
-
<
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
<
|
67
|
-
<
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
<
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
<
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
</
|
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.
|
84
|
-
<
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
</
|
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.
|
95
|
-
<
|
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
|
-
<
|
106
|
-
<
|
107
|
-
<
|
108
|
-
|
109
|
-
|
110
|
-
|
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
|
-
<
|
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
|
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>
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
<
|
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
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
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
|
-
|
137
|
-
<
|
138
|
-
<
|
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
|
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
|
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
|
150
|
-
<td>the visual to use for drawing to <em class="parameter"><code>drawable</code></em
|
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
|
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
|
161
|
-
<td>the current height of <em class="parameter"><code>drawable</code></em>
|
162
|
-
</td>
|
163
|
-
</
|
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
|
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>
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
<
|
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
|
-
|
189
|
-
<
|
190
|
-
<
|
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
|
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
|
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
|
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
|
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
|
212
|
-
<td>the current height of <em class="parameter"><code>bitmap</code></em>
|
213
|
-
</td>
|
214
|
-
</
|
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
|
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>
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
<
|
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
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
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
|
-
|
254
|
-
<
|
255
|
-
<
|
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
|
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
|
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
|
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
|
272
|
-
<td>the picture format to use for drawing to <em class="parameter"><code>drawable</code></em
|
273
|
-
|
274
|
-
</
|
275
|
-
|
276
|
-
<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
|
282
|
-
<td>the current
|
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
|
287
|
-
<td>
|
288
|
-
|
289
|
-
|
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
|
301
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
302
|
-
|
303
|
-
|
304
|
-
<
|
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
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
<
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
<
|
321
|
-
<col
|
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
|
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
|
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
|
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
|
342
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
<
|
347
|
-
Informs cairo of the new drawable and size of the XCB drawable underlying the
|
348
|
-
surface
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
<
|
355
|
-
<col
|
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
|
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
|
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
|
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
|
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
|
380
|
-
<pre class="programlisting"><span class="returnvalue">xcb_connection_t</span>
|
381
|
-
<
|
382
|
-
Get the connection for the XCB device
|
383
|
-
|
384
|
-
<
|
385
|
-
<
|
386
|
-
<
|
387
|
-
<
|
388
|
-
<
|
389
|
-
<
|
390
|
-
</
|
391
|
-
<tr>
|
392
|
-
<td
|
393
|
-
<td>
|
394
|
-
</
|
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
|
402
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
<
|
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
|
-
|
412
|
-
<
|
413
|
-
|
414
|
-
|
415
|
-
<
|
416
|
-
<col
|
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
|
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
|
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
|
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
|
437
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
<
|
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
|
-
|
447
|
-
<
|
448
|
-
|
449
|
-
|
450
|
-
<
|
451
|
-
<col
|
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
|
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
|
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
|
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
|
472
|
-
<pre class="programlisting"><span class="returnvalue">int</span>
|
473
|
-
|
474
|
-
<p>
|
475
|
-
|
476
|
-
</
|
477
|
-
<div class="
|
478
|
-
<
|
479
|
-
<
|
480
|
-
<
|
481
|
-
<
|
482
|
-
|
483
|
-
|
484
|
-
<
|
485
|
-
<td><p
|
486
|
-
<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
|
495
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
496
|
-
|
497
|
-
|
498
|
-
<p>
|
499
|
-
|
500
|
-
|
501
|
-
</
|
502
|
-
<div class="
|
503
|
-
<
|
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
|
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
|
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.
|
670
|
+
Generated by GTK-Doc V1.20</div>
|
526
671
|
</body>
|
527
672
|
</html>
|