pango 1.0.3-x86-mingw32 → 1.1.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. data/ext/pango/extconf.rb +3 -0
  2. data/ext/pango/rbpango.c +312 -12
  3. data/ext/pango/rbpango.h +33 -22
  4. data/ext/pango/rbpangoanalysis.c +98 -58
  5. data/ext/pango/rbpangoattribute.c +94 -85
  6. data/ext/pango/rbpangoattriterator.c +39 -28
  7. data/ext/pango/rbpangoattrlist.c +42 -32
  8. data/ext/pango/rbpangocairo.c +38 -172
  9. data/ext/pango/rbpangocairocontext.c +151 -0
  10. data/ext/pango/rbpangocolor.c +49 -38
  11. data/ext/pango/rbpangocontext.c +109 -102
  12. data/ext/pango/rbpangoconversions.h +111 -0
  13. data/ext/pango/rbpangocoverage.c +45 -37
  14. data/ext/pango/rbpangoengine.c +22 -12
  15. data/ext/pango/rbpangofont.c +52 -43
  16. data/ext/pango/rbpangofontdescription.c +102 -91
  17. data/ext/pango/rbpangofontface.c +32 -21
  18. data/ext/pango/rbpangofontfamily.c +31 -20
  19. data/ext/pango/rbpangofontmap.c +44 -36
  20. data/ext/pango/rbpangofontmetrics.c +41 -30
  21. data/ext/pango/rbpangofontset.c +32 -21
  22. data/ext/pango/rbpangofontsetsimple.c +34 -24
  23. data/ext/pango/rbpangoglyphinfo.c +48 -35
  24. data/ext/pango/rbpangoglyphitem.c +43 -33
  25. data/ext/pango/rbpangoglyphstring.c +59 -59
  26. data/ext/pango/rbpangogravity.c +34 -23
  27. data/ext/pango/rbpangoitem.c +43 -34
  28. data/ext/pango/rbpangolanguage.c +44 -34
  29. data/ext/pango/rbpangolayout.c +167 -160
  30. data/ext/pango/rbpangolayoutiter.c +70 -59
  31. data/ext/pango/rbpangolayoutline.c +106 -71
  32. data/ext/pango/rbpangologattr.c +42 -31
  33. data/ext/pango/rbpangomatrix.c +47 -35
  34. data/ext/pango/rbpangoprivate.h +53 -0
  35. data/ext/pango/rbpangorectangle.c +58 -49
  36. data/ext/pango/rbpangorenderer.c +81 -70
  37. data/ext/pango/rbpangoscript.c +37 -27
  38. data/ext/pango/rbpangoscriptiter.c +32 -22
  39. data/ext/pango/rbpangotabarray.c +48 -37
  40. data/lib/1.8/pango.so +0 -0
  41. data/lib/1.9/pango.so +0 -0
  42. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  43. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  44. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  45. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  46. data/vendor/local/bin/pango-querymodules.exe +0 -0
  47. data/vendor/local/bin/pango-view.exe +0 -0
  48. data/vendor/local/etc/pango/pango.modules +1 -1
  49. data/vendor/local/include/pango-1.0/pango/pango-attributes.h +1 -1
  50. data/vendor/local/include/pango-1.0/pango/pango-context.h +3 -3
  51. data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
  52. data/vendor/local/include/pango-1.0/pango/pango-font.h +3 -3
  53. data/vendor/local/include/pango-1.0/pango/pango-language.h +3 -3
  54. data/vendor/local/include/pango-1.0/pango/pango-layout.h +6 -1
  55. data/vendor/local/include/pango-1.0/pango/pango-renderer.h +1 -1
  56. data/vendor/local/include/pango-1.0/pango/pango-script.h +6 -6
  57. data/vendor/local/include/pango-1.0/pango/pango-utils.h +6 -6
  58. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  59. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  60. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  61. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  62. data/vendor/local/lib/pango-1.0.def +2 -0
  63. data/vendor/local/lib/pango-1.0.lib +0 -0
  64. data/vendor/local/lib/pangocairo-1.0.lib +0 -0
  65. data/vendor/local/lib/pangoft2-1.0.lib +0 -0
  66. data/vendor/local/lib/pangowin32-1.0.def +1 -1
  67. data/vendor/local/lib/pangowin32-1.0.lib +0 -0
  68. data/vendor/local/lib/pkgconfig/pango.pc +1 -1
  69. data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
  70. data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
  71. data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
  72. data/vendor/local/manifest/{pango-dev_1.28.3-1_win32.mft → pango-dev_1.29.4-1_win32.mft} +5 -5
  73. data/vendor/local/manifest/{pango_1.28.3-1_win32.mft → pango_1.29.4-1_win32.mft} +2 -2
  74. data/vendor/local/share/doc/{pango-1.28.3 → pango-1.29.4}/COPYING +0 -0
  75. data/vendor/local/share/doc/{pango-dev-1.28.3 → pango-dev-1.29.4}/COPYING +0 -0
  76. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +9 -10
  77. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +25 -27
  78. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +19 -28
  79. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +42 -60
  80. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +97 -147
  81. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -6
  82. data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -3
  83. data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -3
  84. data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -3
  85. data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +5 -5
  86. data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +3 -5
  87. data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -3
  88. data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +3 -3
  89. data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -5
  90. data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -3
  91. data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +4 -4
  92. data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +8 -11
  93. data/vendor/local/share/gtk-doc/html/pango/index-1.30.html +38 -0
  94. data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -3
  95. data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +4 -4
  96. data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +4 -4
  97. data/vendor/local/share/gtk-doc/html/pango/index-all.html +38 -40
  98. data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -3
  99. data/vendor/local/share/gtk-doc/html/pango/index.html +6 -5
  100. data/vendor/local/share/gtk-doc/html/pango/index.sgml +71 -34
  101. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +3 -3
  102. data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +4 -66
  103. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +52 -50
  104. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +217 -278
  105. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +40 -41
  106. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +37 -49
  107. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +481 -628
  108. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +76 -118
  109. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +302 -452
  110. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +492 -517
  111. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +134 -164
  112. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +34 -45
  113. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +244 -359
  114. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +117 -122
  115. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +112 -120
  116. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +394 -523
  117. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +269 -364
  118. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +26 -40
  119. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +72 -75
  120. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +97 -145
  121. data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +114 -188
  122. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +114 -176
  123. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +42 -8
  124. data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +106 -150
  125. data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +3 -3
  126. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +35 -35
  127. data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -3
  128. data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -3
  129. data/vendor/local/share/gtk-doc/html/pango/style.css +2 -1
  130. data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -3
  131. data/vendor/local/share/man/man1/pango-querymodules.1 +12 -3
  132. data/vendor/local/share/man/man1/pango-view.1 +2 -2
  133. data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.log +806 -0
  134. data/vendor/local/src/{tml/packaging/pango_1.28.3-1_win32.sh → dieterv/packaging/pango_1.29.4-1_win32.sh} +7 -7
  135. metadata +19 -19
  136. data/ChangeLog +0 -721
  137. data/ext/pango/rbpangoinits.c +0 -72
  138. data/ext/pango/rbpangomain.c +0 -202
  139. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +0 -799
  140. data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.log +0 -950
@@ -3,12 +3,12 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <title>Low Level Functionality</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
7
  <link rel="home" href="index.html" title="Pango Reference Manual">
8
8
  <link rel="up" href="index.html" title="Pango Reference Manual">
9
9
  <link rel="prev" href="pango-X-Fonts-and-Rendering.html" title="Deprecated X font backend">
10
10
  <link rel="next" href="pango-pango-renderer.html" title="PangoRenderer">
11
- <meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.18 (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">
@@ -63,6 +63,6 @@
63
63
  </div>
64
64
  <div class="footer">
65
65
  <hr>
66
- Generated by GTK-Doc V1.15.1</div>
66
+ Generated by GTK-Doc V1.18</div>
67
67
  </body>
68
68
  </html>
@@ -3,12 +3,12 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <title>ATSUI Fonts</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
7
  <link rel="home" href="index.html" title="Pango Reference Manual">
8
8
  <link rel="up" href="rendering.html" title="Rendering with Pango">
9
9
  <link rel="prev" href="pango-Cairo-Rendering.html" title="Cairo Rendering">
10
10
  <link rel="next" href="pango-X-Fonts-and-Rendering.html" title="Deprecated X font backend">
11
- <meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.18 (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">
@@ -37,10 +37,7 @@
37
37
  </tr></table></div>
38
38
  <div class="refsynopsisdiv">
39
39
  <a name="pango-ATSUI-Fonts.synopsis"></a><h2>Synopsis</h2>
40
- <pre class="synopsis">#define <a class="link" href="pango-ATSUI-Fonts.html#PANGO-RENDER-TYPE-ATSUI:CAPS" title="PANGO_RENDER_TYPE_ATSUI">PANGO_RENDER_TYPE_ATSUI</a>
41
- <span class="returnvalue">CGFontRef</span> <a class="link" href="pango-ATSUI-Fonts.html#pango-atsui-font-get-cgfont" title="pango_atsui_font_get_cgfont ()">pango_atsui_font_get_cgfont</a> (<em class="parameter"><code><span class="type">PangoATSUIFont</span> *font</code></em>);
42
- <span class="returnvalue">ATSFontRef</span> <a class="link" href="pango-ATSUI-Fonts.html#pango-atsui-font-get-atsfont" title="pango_atsui_font_get_atsfont ()">pango_atsui_font_get_atsfont</a> (<em class="parameter"><code><span class="type">PangoATSUIFont</span> *font</code></em>);
43
- </pre>
40
+ <pre class="synopsis"></pre>
44
41
  </div>
45
42
  <div class="refsect1">
46
43
  <a name="pango-ATSUI-Fonts.description"></a><h2>Description</h2>
@@ -51,69 +48,10 @@ MacOS systems using the ATSUI text rendering subsystem.
51
48
  </div>
52
49
  <div class="refsect1">
53
50
  <a name="pango-ATSUI-Fonts.details"></a><h2>Details</h2>
54
- <div class="refsect2">
55
- <a name="PANGO-RENDER-TYPE-ATSUI:CAPS"></a><h3>PANGO_RENDER_TYPE_ATSUI</h3>
56
- <pre class="programlisting">#define PANGO_RENDER_TYPE_ATSUI "PangoRenderATSUI"
57
- </pre>
58
- <p>
59
- A string constant identifying the ATSUI renderer. The associated quark (see
60
- <code class="function">g_quark_from_string()</code>) is used to identify the renderer in <a class="link" href="pango-Modules.html#pango-find-map" title="pango_find_map ()"><code class="function">pango_find_map()</code></a>.
61
- </p>
62
- </div>
63
- <hr>
64
- <div class="refsect2">
65
- <a name="pango-atsui-font-get-cgfont"></a><h3>pango_atsui_font_get_cgfont ()</h3>
66
- <pre class="programlisting"><span class="returnvalue">CGFontRef</span> pango_atsui_font_get_cgfont (<em class="parameter"><code><span class="type">PangoATSUIFont</span> *font</code></em>);</pre>
67
- <p>
68
- Returns the CGFontRef of a font.
69
- </p>
70
- <div class="variablelist"><table border="0">
71
- <col align="left" valign="top">
72
- <tbody>
73
- <tr>
74
- <td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
75
- <td>A <span class="type">PangoATSUIFont</span>
76
- </td>
77
- </tr>
78
- <tr>
79
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
80
- <td> the CGFontRef associated to <em class="parameter"><code>font</code></em>.
81
-
82
- </td>
83
- </tr>
84
- </tbody>
85
- </table></div>
86
- <p class="since">Since 1.18</p>
87
- </div>
88
- <hr>
89
- <div class="refsect2">
90
- <a name="pango-atsui-font-get-atsfont"></a><h3>pango_atsui_font_get_atsfont ()</h3>
91
- <pre class="programlisting"><span class="returnvalue">ATSFontRef</span> pango_atsui_font_get_atsfont (<em class="parameter"><code><span class="type">PangoATSUIFont</span> *font</code></em>);</pre>
92
- <p>
93
- Returns the ATSFontRef of a font.
94
- </p>
95
- <div class="variablelist"><table border="0">
96
- <col align="left" valign="top">
97
- <tbody>
98
- <tr>
99
- <td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
100
- <td>A <span class="type">PangoATSUIFont</span>
101
- </td>
102
- </tr>
103
- <tr>
104
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
105
- <td> the ATSFontRef associated to <em class="parameter"><code>font</code></em>.
106
-
107
- </td>
108
- </tr>
109
- </tbody>
110
- </table></div>
111
- <p class="since">Since 1.28</p>
112
- </div>
113
51
  </div>
114
52
  </div>
115
53
  <div class="footer">
116
54
  <hr>
117
- Generated by GTK-Doc V1.15.1</div>
55
+ Generated by GTK-Doc V1.18</div>
118
56
  </body>
119
57
  </html>
@@ -3,12 +3,12 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <title>Bidirectional Text</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
7
  <link rel="home" href="index.html" title="Pango Reference Manual">
8
8
  <link rel="up" href="pango.html" title="Basic Pango Interfaces">
9
9
  <link rel="prev" href="pango-Scripts-and-Languages.html" title="Scripts and Languages">
10
10
  <link rel="next" href="pango-Vertical-Text.html" title="Vertical Text">
11
- <meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.18 (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">
@@ -24,6 +24,8 @@
24
24
  <a href="#pango-Bidirectional-Text.synopsis" class="shortcut">Top</a>
25
25
   | 
26
26
  <a href="#pango-Bidirectional-Text.description" class="shortcut">Description</a>
27
+  | 
28
+ <a href="#pango-Bidirectional-Text.object-hierarchy" class="shortcut">Object Hierarchy</a>
27
29
  </td></tr>
28
30
  </table>
29
31
  <div class="refentry">
@@ -37,14 +39,25 @@
37
39
  </tr></table></div>
38
40
  <div class="refsynopsisdiv">
39
41
  <a name="pango-Bidirectional-Text.synopsis"></a><h2>Synopsis</h2>
40
- <pre class="synopsis">enum <a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection">PangoDirection</a>;
41
- <a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="returnvalue">PangoDirection</span></a> <a class="link" href="pango-Bidirectional-Text.html#pango-unichar-direction" title="pango_unichar_direction ()">pango_unichar_direction</a> (<em class="parameter"><code><span class="type">gunichar</span> ch</code></em>);
42
- <a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="returnvalue">PangoDirection</span></a> <a class="link" href="pango-Bidirectional-Text.html#pango-find-base-dir" title="pango_find_base_dir ()">pango_find_base_dir</a> (<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
43
- <em class="parameter"><code><span class="type">gint</span> length</code></em>);
44
- <span class="returnvalue">gboolean</span> <a class="link" href="pango-Bidirectional-Text.html#pango-get-mirror-char" title="pango_get_mirror_char ()">pango_get_mirror_char</a> (<em class="parameter"><code><span class="type">gunichar</span> ch</code></em>,
45
- <em class="parameter"><code><span class="type">gunichar</span> *mirrored_ch</code></em>);
46
- enum <a class="link" href="pango-Bidirectional-Text.html#PangoBidiType" title="enum PangoBidiType">PangoBidiType</a>;
47
- <a class="link" href="pango-Bidirectional-Text.html#PangoBidiType" title="enum PangoBidiType"><span class="returnvalue">PangoBidiType</span></a> <a class="link" href="pango-Bidirectional-Text.html#pango-bidi-type-for-unichar" title="pango_bidi_type_for_unichar ()">pango_bidi_type_for_unichar</a> (<em class="parameter"><code><span class="type">gunichar</span> ch</code></em>);
42
+ <a name="PangoDirection"></a><a name="PangoBidiType"></a><pre class="synopsis">enum <a class="link" href="pango-Bidirectional-Text.html#PangoDirection-enum" title="enum PangoDirection">PangoDirection</a>;
43
+ <a class="link" href="pango-Bidirectional-Text.html#PangoDirection"><span class="returnvalue">PangoDirection</span></a> <a class="link" href="pango-Bidirectional-Text.html#pango-unichar-direction" title="pango_unichar_direction ()">pango_unichar_direction</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> ch</code></em>);
44
+ <a class="link" href="pango-Bidirectional-Text.html#PangoDirection"><span class="returnvalue">PangoDirection</span></a> <a class="link" href="pango-Bidirectional-Text.html#pango-find-base-dir" title="pango_find_base_dir ()">pango_find_base_dir</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
45
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>);
46
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="pango-Bidirectional-Text.html#pango-get-mirror-char" title="pango_get_mirror_char ()">pango_get_mirror_char</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> ch</code></em>,
47
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> *mirrored_ch</code></em>);
48
+ enum <a class="link" href="pango-Bidirectional-Text.html#PangoBidiType-enum" title="enum PangoBidiType">PangoBidiType</a>;
49
+ <a class="link" href="pango-Bidirectional-Text.html#PangoBidiType"><span class="returnvalue">PangoBidiType</span></a> <a class="link" href="pango-Bidirectional-Text.html#pango-bidi-type-for-unichar" title="pango_bidi_type_for_unichar ()">pango_bidi_type_for_unichar</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> ch</code></em>);
50
+ </pre>
51
+ </div>
52
+ <div class="refsect1">
53
+ <a name="pango-Bidirectional-Text.object-hierarchy"></a><h2>Object Hierarchy</h2>
54
+ <pre class="synopsis">
55
+ GEnum
56
+ +----PangoDirection
57
+ </pre>
58
+ <pre class="synopsis">
59
+ GEnum
60
+ +----PangoBidiType
48
61
  </pre>
49
62
  </div>
50
63
  <div class="refsect1">
@@ -55,7 +68,7 @@ Some applications however, need some help to correctly handle bidirectional
55
68
  text.
56
69
  </p>
57
70
  <p>
58
- The <a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="type">PangoDirection</span></a> type can be used with <a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir ()"><code class="function">pango_context_set_base_dir()</code></a> to
71
+ The <a class="link" href="pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> type can be used with <a class="link" href="pango-Text-Processing.html#pango-context-set-base-dir" title="pango_context_set_base_dir ()"><code class="function">pango_context_set_base_dir()</code></a> to
59
72
  instruct Pango about direction of text, though in most cases Pango detects
60
73
  that correctly and automatically. The rest of the facilities in this section
61
74
  are used internally by Pango already, and are provided to help applications
@@ -65,7 +78,7 @@ that need more direct control over bidirectional setting of text.
65
78
  <div class="refsect1">
66
79
  <a name="pango-Bidirectional-Text.details"></a><h2>Details</h2>
67
80
  <div class="refsect2">
68
- <a name="PangoDirection"></a><h3>enum PangoDirection</h3>
81
+ <a name="PangoDirection-enum"></a><h3>enum PangoDirection</h3>
69
82
  <pre class="programlisting">typedef enum {
70
83
  PANGO_DIRECTION_LTR,
71
84
  PANGO_DIRECTION_RTL,
@@ -77,9 +90,9 @@ that need more direct control over bidirectional setting of text.
77
90
  } PangoDirection;
78
91
  </pre>
79
92
  <p>
80
- The <a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="type">PangoDirection</span></a> type represents a direction in the
93
+ The <a class="link" href="pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> type represents a direction in the
81
94
  Unicode bidirectional algorithm; not every value in this
82
- enumeration makes sense for every usage of <a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="type">PangoDirection</span></a>;
95
+ enumeration makes sense for every usage of <a class="link" href="pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a>;
83
96
  for example, the return value of <a class="link" href="pango-Bidirectional-Text.html#pango-unichar-direction" title="pango_unichar_direction ()"><code class="function">pango_unichar_direction()</code></a>
84
97
  and <a class="link" href="pango-Bidirectional-Text.html#pango-find-base-dir" title="pango_find_base_dir ()"><code class="function">pango_find_base_dir()</code></a> cannot be <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-WEAK-LTR:CAPS"><code class="literal">PANGO_DIRECTION_WEAK_LTR</code></a>
85
98
  or <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-WEAK-RTL:CAPS"><code class="literal">PANGO_DIRECTION_WEAK_RTL</code></a>, since every character is either
@@ -91,7 +104,7 @@ to <a class="link" href="pango-Text-Processing.html#pango-itemize-with-base-dir"
91
104
  The <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-TTB-LTR:CAPS"><code class="literal">PANGO_DIRECTION_TTB_LTR</code></a>, <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-TTB-RTL:CAPS"><code class="literal">PANGO_DIRECTION_TTB_RTL</code></a>
92
105
  values come from an earlier interpretation of this
93
106
  enumeration as the writing direction of a block of
94
- text and are no longer used; See <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> for how
107
+ text and are no longer used; See <a class="link" href="pango-Vertical-Text.html#PangoGravity"><span class="type">PangoGravity</span></a> for how
95
108
  vertical text is handled in Pango.
96
109
  </p>
97
110
  <div class="variablelist"><table border="0">
@@ -140,7 +153,7 @@ vertical text is handled in Pango.
140
153
  <hr>
141
154
  <div class="refsect2">
142
155
  <a name="pango-unichar-direction"></a><h3>pango_unichar_direction ()</h3>
143
- <pre class="programlisting"><a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="returnvalue">PangoDirection</span></a> pango_unichar_direction (<em class="parameter"><code><span class="type">gunichar</span> ch</code></em>);</pre>
156
+ <pre class="programlisting"><a class="link" href="pango-Bidirectional-Text.html#PangoDirection"><span class="returnvalue">PangoDirection</span></a> pango_unichar_direction (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> ch</code></em>);</pre>
144
157
  <p>
145
158
  Determines the inherent direction of a character; either
146
159
  <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-LTR:CAPS"><code class="literal">PANGO_DIRECTION_LTR</code></a>, <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-RTL:CAPS"><code class="literal">PANGO_DIRECTION_RTL</code></a>, or
@@ -157,13 +170,11 @@ Unicode bidirectional type of a character is needed,
157
170
  <tbody>
158
171
  <tr>
159
172
  <td><p><span class="term"><em class="parameter"><code>ch</code></em> :</span></p></td>
160
- <td>a Unicode character
161
- </td>
173
+ <td>a Unicode character</td>
162
174
  </tr>
163
175
  <tr>
164
176
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
165
- <td> the direction of the character.
166
- </td>
177
+ <td>the direction of the character.</td>
167
178
  </tr>
168
179
  </tbody>
169
180
  </table></div>
@@ -171,8 +182,8 @@ Unicode bidirectional type of a character is needed,
171
182
  <hr>
172
183
  <div class="refsect2">
173
184
  <a name="pango-find-base-dir"></a><h3>pango_find_base_dir ()</h3>
174
- <pre class="programlisting"><a class="link" href="pango-Bidirectional-Text.html#PangoDirection" title="enum PangoDirection"><span class="returnvalue">PangoDirection</span></a> pango_find_base_dir (<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
175
- <em class="parameter"><code><span class="type">gint</span> length</code></em>);</pre>
185
+ <pre class="programlisting"><a class="link" href="pango-Bidirectional-Text.html#PangoDirection"><span class="returnvalue">PangoDirection</span></a> pango_find_base_dir (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
186
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>);</pre>
176
187
  <p>
177
188
  Searches a string the first character that has a strong
178
189
  direction, according to the Unicode bidirectional algorithm.
@@ -182,20 +193,16 @@ direction, according to the Unicode bidirectional algorithm.
182
193
  <tbody>
183
194
  <tr>
184
195
  <td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
185
- <td>the text to process
186
- </td>
196
+ <td>the text to process</td>
187
197
  </tr>
188
198
  <tr>
189
199
  <td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
190
- <td>length of <em class="parameter"><code>text</code></em> in bytes (may be -1 if <em class="parameter"><code>text</code></em> is nul-terminated)
191
- </td>
200
+ <td>length of <em class="parameter"><code>text</code></em> in bytes (may be -1 if <em class="parameter"><code>text</code></em> is nul-terminated)</td>
192
201
  </tr>
193
202
  <tr>
194
203
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
195
- <td> The direction corresponding to the first strong character.
196
- If no such character is found, then <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-NEUTRAL:CAPS"><code class="literal">PANGO_DIRECTION_NEUTRAL</code></a> is returned.
197
-
198
- </td>
204
+ <td>The direction corresponding to the first strong character.
205
+ If no such character is found, then <a class="link" href="pango-Bidirectional-Text.html#PANGO-DIRECTION-NEUTRAL:CAPS"><code class="literal">PANGO_DIRECTION_NEUTRAL</code></a> is returned.</td>
199
206
  </tr>
200
207
  </tbody>
201
208
  </table></div>
@@ -204,8 +211,8 @@ If no such character is found, then <a class="link" href="pango-Bidirectional-Te
204
211
  <hr>
205
212
  <div class="refsect2">
206
213
  <a name="pango-get-mirror-char"></a><h3>pango_get_mirror_char ()</h3>
207
- <pre class="programlisting"><span class="returnvalue">gboolean</span> pango_get_mirror_char (<em class="parameter"><code><span class="type">gunichar</span> ch</code></em>,
208
- <em class="parameter"><code><span class="type">gunichar</span> *mirrored_ch</code></em>);</pre>
214
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> pango_get_mirror_char (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> ch</code></em>,
215
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> *mirrored_ch</code></em>);</pre>
209
216
  <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
210
217
  <h3 class="title">Warning</h3>
211
218
  <p><code class="literal">pango_get_mirror_char</code> is deprecated and should not be used in newly-written code.</p>
@@ -216,7 +223,7 @@ character that typically has a glyph that is the mirror image of <em class="para
216
223
  glyph, puts that character in the address pointed to by <em class="parameter"><code>mirrored_ch</code></em>.
217
224
  </p>
218
225
  <p>
219
- Use <code class="function">g_unichar_get_mirror_char()</code> instead; the docs for that function
226
+ Use <a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#g-unichar-get-mirror-char"><code class="function">g_unichar_get_mirror_char()</code></a> instead; the docs for that function
220
227
  provide full details.
221
228
  </p>
222
229
  <div class="variablelist"><table border="0">
@@ -224,26 +231,24 @@ provide full details.
224
231
  <tbody>
225
232
  <tr>
226
233
  <td><p><span class="term"><em class="parameter"><code>ch</code></em> :</span></p></td>
227
- <td>a Unicode character
228
- </td>
234
+ <td>a Unicode character</td>
229
235
  </tr>
230
236
  <tr>
231
237
  <td><p><span class="term"><em class="parameter"><code>mirrored_ch</code></em> :</span></p></td>
232
- <td>location to store the mirrored character
233
- </td>
238
+ <td>location to store the mirrored character</td>
234
239
  </tr>
235
240
  <tr>
236
241
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
237
- <td> <code class="literal">TRUE</code> if <em class="parameter"><code>ch</code></em> has a mirrored character and <em class="parameter"><code>mirrored_ch</code></em> is
238
- filled in, <code class="literal">FALSE</code> otherwise
239
- </td>
242
+ <td>
243
+ <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>ch</code></em> has a mirrored character and <em class="parameter"><code>mirrored_ch</code></em> is
244
+ filled in, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
240
245
  </tr>
241
246
  </tbody>
242
247
  </table></div>
243
248
  </div>
244
249
  <hr>
245
250
  <div class="refsect2">
246
- <a name="PangoBidiType"></a><h3>enum PangoBidiType</h3>
251
+ <a name="PangoBidiType-enum"></a><h3>enum PangoBidiType</h3>
247
252
  <pre class="programlisting">typedef enum {
248
253
  /* Strong types */
249
254
  PANGO_BIDI_TYPE_L,
@@ -272,7 +277,7 @@ filled in, <code class="literal">FALSE</code> otherwise
272
277
  } PangoBidiType;
273
278
  </pre>
274
279
  <p>
275
- The <a class="link" href="pango-Bidirectional-Text.html#PangoBidiType" title="enum PangoBidiType"><span class="type">PangoBidiType</span></a> type represents the bidirectional character
280
+ The <a class="link" href="pango-Bidirectional-Text.html#PangoBidiType"><span class="type">PangoBidiType</span></a> type represents the bidirectional character
276
281
  type of a Unicode character as specified by the
277
282
  <a class="ulink" href="http://www.unicode.org/reports/tr9/" target="_top">Unicode bidirectional algorithm</a>.
278
283
  </p>
@@ -381,7 +386,7 @@ type of a Unicode character as specified by the
381
386
  <hr>
382
387
  <div class="refsect2">
383
388
  <a name="pango-bidi-type-for-unichar"></a><h3>pango_bidi_type_for_unichar ()</h3>
384
- <pre class="programlisting"><a class="link" href="pango-Bidirectional-Text.html#PangoBidiType" title="enum PangoBidiType"><span class="returnvalue">PangoBidiType</span></a> pango_bidi_type_for_unichar (<em class="parameter"><code><span class="type">gunichar</span> ch</code></em>);</pre>
389
+ <pre class="programlisting"><a class="link" href="pango-Bidirectional-Text.html#PangoBidiType"><span class="returnvalue">PangoBidiType</span></a> pango_bidi_type_for_unichar (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> ch</code></em>);</pre>
385
390
  <p>
386
391
  Determines the normative bidirectional character type of a
387
392
  character, as specified in the Unicode Character Database.
@@ -395,15 +400,12 @@ A simplified version of this function is available as
395
400
  <tbody>
396
401
  <tr>
397
402
  <td><p><span class="term"><em class="parameter"><code>ch</code></em> :</span></p></td>
398
- <td>a Unicode character
399
- </td>
403
+ <td>a Unicode character</td>
400
404
  </tr>
401
405
  <tr>
402
406
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
403
- <td> the bidirectional character type, as used in the
404
- Unicode bidirectional algorithm.
405
-
406
- </td>
407
+ <td>the bidirectional character type, as used in the
408
+ Unicode bidirectional algorithm.</td>
407
409
  </tr>
408
410
  </tbody>
409
411
  </table></div>
@@ -421,6 +423,6 @@ Unicode bidirectional algorithm.
421
423
  </div>
422
424
  <div class="footer">
423
425
  <hr>
424
- Generated by GTK-Doc V1.15.1</div>
426
+ Generated by GTK-Doc V1.18</div>
425
427
  </body>
426
428
  </html>
@@ -3,12 +3,12 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
  <title>Cairo Rendering</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
7
  <link rel="home" href="index.html" title="Pango Reference Manual">
8
8
  <link rel="up" href="rendering.html" title="Rendering with Pango">
9
9
  <link rel="prev" href="pango-Xft-Fonts-and-Rendering.html" title="Xft Fonts and Rendering">
10
10
  <link rel="next" href="pango-ATSUI-Fonts.html" title="ATSUI Fonts">
11
- <meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.18 (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">
@@ -47,62 +47,62 @@
47
47
  <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-set-default" title="pango_cairo_font_map_set_default ()">pango_cairo_font_map_set_default</a> (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> *fontmap</code></em>);
48
48
  <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-new" title="pango_cairo_font_map_new ()">pango_cairo_font_map_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
49
49
  <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-new-for-font-type" title="pango_cairo_font_map_new_for_font_type ()">pango_cairo_font_map_new_for_font_type</a>
50
- (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-font-face.html#cairo-font-type-t"><span class="type">cairo_font_type_t</span></a> fonttype</code></em>);
51
- <a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-font-face.html#cairo-font-type-t"><span class="returnvalue">cairo_font_type_t</span></a> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-get-font-type" title="pango_cairo_font_map_get_font_type ()">pango_cairo_font_map_get_font_type</a> (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> *fontmap</code></em>);
50
+ (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html#cairo-font-type-t"><span class="type">cairo_font_type_t</span></a> fonttype</code></em>);
51
+ <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html#cairo-font-type-t"><span class="returnvalue">cairo_font_type_t</span></a> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-get-font-type" title="pango_cairo_font_map_get_font_type ()">pango_cairo_font_map_get_font_type</a> (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> *fontmap</code></em>);
52
52
  <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-set-resolution" title="pango_cairo_font_map_set_resolution ()">pango_cairo_font_map_set_resolution</a> (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> *fontmap</code></em>,
53
53
  <em class="parameter"><code><span class="type">double</span> dpi</code></em>);
54
54
  <span class="returnvalue">double</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-get-resolution" title="pango_cairo_font_map_get_resolution ()">pango_cairo_font_map_get_resolution</a> (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> *fontmap</code></em>);
55
55
  <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-create-context" title="pango_cairo_font_map_create_context ()">pango_cairo_font_map_create_context</a> (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> *fontmap</code></em>);
56
- <a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-scaled-font.html#cairo-scaled-font-t"><span class="returnvalue">cairo_scaled_font_t</span></a> * <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-get-scaled-font" title="pango_cairo_font_get_scaled_font ()">pango_cairo_font_get_scaled_font</a> (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFont"><span class="type">PangoCairoFont</span></a> *font</code></em>);
56
+ <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html#cairo-scaled-font-t"><span class="returnvalue">cairo_scaled_font_t</span></a> * <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-get-scaled-font" title="pango_cairo_font_get_scaled_font ()">pango_cairo_font_get_scaled_font</a> (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFont"><span class="type">PangoCairoFont</span></a> *font</code></em>);
57
57
  <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-set-resolution" title="pango_cairo_context_set_resolution ()">pango_cairo_context_set_resolution</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
58
58
  <em class="parameter"><code><span class="type">double</span> dpi</code></em>);
59
59
  <span class="returnvalue">double</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-get-resolution" title="pango_cairo_context_get_resolution ()">pango_cairo_context_get_resolution</a> (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);
60
60
  <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-set-font-options" title="pango_cairo_context_set_font_options ()">pango_cairo_context_set_font_options</a>
61
61
  (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
62
- <em class="parameter"><code>const <a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-font-options.html#cairo-font-options-t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);
63
- const <a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-font-options.html#cairo-font-options-t"><span class="returnvalue">cairo_font_options_t</span></a> * <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-get-font-options" title="pango_cairo_context_get_font_options ()">pango_cairo_context_get_font_options</a>
62
+ <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html#cairo-font-options-t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);
63
+ const <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html#cairo-font-options-t"><span class="returnvalue">cairo_font_options_t</span></a> * <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-get-font-options" title="pango_cairo_context_get_font_options ()">pango_cairo_context_get_font_options</a>
64
64
  (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);
65
- <span class="returnvalue">void</span> (<a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()">*PangoCairoShapeRendererFunc</a>) (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
65
+ <span class="returnvalue">void</span> (<a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()">*PangoCairoShapeRendererFunc</a>) (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
66
66
  <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="struct PangoAttrShape"><span class="type">PangoAttrShape</span></a> *attr</code></em>,
67
- <em class="parameter"><code><span class="type">gboolean</span> do_path</code></em>,
68
- <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
67
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> do_path</code></em>,
68
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
69
69
  <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-set-shape-renderer" title="pango_cairo_context_set_shape_renderer ()">pango_cairo_context_set_shape_renderer</a>
70
70
  (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
71
71
  <em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()"><span class="type">PangoCairoShapeRendererFunc</span></a> func</code></em>,
72
- <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
73
- <em class="parameter"><code><span class="type">GDestroyNotify</span> dnotify</code></em>);
74
- <a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()"><span class="returnvalue">PangoCairoShapeRendererFunc</span></a> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-get-shape-renderer" title="pango_cairo_context_get_shape_renderer ()">pango_cairo_context_get_shape_renderer</a>
72
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
73
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> dnotify</code></em>);
74
+ <a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()"><span class="returnvalue">PangoCairoShapeRendererFunc</span></a> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-get-shape-renderer" title="pango_cairo_context_get_shape_renderer ()">pango_cairo_context_get_shape_renderer</a>
75
75
  (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
76
- <em class="parameter"><code><span class="type">gpointer</span> *data</code></em>);
77
- <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-create-context" title="pango_cairo_create_context ()">pango_cairo_create_context</a> (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);
78
- <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-update-context" title="pango_cairo_update_context ()">pango_cairo_update_context</a> (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
76
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *data</code></em>);
77
+ <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-create-context" title="pango_cairo_create_context ()">pango_cairo_create_context</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);
78
+ <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-update-context" title="pango_cairo_update_context ()">pango_cairo_update_context</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
79
79
  <em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);
80
- <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> * <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-create-layout" title="pango_cairo_create_layout ()">pango_cairo_create_layout</a> (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);
81
- <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-update-layout" title="pango_cairo_update_layout ()">pango_cairo_update_layout</a> (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
80
+ <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> * <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-create-layout" title="pango_cairo_create_layout ()">pango_cairo_create_layout</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);
81
+ <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-update-layout" title="pango_cairo_update_layout ()">pango_cairo_update_layout</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
82
82
  <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
83
- <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-glyph-string" title="pango_cairo_show_glyph_string ()">pango_cairo_show_glyph_string</a> (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
83
+ <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-glyph-string" title="pango_cairo_show_glyph_string ()">pango_cairo_show_glyph_string</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
84
84
  <em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
85
- <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);
86
- <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-glyph-item" title="pango_cairo_show_glyph_item ()">pango_cairo_show_glyph_item</a> (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
85
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);
86
+ <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-glyph-item" title="pango_cairo_show_glyph_item ()">pango_cairo_show_glyph_item</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
87
87
  <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
88
- <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>);
89
- <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-layout-line" title="pango_cairo_show_layout_line ()">pango_cairo_show_layout_line</a> (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
90
- <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);
91
- <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-layout" title="pango_cairo_show_layout ()">pango_cairo_show_layout</a> (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
88
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>);
89
+ <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-layout-line" title="pango_cairo_show_layout_line ()">pango_cairo_show_layout_line</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
90
+ <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);
91
+ <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-layout" title="pango_cairo_show_layout ()">pango_cairo_show_layout</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
92
92
  <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
93
- <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-error-underline" title="pango_cairo_show_error_underline ()">pango_cairo_show_error_underline</a> (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
93
+ <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-show-error-underline" title="pango_cairo_show_error_underline ()">pango_cairo_show_error_underline</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
94
94
  <em class="parameter"><code><span class="type">double</span> x</code></em>,
95
95
  <em class="parameter"><code><span class="type">double</span> y</code></em>,
96
96
  <em class="parameter"><code><span class="type">double</span> width</code></em>,
97
97
  <em class="parameter"><code><span class="type">double</span> height</code></em>);
98
- <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-glyph-string-path" title="pango_cairo_glyph_string_path ()">pango_cairo_glyph_string_path</a> (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
98
+ <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-glyph-string-path" title="pango_cairo_glyph_string_path ()">pango_cairo_glyph_string_path</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
99
99
  <em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
100
- <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);
101
- <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-layout-line-path" title="pango_cairo_layout_line_path ()">pango_cairo_layout_line_path</a> (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
102
- <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);
103
- <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-layout-path" title="pango_cairo_layout_path ()">pango_cairo_layout_path</a> (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
100
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);
101
+ <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-layout-line-path" title="pango_cairo_layout_line_path ()">pango_cairo_layout_line_path</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
102
+ <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);
103
+ <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-layout-path" title="pango_cairo_layout_path ()">pango_cairo_layout_path</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
104
104
  <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);
105
- <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-error-underline-path" title="pango_cairo_error_underline_path ()">pango_cairo_error_underline_path</a> (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
105
+ <span class="returnvalue">void</span> <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-error-underline-path" title="pango_cairo_error_underline_path ()">pango_cairo_error_underline_path</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
106
106
  <em class="parameter"><code><span class="type">double</span> x</code></em>,
107
107
  <em class="parameter"><code><span class="type">double</span> y</code></em>,
108
108
  <em class="parameter"><code><span class="type">double</span> width</code></em>,
@@ -237,75 +237,75 @@ to the floating point units used in Cairo divide by <a class="link" href="pango-
237
237
  67
238
238
  68
239
239
  69</pre></td>
240
- <td class="listing_code"><pre class="programlisting"><span class="preproc">#include </span><span class="number">&lt;math.h&gt;</span>
241
- <span class="preproc">#include </span><span class="number">&lt;pango/pangocairo.h&gt;</span>
242
- <span class="type">static</span> <span class="type">void</span>
243
- draw_text (cairo_t *cr)
244
- {
245
- <span class="preproc">#define RADIUS </span><span class="number">150</span>
246
- <span class="preproc">#define N_WORDS </span><span class="number">10</span>
247
- <span class="preproc">#define FONT </span><span class="number">&quot;Sans Bold 27&quot;</span>
248
- PangoLayout *layout;
249
- PangoFontDescription *desc;
250
- <span class="type">int</span> i;
251
- <span class="comment">/*</span><span class="comment"> Center coordinates on the middle of the region we are drawing</span>
252
- <span class="comment"> </span><span class="comment">*/</span>
253
- cairo_translate (cr, RADIUS, RADIUS);
254
- <span class="comment">/*</span><span class="comment"> Create a PangoLayout, set the font and text </span><span class="comment">*/</span>
255
- layout = pango_cairo_create_layout (cr);
256
- pango_layout_set_text (layout, <span class="number">&quot;Text&quot;</span>, -<span class="number">1</span>);
257
- desc = pango_font_description_from_string (FONT);
258
- pango_layout_set_font_description (layout, desc);
259
- pango_font_description_free (desc);
260
- <span class="comment">/*</span><span class="comment"> Draw the layout N_WORDS times in a circle </span><span class="comment">*/</span>
261
- <span class="keyword">for</span> (i = <span class="number">0</span>; i &lt; N_WORDS; i++)
262
- {
263
- <span class="type">int</span> width, height;
264
- <span class="type">double</span> angle = (<span class="number">360.</span> * i) / N_WORDS;
265
- <span class="type">double</span> red;
266
- cairo_save (cr);
267
- <span class="comment">/*</span><span class="comment"> Gradient from red at angle == 60 to blue at angle == 240 </span><span class="comment">*/</span>
268
- red = (<span class="number">1</span> + cos ((angle - <span class="number">60</span>) * G_PI / <span class="number">180.</span>)) / <span class="number">2</span>;
269
- cairo_set_source_rgb (cr, red, <span class="number">0</span>, <span class="number">1.0</span> - red);
270
- cairo_rotate (cr, angle * G_PI / <span class="number">180.</span>);
271
- <span class="comment">/*</span><span class="comment"> Inform Pango to re-layout the text with the new transformation </span><span class="comment">*/</span>
272
- pango_cairo_update_layout (cr, layout);
273
- pango_layout_get_size (layout, &amp;width, &amp;height);
274
- cairo_move_to (cr, - ((<span class="type">double</span>)width / PANGO_SCALE) / <span class="number">2</span>, - RADIUS);
275
- pango_cairo_show_layout (cr, layout);
276
- cairo_restore (cr);
277
- }
278
- <span class="comment">/*</span><span class="comment"> free the layout object </span><span class="comment">*/</span>
279
- g_object_unref (layout);
280
- }
281
- <span class="type">int</span> main (<span class="type">int</span> argc, <span class="type">char</span> **argv)
282
- {
283
- cairo_t *cr;
284
- <span class="type">char</span> *filename;
285
- cairo_status_t status;
286
- cairo_surface_t *surface;
287
- <span class="keyword">if</span> (argc != <span class="number">2</span>)
288
- {
289
- g_printerr (<span class="number">&quot;Usage: cairosimple OUTPUT_FILENAME</span><span class="symbol">\n</span><span class="number">&quot;</span>);
290
- <span class="keyword">return</span> <span class="number">1</span>;
291
- }
292
- filename = argv[<span class="number">1</span>];
293
- surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
294
- <span class="number">2</span> * RADIUS, <span class="number">2</span> * RADIUS);
295
- cr = cairo_create (surface);
296
- cairo_set_source_rgb (cr, <span class="number">1.0</span>, <span class="number">1.0</span>, <span class="number">1.0</span>);
297
- cairo_paint (cr);
298
- draw_text (cr);
299
- cairo_destroy (cr);
300
- status = cairo_surface_write_to_png (surface, filename);
301
- cairo_surface_destroy (surface);
302
- <span class="keyword">if</span> (status != CAIRO_STATUS_SUCCESS)
303
- {
304
- g_printerr (<span class="number">&quot;Could not save png to '</span><span class="symbol">%s</span><span class="number">'</span><span class="symbol">\n</span><span class="number">&quot;</span>, filename);
305
- <span class="keyword">return</span> <span class="number">1</span>;
306
- }
307
- <span class="keyword">return</span> <span class="number">0</span>;
308
- }</pre></td>
240
+ <td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string">&lt;math.h&gt;</span>
241
+ <span class="preproc">#include</span><span class="normal"> </span><span class="string">&lt;pango/pangocairo.h&gt;</span>
242
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
243
+ <span class="function">draw_text</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">cairo_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cr</span><span class="symbol">)</span>
244
+ <span class="cbracket">{</span>
245
+ <span class="preproc">#define</span><span class="normal"> RADIUS </span><span class="number">150</span>
246
+ <span class="preproc">#define</span><span class="normal"> N_WORDS </span><span class="number">10</span>
247
+ <span class="preproc">#define</span><span class="normal"> FONT </span><span class="string">"Sans Bold 27"</span>
248
+ <span class="normal"> </span><span class="usertype">PangoLayout</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">layout</span><span class="symbol">;</span>
249
+ <span class="normal"> </span><span class="usertype">PangoFontDescription</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">desc</span><span class="symbol">;</span>
250
+ <span class="normal"> </span><span class="type">int</span><span class="normal"> i</span><span class="symbol">;</span>
251
+ <span class="normal"> </span><span class="comment">/* Center coordinates on the middle of the region we are drawing</span>
252
+ <span class="comment"> */</span>
253
+ <span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Transformations.html#cairo-translate">cairo_translate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> RADIUS</span><span class="symbol">,</span><span class="normal"> RADIUS</span><span class="symbol">);</span>
254
+ <span class="normal"> </span><span class="comment">/* Create a PangoLayout, set the font and text */</span>
255
+ <span class="normal"> layout </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="pango-Cairo-Rendering.html#pango-cairo-create-layout">pango_cairo_create_layout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
256
+ <span class="normal"> </span><span class="function"><a href="pango-Layout-Objects.html#pango-layout-set-text">pango_layout_set_text</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Text"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span>
257
+ <span class="normal"> desc </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="pango-Fonts.html#pango-font-description-from-string">pango_font_description_from_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">FONT</span><span class="symbol">);</span>
258
+ <span class="normal"> </span><span class="function"><a href="pango-Layout-Objects.html#pango-layout-set-font-description">pango_layout_set_font_description</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> desc</span><span class="symbol">);</span>
259
+ <span class="normal"> </span><span class="function"><a href="pango-Fonts.html#pango-font-description-free">pango_font_description_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">desc</span><span class="symbol">);</span>
260
+ <span class="normal"> </span><span class="comment">/* Draw the layout N_WORDS times in a circle */</span>
261
+ <span class="normal"> </span><span class="keyword">for</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">i </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span><span class="normal"> i </span><span class="symbol">&lt;</span><span class="normal"> N_WORDS</span><span class="symbol">;</span><span class="normal"> i</span><span class="symbol">++)</span>
262
+ <span class="normal"> </span><span class="cbracket">{</span>
263
+ <span class="normal"> </span><span class="type">int</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">;</span>
264
+ <span class="normal"> </span><span class="type">double</span><span class="normal"> angle </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="number">360</span><span class="symbol">.</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> i</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> N_WORDS</span><span class="symbol">;</span>
265
+ <span class="normal"> </span><span class="type">double</span><span class="normal"> red</span><span class="symbol">;</span>
266
+ <span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-save">cairo_save</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
267
+ <span class="normal"> </span><span class="comment">/* Gradient from red at angle == 60 to blue at angle == 240 */</span>
268
+ <span class="normal"> red </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="number">1</span><span class="normal"> </span><span class="symbol">+</span><span class="normal"> </span><span class="function">cos</span><span class="normal"> </span><span class="symbol">((</span><span class="normal">angle </span><span class="symbol">-</span><span class="normal"> </span><span class="number">60</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Numerical-Definitions.html#G-PI:CAPS">G_PI</a> </span><span class="symbol">/</span><span class="normal"> </span><span class="number">180</span><span class="symbol">.))</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">;</span>
269
+ <span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-set-source-rgb">cairo_set_source_rgb</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> red</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1.0</span><span class="normal"> </span><span class="symbol">-</span><span class="normal"> red</span><span class="symbol">);</span>
270
+ <span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Transformations.html#cairo-rotate">cairo_rotate</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> angle </span><span class="symbol">*</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Numerical-Definitions.html#G-PI:CAPS">G_PI</a> </span><span class="symbol">/</span><span class="normal"> </span><span class="number">180</span><span class="symbol">.);</span>
271
+ <span class="normal"> </span><span class="comment">/* Inform Pango to re-layout the text with the new transformation */</span>
272
+ <span class="normal"> </span><span class="function"><a href="pango-Cairo-Rendering.html#pango-cairo-update-layout">pango_cairo_update_layout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> layout</span><span class="symbol">);</span>
273
+ <span class="normal"> </span><span class="function"><a href="pango-Layout-Objects.html#pango-layout-get-size">pango_layout_get_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">height</span><span class="symbol">);</span>
274
+ <span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-move-to">cairo_move_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="normal"> </span><span class="symbol">((</span><span class="type">double</span><span class="symbol">)</span><span class="normal">width </span><span class="symbol">/</span><span class="normal"> <a href="pango-Glyph-Storage.html#PANGO-SCALE:CAPS">PANGO_SCALE</a></span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="normal"> RADIUS</span><span class="symbol">);</span>
275
+ <span class="normal"> </span><span class="function"><a href="pango-Cairo-Rendering.html#pango-cairo-show-layout">pango_cairo_show_layout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> layout</span><span class="symbol">);</span>
276
+ <span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-restore">cairo_restore</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
277
+ <span class="normal"> </span><span class="cbracket">}</span>
278
+ <span class="normal"> </span><span class="comment">/* free the layout object */</span>
279
+ <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span>
280
+ <span class="cbracket">}</span>
281
+ <span class="type">int</span><span class="normal"> </span><span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">argv</span><span class="symbol">)</span>
282
+ <span class="cbracket">{</span>
283
+ <span class="normal"> </span><span class="usertype">cairo_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cr</span><span class="symbol">;</span>
284
+ <span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">filename</span><span class="symbol">;</span>
285
+ <span class="normal"> </span><span class="usertype">cairo_status_t</span><span class="normal"> status</span><span class="symbol">;</span>
286
+ <span class="normal"> </span><span class="usertype">cairo_surface_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">surface</span><span class="symbol">;</span>
287
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">argc </span><span class="symbol">!=</span><span class="normal"> </span><span class="number">2</span><span class="symbol">)</span>
288
+ <span class="normal"> </span><span class="cbracket">{</span>
289
+ <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-printerr">g_printerr</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Usage: cairosimple OUTPUT_FILENAME</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
290
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">1</span><span class="symbol">;</span>
291
+ <span class="normal"> </span><span class="cbracket">}</span>
292
+ <span class="normal"> filename </span><span class="symbol">=</span><span class="normal"> argv</span><span class="symbol">[</span><span class="number">1</span><span class="symbol">];</span>
293
+ <span class="normal"> surface </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html#cairo-image-surface-create">cairo_image_surface_create</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/usr/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html#CAIRO-FORMAT-ARGB32:CAPS">CAIRO_FORMAT_ARGB32</a></span><span class="symbol">,</span>
294
+ <span class="normal"> </span><span class="number">2</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> RADIUS</span><span class="symbol">,</span><span class="normal"> </span><span class="number">2</span><span class="normal"> </span><span class="symbol">*</span><span class="normal"> RADIUS</span><span class="symbol">);</span>
295
+ <span class="normal"> cr </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-create">cairo_create</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface</span><span class="symbol">);</span>
296
+ <span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-set-source-rgb">cairo_set_source_rgb</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1.0</span><span class="symbol">);</span>
297
+ <span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-paint">cairo_paint</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
298
+ <span class="normal"> </span><span class="function">draw_text</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
299
+ <span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-destroy">cairo_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
300
+ <span class="normal"> status </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-PNG-Support.html#cairo-surface-write-to-png">cairo_surface_write_to_png</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface</span><span class="symbol">,</span><span class="normal"> filename</span><span class="symbol">);</span>
301
+ <span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-destroy">cairo_surface_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface</span><span class="symbol">);</span>
302
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">status </span><span class="symbol">!=</span><span class="normal"> <a href="/usr/share/gtk-doc/html/cairo/cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS">CAIRO_STATUS_SUCCESS</a></span><span class="symbol">)</span>
303
+ <span class="normal"> </span><span class="cbracket">{</span>
304
+ <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-printerr">g_printerr</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Could not save png to '%s'</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> filename</span><span class="symbol">);</span>
305
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">1</span><span class="symbol">;</span>
306
+ <span class="normal"> </span><span class="cbracket">}</span>
307
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
308
+ <span class="cbracket">}</span></pre></td>
309
309
  </tr>
310
310
  </tbody>
311
311
  </table>
@@ -364,9 +364,8 @@ uses for example.
364
364
  <col align="left" valign="top">
365
365
  <tbody><tr>
366
366
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
367
- <td> the default Cairo fontmap for Pango. This
368
- object is owned by Pango and must not be freed.
369
-
367
+ <td>the default Cairo fontmap
368
+ for Pango. This object is owned by Pango and must not be freed. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
370
369
  </td>
371
370
  </tr></tbody>
372
371
  </table></div>
@@ -385,7 +384,7 @@ default fontmap uses for example. The old default font map
385
384
  is unreffed and the new font map referenced.
386
385
  </p>
387
386
  <p>
388
- A value of <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> for <em class="parameter"><code>fontmap</code></em> will cause the current default
387
+ A value of <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> for <em class="parameter"><code>fontmap</code></em> will cause the current default
389
388
  font map to be released and a new default font
390
389
  map to be created on demand, using <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-new" title="pango_cairo_font_map_new ()"><code class="function">pango_cairo_font_map_new()</code></a>.
391
390
  </p>
@@ -393,7 +392,7 @@ map to be created on demand, using <a class="link" href="pango-Cairo-Rendering.h
393
392
  <col align="left" valign="top">
394
393
  <tbody><tr>
395
394
  <td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
396
- <td>The new default font map, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
395
+ <td>The new default font map, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
397
396
  </td>
398
397
  </tr></tbody>
399
398
  </table></div>
@@ -420,9 +419,8 @@ You generally should only use the <a class="link" href="pango-Fonts.html#PangoFo
420
419
  <col align="left" valign="top">
421
420
  <tbody><tr>
422
421
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
423
- <td> the newly allocated <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>, which should
424
- be freed with <code class="function">g_object_unref()</code>.
425
-
422
+ <td>the newly allocated <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>,
423
+ which should be freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
426
424
  </td>
427
425
  </tr></tbody>
428
426
  </table></div>
@@ -432,32 +430,30 @@ You generally should only use the <a class="link" href="pango-Fonts.html#PangoFo
432
430
  <div class="refsect2">
433
431
  <a name="pango-cairo-font-map-new-for-font-type"></a><h3>pango_cairo_font_map_new_for_font_type ()</h3>
434
432
  <pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * pango_cairo_font_map_new_for_font_type
435
- (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-font-face.html#cairo-font-type-t"><span class="type">cairo_font_type_t</span></a> fonttype</code></em>);</pre>
433
+ (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html#cairo-font-type-t"><span class="type">cairo_font_type_t</span></a> fonttype</code></em>);</pre>
436
434
  <p>
437
435
  Creates a new <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> object of the type suitable
438
436
  to be used with cairo font backend of type <em class="parameter"><code>fonttype</code></em>.
439
437
  </p>
440
438
  <p>
441
- In most cases one should simply use @<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-new" title="pango_cairo_font_map_new ()"><code class="function">pango_cairo_font_map_new()</code></a>,
439
+ In most cases one should simply use <em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-new" title="pango_cairo_font_map_new ()"><code class="function">pango_cairo_font_map_new()</code></a></code></em>,
442
440
  or in fact in most of those cases, just use
443
- @<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-get-default" title="pango_cairo_font_map_get_default ()"><code class="function">pango_cairo_font_map_get_default()</code></a>.
441
+ <em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-get-default" title="pango_cairo_font_map_get_default ()"><code class="function">pango_cairo_font_map_get_default()</code></a></code></em>.
444
442
  </p>
445
443
  <div class="variablelist"><table border="0">
446
444
  <col align="left" valign="top">
447
445
  <tbody>
448
446
  <tr>
449
447
  <td><p><span class="term"><em class="parameter"><code>fonttype</code></em> :</span></p></td>
450
- <td>desired <a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-font-face.html#cairo-font-type-t"><span class="type">cairo_font_type_t</span></a>
448
+ <td>desired <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html#cairo-font-type-t"><span class="type">cairo_font_type_t</span></a>
451
449
  </td>
452
450
  </tr>
453
451
  <tr>
454
452
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
455
- <td> the newly allocated <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> of suitable type
456
- which should be freed with <code class="function">g_object_unref()</code>,
457
- or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if the requested cairo font backend is
458
- not supported / compiled in.
459
-
460
- </td>
453
+ <td>(transfer full) : the newly allocated <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>
454
+ of suitable type which should be freed with
455
+ <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if the requested cairo
456
+ font backend is not supported / compiled in.</td>
461
457
  </tr>
462
458
  </tbody>
463
459
  </table></div>
@@ -466,7 +462,7 @@ or in fact in most of those cases, just use
466
462
  <hr>
467
463
  <div class="refsect2">
468
464
  <a name="pango-cairo-font-map-get-font-type"></a><h3>pango_cairo_font_map_get_font_type ()</h3>
469
- <pre class="programlisting"><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-font-face.html#cairo-font-type-t"><span class="returnvalue">cairo_font_type_t</span></a> pango_cairo_font_map_get_font_type (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> *fontmap</code></em>);</pre>
465
+ <pre class="programlisting"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html#cairo-font-type-t"><span class="returnvalue">cairo_font_type_t</span></a> pango_cairo_font_map_get_font_type (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> *fontmap</code></em>);</pre>
470
466
  <p>
471
467
  Gets the type of Cairo font backend that <em class="parameter"><code>fontmap</code></em> uses.
472
468
  </p>
@@ -480,9 +476,7 @@ Gets the type of Cairo font backend that <em class="parameter"><code>fontmap</co
480
476
  </tr>
481
477
  <tr>
482
478
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
483
- <td> the <a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-font-face.html#cairo-font-type-t"><span class="type">cairo_font_type_t</span></a> cairo font backend type
484
-
485
- </td>
479
+ <td>the <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html#cairo-font-type-t"><span class="type">cairo_font_type_t</span></a> cairo font backend type</td>
486
480
  </tr>
487
481
  </tbody>
488
482
  </table></div>
@@ -495,7 +489,7 @@ Gets the type of Cairo font backend that <em class="parameter"><code>fontmap</co
495
489
  <em class="parameter"><code><span class="type">double</span> dpi</code></em>);</pre>
496
490
  <p>
497
491
  Sets the resolution for the fontmap. This is a scale factor between
498
- points specified in a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> and Cairo units. The
492
+ points specified in a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> and Cairo units. The
499
493
  default value is 96, meaning that a 10 point font will be 13
500
494
  units high. (10 * 96. / 72. = 13.3).
501
495
  </p>
@@ -510,8 +504,7 @@ units high. (10 * 96. / 72. = 13.3).
510
504
  <tr>
511
505
  <td><p><span class="term"><em class="parameter"><code>dpi</code></em> :</span></p></td>
512
506
  <td>the resolution in "dots per inch". (Physical inches aren't actually
513
- involved; the terminology is conventional.)
514
- </td>
507
+ involved; the terminology is conventional.)</td>
515
508
  </tr>
516
509
  </tbody>
517
510
  </table></div>
@@ -534,9 +527,7 @@ Gets the resolution for the fontmap. See <a class="link" href="pango-Cairo-Rende
534
527
  </tr>
535
528
  <tr>
536
529
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
537
- <td> the resolution in "dots per inch"
538
-
539
- </td>
530
+ <td>the resolution in "dots per inch"</td>
540
531
  </tr>
541
532
  </tbody>
542
533
  </table></div>
@@ -563,9 +554,7 @@ Create a <a class="link" href="pango-Text-Processing.html#PangoContext"><span cl
563
554
  </tr>
564
555
  <tr>
565
556
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
566
- <td> the newly created context; free with <code class="function">g_object_unref()</code>.
567
-
568
- </td>
557
+ <td>the newly created context; free with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</td>
569
558
  </tr>
570
559
  </tbody>
571
560
  </table></div>
@@ -574,11 +563,11 @@ Create a <a class="link" href="pango-Text-Processing.html#PangoContext"><span cl
574
563
  <hr>
575
564
  <div class="refsect2">
576
565
  <a name="pango-cairo-font-get-scaled-font"></a><h3>pango_cairo_font_get_scaled_font ()</h3>
577
- <pre class="programlisting"><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-scaled-font.html#cairo-scaled-font-t"><span class="returnvalue">cairo_scaled_font_t</span></a> * pango_cairo_font_get_scaled_font (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFont"><span class="type">PangoCairoFont</span></a> *font</code></em>);</pre>
566
+ <pre class="programlisting"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html#cairo-scaled-font-t"><span class="returnvalue">cairo_scaled_font_t</span></a> * pango_cairo_font_get_scaled_font (<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoFont"><span class="type">PangoCairoFont</span></a> *font</code></em>);</pre>
578
567
  <p>
579
- Gets the <a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-scaled-font.html#cairo-scaled-font-t"><span class="type">cairo_scaled_font_t</span></a> used by <em class="parameter"><code>font</code></em>.
568
+ Gets the <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html#cairo-scaled-font-t"><span class="type">cairo_scaled_font_t</span></a> used by <em class="parameter"><code>font</code></em>.
580
569
  The scaled font can be referenced and kept using
581
- <a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-scaled-font.html#cairo-scaled-font-reference"><code class="function">cairo_scaled_font_reference()</code></a>.
570
+ <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html#cairo-scaled-font-reference"><code class="function">cairo_scaled_font_reference()</code></a>.
582
571
  </p>
583
572
  <div class="variablelist"><table border="0">
584
573
  <col align="left" valign="top">
@@ -590,10 +579,8 @@ The scaled font can be referenced and kept using
590
579
  </tr>
591
580
  <tr>
592
581
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
593
- <td> the <a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-scaled-font.html#cairo-scaled-font-t"><span class="type">cairo_scaled_font_t</span></a> used by <em class="parameter"><code>font</code></em>,
594
- or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>font</code></em> is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
595
-
596
- </td>
582
+ <td>the <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html#cairo-scaled-font-t"><span class="type">cairo_scaled_font_t</span></a> used by <em class="parameter"><code>font</code></em>,
583
+ or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>font</code></em> is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
597
584
  </tr>
598
585
  </tbody>
599
586
  </table></div>
@@ -606,7 +593,7 @@ The scaled font can be referenced and kept using
606
593
  <em class="parameter"><code><span class="type">double</span> dpi</code></em>);</pre>
607
594
  <p>
608
595
  Sets the resolution for the context. This is a scale factor between
609
- points specified in a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> and Cairo units. The
596
+ points specified in a <a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> and Cairo units. The
610
597
  default value is 96, meaning that a 10 point font will be 13
611
598
  units high. (10 * 96. / 72. = 13.3).
612
599
  </p>
@@ -615,15 +602,13 @@ units high. (10 * 96. / 72. = 13.3).
615
602
  <tbody>
616
603
  <tr>
617
604
  <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
618
- <td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map
619
- </td>
605
+ <td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</td>
620
606
  </tr>
621
607
  <tr>
622
608
  <td><p><span class="term"><em class="parameter"><code>dpi</code></em> :</span></p></td>
623
609
  <td>the resolution in "dots per inch". (Physical inches aren't actually
624
- involved; the terminology is conventional.) A 0 or negative value
625
- means to use the resolution from the font map.
626
- </td>
610
+ involved; the terminology is conventional.) A 0 or negative value
611
+ means to use the resolution from the font map.</td>
627
612
  </tr>
628
613
  </tbody>
629
614
  </table></div>
@@ -641,15 +626,12 @@ Gets the resolution for the context. See <a class="link" href="pango-Cairo-Rende
641
626
  <tbody>
642
627
  <tr>
643
628
  <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
644
- <td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map
645
- </td>
629
+ <td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</td>
646
630
  </tr>
647
631
  <tr>
648
632
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
649
- <td> the resolution in "dots per inch". A negative value will
650
- be returned if no resolution has previously been set.
651
-
652
- </td>
633
+ <td>the resolution in "dots per inch". A negative value will
634
+ be returned if no resolution has previously been set.</td>
653
635
  </tr>
654
636
  </tbody>
655
637
  </table></div>
@@ -660,7 +642,7 @@ Gets the resolution for the context. See <a class="link" href="pango-Cairo-Rende
660
642
  <a name="pango-cairo-context-set-font-options"></a><h3>pango_cairo_context_set_font_options ()</h3>
661
643
  <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_context_set_font_options
662
644
  (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
663
- <em class="parameter"><code>const <a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-font-options.html#cairo-font-options-t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
645
+ <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html#cairo-font-options-t"><span class="type">cairo_font_options_t</span></a> *options</code></em>);</pre>
664
646
  <p>
665
647
  Sets the font options used when rendering text with this context.
666
648
  These options override any options that <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-update-context" title="pango_cairo_update_context ()"><code class="function">pango_cairo_update_context()</code></a>
@@ -671,14 +653,12 @@ derives from the target surface.
671
653
  <tbody>
672
654
  <tr>
673
655
  <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
674
- <td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map
675
- </td>
656
+ <td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</td>
676
657
  </tr>
677
658
  <tr>
678
659
  <td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
679
- <td>a <a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-font-options.html#cairo-font-options-t"><span class="type">cairo_font_options_t</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to unset any previously set
680
- options. A copy is made.
681
- </td>
660
+ <td>a <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html#cairo-font-options-t"><span class="type">cairo_font_options_t</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset any previously set
661
+ options. A copy is made.</td>
682
662
  </tr>
683
663
  </tbody>
684
664
  </table></div>
@@ -687,7 +667,7 @@ derives from the target surface.
687
667
  <hr>
688
668
  <div class="refsect2">
689
669
  <a name="pango-cairo-context-get-font-options"></a><h3>pango_cairo_context_get_font_options ()</h3>
690
- <pre class="programlisting">const <a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-font-options.html#cairo-font-options-t"><span class="returnvalue">cairo_font_options_t</span></a> * pango_cairo_context_get_font_options
670
+ <pre class="programlisting">const <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html#cairo-font-options-t"><span class="returnvalue">cairo_font_options_t</span></a> * pango_cairo_context_get_font_options
691
671
  (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
692
672
  <p>
693
673
  Retrieves any font rendering options previously set with
@@ -699,16 +679,13 @@ that are derived from the target surface by <a class="link" href="pango-Cairo-Re
699
679
  <tbody>
700
680
  <tr>
701
681
  <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
702
- <td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map
703
- </td>
682
+ <td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</td>
704
683
  </tr>
705
684
  <tr>
706
685
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
707
- <td> the font options previously set on the context, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
708
- if no options have been set. This value is owned by the context
709
- and must not be modified or freed.
710
-
711
- </td>
686
+ <td>the font options previously set on the context, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
687
+ if no options have been set. This value is owned by the context
688
+ and must not be modified or freed.</td>
712
689
  </tr>
713
690
  </tbody>
714
691
  </table></div>
@@ -717,10 +694,10 @@ that are derived from the target surface by <a class="link" href="pango-Cairo-Re
717
694
  <hr>
718
695
  <div class="refsect2">
719
696
  <a name="PangoCairoShapeRendererFunc"></a><h3>PangoCairoShapeRendererFunc ()</h3>
720
- <pre class="programlisting"><span class="returnvalue">void</span> (*PangoCairoShapeRendererFunc) (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
697
+ <pre class="programlisting"><span class="returnvalue">void</span> (*PangoCairoShapeRendererFunc) (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
721
698
  <em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="struct PangoAttrShape"><span class="type">PangoAttrShape</span></a> *attr</code></em>,
722
- <em class="parameter"><code><span class="type">gboolean</span> do_path</code></em>,
723
- <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
699
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> do_path</code></em>,
700
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
724
701
  <p>
725
702
  Function type for rendering attributes of type <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a>
726
703
  with Pango's Cairo renderer.
@@ -731,21 +708,18 @@ with Pango's Cairo renderer.
731
708
  <tr>
732
709
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
733
710
  <td>a Cairo context with current point set to where the shape should
734
- be rendered
735
- </td>
711
+ be rendered</td>
736
712
  </tr>
737
713
  <tr>
738
714
  <td><p><span class="term"><em class="parameter"><code>attr</code></em> :</span></p></td>
739
- <td>the <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a> to render
740
- </td>
715
+ <td>the <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a> to render</td>
741
716
  </tr>
742
717
  <tr>
743
718
  <td><p><span class="term"><em class="parameter"><code>do_path</code></em> :</span></p></td>
744
719
  <td>whether only the shape path should be appended to current
745
- path of <em class="parameter"><code>cr</code></em> and no filling/stroking done. This will be set
746
- to <code class="literal">TRUE</code> when called from <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-layout-path" title="pango_cairo_layout_path ()"><code class="function">pango_cairo_layout_path()</code></a> and
747
- <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-layout-line-path" title="pango_cairo_layout_line_path ()"><code class="function">pango_cairo_layout_line_path()</code></a> rendering functions.
748
- </td>
720
+ path of <em class="parameter"><code>cr</code></em> and no filling/stroking done. This will be set
721
+ to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> when called from <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-layout-path" title="pango_cairo_layout_path ()"><code class="function">pango_cairo_layout_path()</code></a> and
722
+ <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-layout-line-path" title="pango_cairo_layout_line_path ()"><code class="function">pango_cairo_layout_line_path()</code></a> rendering functions.</td>
749
723
  </tr>
750
724
  <tr>
751
725
  <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
@@ -761,8 +735,8 @@ with Pango's Cairo renderer.
761
735
  <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_context_set_shape_renderer
762
736
  (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
763
737
  <em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()"><span class="type">PangoCairoShapeRendererFunc</span></a> func</code></em>,
764
- <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
765
- <em class="parameter"><code><span class="type">GDestroyNotify</span> dnotify</code></em>);</pre>
738
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
739
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> dnotify</code></em>);</pre>
766
740
  <p>
767
741
  Sets callback function for context to use for rendering attributes
768
742
  of type <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a>. See <a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()"><span class="type">PangoCairoShapeRendererFunc</span></a> for
@@ -773,25 +747,21 @@ details.
773
747
  <tbody>
774
748
  <tr>
775
749
  <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
776
- <td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map
777
- </td>
750
+ <td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</td>
778
751
  </tr>
779
752
  <tr>
780
753
  <td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
781
754
  <td>Callback function for rendering attributes of type
782
- <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to disable shape rendering.
783
- </td>
755
+ <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to disable shape rendering.</td>
784
756
  </tr>
785
757
  <tr>
786
758
  <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
787
- <td>User data that will be passed to <em class="parameter"><code>func</code></em>.
788
- </td>
759
+ <td>User data that will be passed to <em class="parameter"><code>func</code></em>.</td>
789
760
  </tr>
790
761
  <tr>
791
762
  <td><p><span class="term"><em class="parameter"><code>dnotify</code></em> :</span></p></td>
792
763
  <td>Callback that will be called when the
793
- context is freed to release <em class="parameter"><code>data</code></em>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
794
- </td>
764
+ context is freed to release <em class="parameter"><code>data</code></em>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
795
765
  </tr>
796
766
  </tbody>
797
767
  </table></div>
@@ -800,9 +770,9 @@ details.
800
770
  <hr>
801
771
  <div class="refsect2">
802
772
  <a name="pango-cairo-context-get-shape-renderer"></a><h3>pango_cairo_context_get_shape_renderer ()</h3>
803
- <pre class="programlisting"><a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()"><span class="returnvalue">PangoCairoShapeRendererFunc</span></a> pango_cairo_context_get_shape_renderer
773
+ <pre class="programlisting"><a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()"><span class="returnvalue">PangoCairoShapeRendererFunc</span></a> pango_cairo_context_get_shape_renderer
804
774
  (<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
805
- <em class="parameter"><code><span class="type">gpointer</span> *data</code></em>);</pre>
775
+ <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *data</code></em>);</pre>
806
776
  <p>
807
777
  Sets callback function for context to use for rendering attributes
808
778
  of type <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a>. See <a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()"><span class="type">PangoCairoShapeRendererFunc</span></a> for
@@ -818,20 +788,16 @@ attributes of type <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-S
818
788
  <tbody>
819
789
  <tr>
820
790
  <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
821
- <td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map
822
- </td>
791
+ <td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</td>
823
792
  </tr>
824
793
  <tr>
825
794
  <td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
826
- <td>Pointer to <span class="type">gpointer</span> to return user data
827
- </td>
795
+ <td>Pointer to <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> to return user data</td>
828
796
  </tr>
829
797
  <tr>
830
798
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
831
- <td> the shape rendering callback previously set on the context, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
832
- if no shape rendering callback have been set.
833
-
834
- </td>
799
+ <td>the shape rendering callback previously set on the context, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
800
+ if no shape rendering callback have been set.</td>
835
801
  </tr>
836
802
  </tbody>
837
803
  </table></div>
@@ -840,7 +806,7 @@ attributes of type <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-S
840
806
  <hr>
841
807
  <div class="refsect2">
842
808
  <a name="pango-cairo-create-context"></a><h3>pango_cairo_create_context ()</h3>
843
- <pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_cairo_create_context (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);</pre>
809
+ <pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_cairo_create_context (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);</pre>
844
810
  <p>
845
811
  Creates a context object set up to match the current transformation
846
812
  and target surface of the Cairo context. This context can then be
@@ -857,14 +823,12 @@ directly, you can use <a class="link" href="pango-Cairo-Rendering.html#pango-cai
857
823
  <tbody>
858
824
  <tr>
859
825
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
860
- <td>a Cairo context
861
- </td>
826
+ <td>a Cairo context</td>
862
827
  </tr>
863
828
  <tr>
864
829
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
865
- <td> the newly created <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>. Free with
866
- <code class="function">g_object_unref()</code>.
867
-
830
+ <td>the newly created <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>. Free with
831
+ <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
868
832
  </td>
869
833
  </tr>
870
834
  </tbody>
@@ -874,7 +838,7 @@ directly, you can use <a class="link" href="pango-Cairo-Rendering.html#pango-cai
874
838
  <hr>
875
839
  <div class="refsect2">
876
840
  <a name="pango-cairo-update-context"></a><h3>pango_cairo_update_context ()</h3>
877
- <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_update_context (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
841
+ <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_update_context (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
878
842
  <em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
879
843
  <p>
880
844
  Updates a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> previously created for use with Cairo to
@@ -888,13 +852,11 @@ layouts.
888
852
  <tbody>
889
853
  <tr>
890
854
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
891
- <td>a Cairo context
892
- </td>
855
+ <td>a Cairo context</td>
893
856
  </tr>
894
857
  <tr>
895
858
  <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
896
- <td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map
897
- </td>
859
+ <td>a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>, from a pangocairo font map</td>
898
860
  </tr>
899
861
  </tbody>
900
862
  </table></div>
@@ -903,7 +865,7 @@ layouts.
903
865
  <hr>
904
866
  <div class="refsect2">
905
867
  <a name="pango-cairo-create-layout"></a><h3>pango_cairo_create_layout ()</h3>
906
- <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> * pango_cairo_create_layout (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);</pre>
868
+ <pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> * pango_cairo_create_layout (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);</pre>
907
869
  <p>
908
870
  Creates a layout object set up to match the current transformation
909
871
  and target surface of the Cairo context. This layout can then be
@@ -923,14 +885,12 @@ application that was laying out large amounts of text.
923
885
  <tbody>
924
886
  <tr>
925
887
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
926
- <td>a Cairo context
927
- </td>
888
+ <td>a Cairo context</td>
928
889
  </tr>
929
890
  <tr>
930
891
  <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
931
- <td> the newly created <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>. Free with
932
- <code class="function">g_object_unref()</code>.
933
-
892
+ <td>the newly created <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>. Free with
893
+ <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
934
894
  </td>
935
895
  </tr>
936
896
  </tbody>
@@ -940,7 +900,7 @@ application that was laying out large amounts of text.
940
900
  <hr>
941
901
  <div class="refsect2">
942
902
  <a name="pango-cairo-update-layout"></a><h3>pango_cairo_update_layout ()</h3>
943
- <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_update_layout (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
903
+ <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_update_layout (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
944
904
  <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
945
905
  <p>
946
906
  Updates the private <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> of a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> created with
@@ -952,8 +912,7 @@ and target surface of a Cairo context.
952
912
  <tbody>
953
913
  <tr>
954
914
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
955
- <td>a Cairo context
956
- </td>
915
+ <td>a Cairo context</td>
957
916
  </tr>
958
917
  <tr>
959
918
  <td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
@@ -967,9 +926,9 @@ and target surface of a Cairo context.
967
926
  <hr>
968
927
  <div class="refsect2">
969
928
  <a name="pango-cairo-show-glyph-string"></a><h3>pango_cairo_show_glyph_string ()</h3>
970
- <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_glyph_string (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
929
+ <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_glyph_string (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
971
930
  <em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
972
- <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
931
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
973
932
  <p>
974
933
  Draws the glyphs in <em class="parameter"><code>glyphs</code></em> in the specified cairo context.
975
934
  The origin of the glyphs (the left edge of the baseline) will
@@ -980,8 +939,7 @@ be drawn at the current point of the cairo context.
980
939
  <tbody>
981
940
  <tr>
982
941
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
983
- <td>a Cairo context
984
- </td>
942
+ <td>a Cairo context</td>
985
943
  </tr>
986
944
  <tr>
987
945
  <td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
@@ -990,7 +948,7 @@ be drawn at the current point of the cairo context.
990
948
  </tr>
991
949
  <tr>
992
950
  <td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
993
- <td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>
951
+ <td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>
994
952
  </td>
995
953
  </tr>
996
954
  </tbody>
@@ -1000,9 +958,9 @@ be drawn at the current point of the cairo context.
1000
958
  <hr>
1001
959
  <div class="refsect2">
1002
960
  <a name="pango-cairo-show-glyph-item"></a><h3>pango_cairo_show_glyph_item ()</h3>
1003
- <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_glyph_item (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
961
+ <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_glyph_item (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1004
962
  <em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
1005
- <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>);</pre>
963
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>);</pre>
1006
964
  <p>
1007
965
  Draws the glyphs in <em class="parameter"><code>glyph_item</code></em> in the specified cairo context,
1008
966
  embedding the text associated with the glyphs in the output if the
@@ -1022,17 +980,15 @@ indexed by <code class="literal"><em class="parameter"><code>glyph_item-&gt;item
1022
980
  <tbody>
1023
981
  <tr>
1024
982
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1025
- <td>a Cairo context
1026
- </td>
983
+ <td>a Cairo context</td>
1027
984
  </tr>
1028
985
  <tr>
1029
986
  <td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
1030
- <td>the UTF-8 text that <em class="parameter"><code>glyph_item</code></em> refers to
1031
- </td>
987
+ <td>the UTF-8 text that <em class="parameter"><code>glyph_item</code></em> refers to</td>
1032
988
  </tr>
1033
989
  <tr>
1034
990
  <td><p><span class="term"><em class="parameter"><code>glyph_item</code></em> :</span></p></td>
1035
- <td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>
991
+ <td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>
1036
992
  </td>
1037
993
  </tr>
1038
994
  </tbody>
@@ -1042,10 +998,10 @@ indexed by <code class="literal"><em class="parameter"><code>glyph_item-&gt;item
1042
998
  <hr>
1043
999
  <div class="refsect2">
1044
1000
  <a name="pango-cairo-show-layout-line"></a><h3>pango_cairo_show_layout_line ()</h3>
1045
- <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_layout_line (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1046
- <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);</pre>
1001
+ <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_layout_line (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1002
+ <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);</pre>
1047
1003
  <p>
1048
- Draws a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> in the specified cairo context.
1004
+ Draws a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> in the specified cairo context.
1049
1005
  The origin of the glyphs (the left edge of the line) will
1050
1006
  be drawn at the current point of the cairo context.
1051
1007
  </p>
@@ -1054,12 +1010,11 @@ be drawn at the current point of the cairo context.
1054
1010
  <tbody>
1055
1011
  <tr>
1056
1012
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1057
- <td>a Cairo context
1058
- </td>
1013
+ <td>a Cairo context</td>
1059
1014
  </tr>
1060
1015
  <tr>
1061
1016
  <td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
1062
- <td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
1017
+ <td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
1063
1018
  </td>
1064
1019
  </tr>
1065
1020
  </tbody>
@@ -1069,7 +1024,7 @@ be drawn at the current point of the cairo context.
1069
1024
  <hr>
1070
1025
  <div class="refsect2">
1071
1026
  <a name="pango-cairo-show-layout"></a><h3>pango_cairo_show_layout ()</h3>
1072
- <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_layout (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1027
+ <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_layout (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1073
1028
  <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
1074
1029
  <p>
1075
1030
  Draws a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> in the specified cairo context.
@@ -1081,13 +1036,11 @@ at the current point of the cairo context.
1081
1036
  <tbody>
1082
1037
  <tr>
1083
1038
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1084
- <td>a Cairo context
1085
- </td>
1039
+ <td>a Cairo context</td>
1086
1040
  </tr>
1087
1041
  <tr>
1088
1042
  <td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
1089
- <td>a Pango layout
1090
- </td>
1043
+ <td>a Pango layout</td>
1091
1044
  </tr>
1092
1045
  </tbody>
1093
1046
  </table></div>
@@ -1096,7 +1049,7 @@ at the current point of the cairo context.
1096
1049
  <hr>
1097
1050
  <div class="refsect2">
1098
1051
  <a name="pango-cairo-show-error-underline"></a><h3>pango_cairo_show_error_underline ()</h3>
1099
- <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_error_underline (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1052
+ <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_error_underline (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1100
1053
  <em class="parameter"><code><span class="type">double</span> x</code></em>,
1101
1054
  <em class="parameter"><code><span class="type">double</span> y</code></em>,
1102
1055
  <em class="parameter"><code><span class="type">double</span> width</code></em>,
@@ -1113,28 +1066,23 @@ original rectangle)
1113
1066
  <tbody>
1114
1067
  <tr>
1115
1068
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1116
- <td>a Cairo context
1117
- </td>
1069
+ <td>a Cairo context</td>
1118
1070
  </tr>
1119
1071
  <tr>
1120
1072
  <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
1121
- <td>The X coordinate of one corner of the rectangle
1122
- </td>
1073
+ <td>The X coordinate of one corner of the rectangle</td>
1123
1074
  </tr>
1124
1075
  <tr>
1125
1076
  <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
1126
- <td>The Y coordinate of one corner of the rectangle
1127
- </td>
1077
+ <td>The Y coordinate of one corner of the rectangle</td>
1128
1078
  </tr>
1129
1079
  <tr>
1130
1080
  <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
1131
- <td>Non-negative width of the rectangle
1132
- </td>
1081
+ <td>Non-negative width of the rectangle</td>
1133
1082
  </tr>
1134
1083
  <tr>
1135
1084
  <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
1136
- <td>Non-negative height of the rectangle
1137
- </td>
1085
+ <td>Non-negative height of the rectangle</td>
1138
1086
  </tr>
1139
1087
  </tbody>
1140
1088
  </table></div>
@@ -1143,9 +1091,9 @@ original rectangle)
1143
1091
  <hr>
1144
1092
  <div class="refsect2">
1145
1093
  <a name="pango-cairo-glyph-string-path"></a><h3>pango_cairo_glyph_string_path ()</h3>
1146
- <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_glyph_string_path (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1094
+ <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_glyph_string_path (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1147
1095
  <em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
1148
- <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
1096
+ <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
1149
1097
  <p>
1150
1098
  Adds the glyphs in <em class="parameter"><code>glyphs</code></em> to the current path in the specified
1151
1099
  cairo context. The origin of the glyphs (the left edge of the baseline)
@@ -1156,8 +1104,7 @@ will be at the current point of the cairo context.
1156
1104
  <tbody>
1157
1105
  <tr>
1158
1106
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1159
- <td>a Cairo context
1160
- </td>
1107
+ <td>a Cairo context</td>
1161
1108
  </tr>
1162
1109
  <tr>
1163
1110
  <td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
@@ -1166,7 +1113,7 @@ will be at the current point of the cairo context.
1166
1113
  </tr>
1167
1114
  <tr>
1168
1115
  <td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
1169
- <td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>
1116
+ <td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>
1170
1117
  </td>
1171
1118
  </tr>
1172
1119
  </tbody>
@@ -1176,10 +1123,10 @@ will be at the current point of the cairo context.
1176
1123
  <hr>
1177
1124
  <div class="refsect2">
1178
1125
  <a name="pango-cairo-layout-line-path"></a><h3>pango_cairo_layout_line_path ()</h3>
1179
- <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_layout_line_path (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1180
- <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);</pre>
1126
+ <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_layout_line_path (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1127
+ <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);</pre>
1181
1128
  <p>
1182
- Adds the text in <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> to the current path in the
1129
+ Adds the text in <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> to the current path in the
1183
1130
  specified cairo context. The origin of the glyphs (the left edge
1184
1131
  of the line) will be at the current point of the cairo context.
1185
1132
  </p>
@@ -1188,12 +1135,11 @@ of the line) will be at the current point of the cairo context.
1188
1135
  <tbody>
1189
1136
  <tr>
1190
1137
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1191
- <td>a Cairo context
1192
- </td>
1138
+ <td>a Cairo context</td>
1193
1139
  </tr>
1194
1140
  <tr>
1195
1141
  <td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
1196
- <td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
1142
+ <td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
1197
1143
  </td>
1198
1144
  </tr>
1199
1145
  </tbody>
@@ -1203,7 +1149,7 @@ of the line) will be at the current point of the cairo context.
1203
1149
  <hr>
1204
1150
  <div class="refsect2">
1205
1151
  <a name="pango-cairo-layout-path"></a><h3>pango_cairo_layout_path ()</h3>
1206
- <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_layout_path (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1152
+ <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_layout_path (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1207
1153
  <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
1208
1154
  <p>
1209
1155
  Adds the text in a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> to the current path in the
@@ -1215,13 +1161,11 @@ will be at the current point of the cairo context.
1215
1161
  <tbody>
1216
1162
  <tr>
1217
1163
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1218
- <td>a Cairo context
1219
- </td>
1164
+ <td>a Cairo context</td>
1220
1165
  </tr>
1221
1166
  <tr>
1222
1167
  <td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
1223
- <td>a Pango layout
1224
- </td>
1168
+ <td>a Pango layout</td>
1225
1169
  </tr>
1226
1170
  </tbody>
1227
1171
  </table></div>
@@ -1230,7 +1174,7 @@ will be at the current point of the cairo context.
1230
1174
  <hr>
1231
1175
  <div class="refsect2">
1232
1176
  <a name="pango-cairo-error-underline-path"></a><h3>pango_cairo_error_underline_path ()</h3>
1233
- <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_error_underline_path (<em class="parameter"><code><a href="/gnome/usr/share/gtk-doc/html/cairo/cairo-context.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1177
+ <pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_error_underline_path (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
1234
1178
  <em class="parameter"><code><span class="type">double</span> x</code></em>,
1235
1179
  <em class="parameter"><code><span class="type">double</span> y</code></em>,
1236
1180
  <em class="parameter"><code><span class="type">double</span> width</code></em>,
@@ -1247,28 +1191,23 @@ in the original rectangle)
1247
1191
  <tbody>
1248
1192
  <tr>
1249
1193
  <td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
1250
- <td>a Cairo context
1251
- </td>
1194
+ <td>a Cairo context</td>
1252
1195
  </tr>
1253
1196
  <tr>
1254
1197
  <td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
1255
- <td>The X coordinate of one corner of the rectangle
1256
- </td>
1198
+ <td>The X coordinate of one corner of the rectangle</td>
1257
1199
  </tr>
1258
1200
  <tr>
1259
1201
  <td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
1260
- <td>The Y coordinate of one corner of the rectangle
1261
- </td>
1202
+ <td>The Y coordinate of one corner of the rectangle</td>
1262
1203
  </tr>
1263
1204
  <tr>
1264
1205
  <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
1265
- <td>Non-negative width of the rectangle
1266
- </td>
1206
+ <td>Non-negative width of the rectangle</td>
1267
1207
  </tr>
1268
1208
  <tr>
1269
1209
  <td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
1270
- <td>Non-negative height of the rectangle
1271
- </td>
1210
+ <td>Non-negative height of the rectangle</td>
1272
1211
  </tr>
1273
1212
  </tbody>
1274
1213
  </table></div>
@@ -1278,6 +1217,6 @@ in the original rectangle)
1278
1217
  </div>
1279
1218
  <div class="footer">
1280
1219
  <hr>
1281
- Generated by GTK-Doc V1.15.1</div>
1220
+ Generated by GTK-Doc V1.18</div>
1282
1221
  </body>
1283
1222
  </html>