pango 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +12 -1
- data/lib/1.8/pango.so +0 -0
- data/lib/1.9/pango.so +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +14 -1
- data/vendor/local/include/pango-1.0/pango/pango-attributes.h +27 -2
- data/vendor/local/include/pango-1.0/pango/pango-bidi-type.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pango-context.h +2 -1
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +7 -5
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +47 -38
- data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +4 -2
- data/vendor/local/include/pango-1.0/pango/pango-fontset.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-glyph.h +7 -0
- data/vendor/local/include/pango-1.0/pango/pango-gravity.h +14 -0
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +2 -1
- data/vendor/local/include/pango-1.0/pango/pango-matrix.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-script.h +15 -1
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +2 -0
- data/vendor/local/include/pango-1.0/pango/pangocairo.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pangowin32.h +2 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +41 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +41 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +41 -0
- data/vendor/local/lib/pkgconfig/pango.pc +5 -4
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +17 -11
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +23 -15
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +18 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +56 -28
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +103 -49
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +32 -20
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +96 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +140 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +54 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +69 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +229 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +157 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +127 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +99 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +129 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +91 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +51 -0
- data/vendor/local/share/gtk-doc/html/pango/{index-1.28.html → api-index-1-28.html} +9 -9
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +42 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +46 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +206 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +170 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +176 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +150 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2965 -0
- data/vendor/local/share/gtk-doc/html/pango/index.html +25 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +36 -37
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +8 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +42 -24
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +222 -123
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +94 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +61 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +34 -19
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +536 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +90 -36
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +291 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +564 -256
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +206 -110
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +32 -17
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +261 -144
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +175 -65
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +89 -52
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +602 -258
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +359 -114
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +27 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +65 -16
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +117 -48
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +127 -61
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +12 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +99 -38
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +77 -17
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +45 -52
- data/vendor/local/share/gtk-doc/html/pango/pango.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +7 -10
- data/vendor/local/share/gtk-doc/html/pango/tools.html +6 -6
- data/vendor/local/share/license/pango/AUTHORS +2 -0
- data/vendor/local/share/{doc/pango-1.29.4 → license/pango}/COPYING +0 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +67 -16
- data/vendor/local/share/man/man1/pango-view.1 +4 -4
- metadata +43 -50
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/include/pango-1.0/pango/pango-ot.h +0 -197
- data/vendor/local/include/pango-1.0/pango/pangofc-decoder.h +0 -110
- data/vendor/local/include/pango-1.0/pango/pangofc-font.h +0 -151
- data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +0 -270
- data/vendor/local/include/pango-1.0/pango/pangoft2.h +0 -112
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/pango-1.0.def +0 -397
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.def +0 -34
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.def +0 -85
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.def +0 -30
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/pangoft2.pc +0 -11
- data/vendor/local/manifest/pango-dev_1.29.4-1_win32.mft +0 -116
- data/vendor/local/manifest/pango_1.29.4-1_win32.mft +0 -8
- data/vendor/local/share/doc/pango-dev-1.29.4/COPYING +0 -482
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +0 -81
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +0 -41
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +0 -47
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +0 -115
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +0 -91
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +0 -73
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +0 -59
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +0 -71
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +0 -59
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +0 -39
- data/vendor/local/share/gtk-doc/html/pango/index-1.30.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +0 -111
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +0 -91
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +0 -99
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +0 -1514
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +0 -137
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +0 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +0 -1023
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.log +0 -806
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.sh +0 -56
@@ -3,10 +3,10 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Pango Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
|
7
7
|
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
8
|
<link rel="next" href="pango.html" title="Basic Pango Interfaces">
|
9
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
9
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
10
10
|
<link rel="stylesheet" href="style.css" type="text/css">
|
11
11
|
</head>
|
12
12
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -14,12 +14,12 @@
|
|
14
14
|
<div class="titlepage">
|
15
15
|
<div>
|
16
16
|
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Pango Reference Manual</p></th></tr></table></div>
|
17
|
-
<div><p class="releaseinfo">for Pango 1.
|
17
|
+
<div><p class="releaseinfo">for Pango 1.32.6
|
18
18
|
</p></div>
|
19
19
|
</div>
|
20
20
|
<hr>
|
21
21
|
</div>
|
22
|
-
<div class="toc"><dl>
|
22
|
+
<div class="toc"><dl class="toc">
|
23
23
|
<dt><span class="chapter"><a href="pango.html">Basic Pango Interfaces</a></span></dt>
|
24
24
|
<dd><dl>
|
25
25
|
<dt>
|
@@ -69,10 +69,7 @@ markup language to encode text with attributes</span>
|
|
69
69
|
<span class="refentrytitle"><a href="pango-Cairo-Rendering.html">Cairo Rendering</a></span><span class="refpurpose"> — Rendering with the Cairo backend</span>
|
70
70
|
</dt>
|
71
71
|
<dt>
|
72
|
-
<span class="refentrytitle"><a href="pango-
|
73
|
-
</dt>
|
74
|
-
<dt>
|
75
|
-
<span class="refentrytitle"><a href="pango-X-Fonts-and-Rendering.html">Deprecated X font backend</a></span><span class="refpurpose"> — Font handling and rendering with the deprecated X font backend</span>
|
72
|
+
<span class="refentrytitle"><a href="pango-CoreText-Fonts.html">CoreText Fonts</a></span><span class="refpurpose"> — Font handling with CoreText fonts</span>
|
76
73
|
</dt>
|
77
74
|
</dl></dd>
|
78
75
|
<dt><span class="chapter"><a href="lowlevel.html">Low Level Functionality</a></span></dt>
|
@@ -119,27 +116,29 @@ markup language to encode text with attributes</span>
|
|
119
116
|
<span class="refentrytitle"><a href="pango-querymodules.html">pango-querymodules</a></span><span class="refpurpose"> — Module registration utility</span>
|
120
117
|
</dt></dl></dd>
|
121
118
|
<dt><span class="chapter"><a href="pango-hierarchy.html">Object Hierarchy</a></span></dt>
|
122
|
-
<dt><span class="
|
123
|
-
<dt><span class="index"><a href="index-
|
124
|
-
<dt><span class="index"><a href="index-
|
125
|
-
<dt><span class="index"><a href="index-1.
|
126
|
-
<dt><span class="index"><a href="index-1.
|
127
|
-
<dt><span class="index"><a href="index-1.
|
128
|
-
<dt><span class="index"><a href="index-1.
|
129
|
-
<dt><span class="index"><a href="index-1.
|
130
|
-
<dt><span class="index"><a href="index-1.
|
131
|
-
<dt><span class="index"><a href="index-1.
|
132
|
-
<dt><span class="index"><a href="index-1.
|
133
|
-
<dt><span class="index"><a href="index-1.
|
134
|
-
<dt><span class="index"><a href="index-1.
|
135
|
-
<dt><span class="index"><a href="index-1.
|
136
|
-
<dt><span class="index"><a href="index-1.
|
137
|
-
<dt><span class="index"><a href="index-1.
|
138
|
-
<dt><span class="index"><a href="index-1.
|
119
|
+
<dt><span class="glossary"><a href="annotation-glossary.html">Annotation Glossary</a></span></dt>
|
120
|
+
<dt><span class="index"><a href="api-index-full.html">Index of all symbols</a></span></dt>
|
121
|
+
<dt><span class="index"><a href="api-index-deprecated.html">Index of deprecated symbols</a></span></dt>
|
122
|
+
<dt><span class="index"><a href="api-index-1-2.html">Index of new symbols in 1.2</a></span></dt>
|
123
|
+
<dt><span class="index"><a href="api-index-1-4.html">Index of new symbols in 1.4</a></span></dt>
|
124
|
+
<dt><span class="index"><a href="api-index-1-6.html">Index of new symbols in 1.6</a></span></dt>
|
125
|
+
<dt><span class="index"><a href="api-index-1-8.html">Index of new symbols in 1.8</a></span></dt>
|
126
|
+
<dt><span class="index"><a href="api-index-1-10.html">Index of new symbols in 1.10</a></span></dt>
|
127
|
+
<dt><span class="index"><a href="api-index-1-12.html">Index of new symbols in 1.12</a></span></dt>
|
128
|
+
<dt><span class="index"><a href="api-index-1-14.html">Index of new symbols in 1.14</a></span></dt>
|
129
|
+
<dt><span class="index"><a href="api-index-1-16.html">Index of new symbols in 1.16</a></span></dt>
|
130
|
+
<dt><span class="index"><a href="api-index-1-18.html">Index of new symbols in 1.18</a></span></dt>
|
131
|
+
<dt><span class="index"><a href="api-index-1-20.html">Index of new symbols in 1.20</a></span></dt>
|
132
|
+
<dt><span class="index"><a href="api-index-1-22.html">Index of new symbols in 1.22</a></span></dt>
|
133
|
+
<dt><span class="index"><a href="api-index-1-24.html">Index of new symbols in 1.24</a></span></dt>
|
134
|
+
<dt><span class="index"><a href="api-index-1-26.html">Index of new symbols in 1.26</a></span></dt>
|
135
|
+
<dt><span class="index"><a href="api-index-1-28.html">Index of new symbols in 1.28</a></span></dt>
|
136
|
+
<dt><span class="index"><a href="api-index-1-30.html">Index of new symbols in 1.30</a></span></dt>
|
137
|
+
<dt><span class="index"><a href="api-index-1-32.html">Index of new symbols in 1.32</a></span></dt>
|
139
138
|
</dl></div>
|
140
139
|
</div>
|
141
140
|
<div class="footer">
|
142
141
|
<hr>
|
143
|
-
Generated by GTK-Doc V1.18</div>
|
142
|
+
Generated by GTK-Doc V1.18.1</div>
|
144
143
|
</body>
|
145
144
|
</html>
|
@@ -18,6 +18,8 @@
|
|
18
18
|
<ANCHOR id="pango-item-split" href="pango/pango-Text-Processing.html#pango-item-split">
|
19
19
|
<ANCHOR id="pango-reorder-items" href="pango/pango-Text-Processing.html#pango-reorder-items">
|
20
20
|
<ANCHOR id="pango-context-new" href="pango/pango-Text-Processing.html#pango-context-new">
|
21
|
+
<ANCHOR id="pango-context-changed" href="pango/pango-Text-Processing.html#pango-context-changed">
|
22
|
+
<ANCHOR id="pango-context-get-serial" href="pango/pango-Text-Processing.html#pango-context-get-serial">
|
21
23
|
<ANCHOR id="pango-context-set-font-map" href="pango/pango-Text-Processing.html#pango-context-set-font-map">
|
22
24
|
<ANCHOR id="pango-context-get-font-map" href="pango/pango-Text-Processing.html#pango-context-get-font-map">
|
23
25
|
<ANCHOR id="pango-context-get-font-description" href="pango/pango-Text-Processing.html#pango-context-get-font-description">
|
@@ -43,6 +45,7 @@
|
|
43
45
|
<ANCHOR id="pango-default-break" href="pango/pango-Text-Processing.html#pango-default-break">
|
44
46
|
<ANCHOR id="PangoLogAttr" href="pango/pango-Text-Processing.html#PangoLogAttr">
|
45
47
|
<ANCHOR id="pango-shape" href="pango/pango-Text-Processing.html#pango-shape">
|
48
|
+
<ANCHOR id="pango-shape-full" href="pango/pango-Text-Processing.html#pango-shape-full">
|
46
49
|
<ANCHOR id="pango-Glyph-Storage" href="pango/pango-Glyph-Storage.html">
|
47
50
|
<ANCHOR id="pango-Glyph-Storage.synopsis" href="pango/pango-Glyph-Storage.html#pango-Glyph-Storage.synopsis">
|
48
51
|
<ANCHOR id="PangoMatrix" href="pango/pango-Glyph-Storage.html#PangoMatrix">
|
@@ -262,6 +265,7 @@
|
|
262
265
|
<ANCHOR id="pango-font-map-load-fontset" href="pango/pango-Fonts.html#pango-font-map-load-fontset">
|
263
266
|
<ANCHOR id="pango-font-map-list-families" href="pango/pango-Fonts.html#pango-font-map-list-families">
|
264
267
|
<ANCHOR id="pango-font-map-get-shape-engine-type" href="pango/pango-Fonts.html#pango-font-map-get-shape-engine-type">
|
268
|
+
<ANCHOR id="pango-font-map-get-serial" href="pango/pango-Fonts.html#pango-font-map-get-serial">
|
265
269
|
<ANCHOR id="PangoFontset-struct" href="pango/pango-Fonts.html#PangoFontset-struct">
|
266
270
|
<ANCHOR id="PANGO-TYPE-FONTSET:CAPS" href="pango/pango-Fonts.html#PANGO-TYPE-FONTSET:CAPS">
|
267
271
|
<ANCHOR id="PangoFontsetClass" href="pango/pango-Fonts.html#PangoFontsetClass">
|
@@ -321,6 +325,8 @@
|
|
321
325
|
<ANCHOR id="PangoAttrShape" href="pango/pango-Text-Attributes.html#PangoAttrShape">
|
322
326
|
<ANCHOR id="PangoAttrSize" href="pango/pango-Text-Attributes.html#PangoAttrSize">
|
323
327
|
<ANCHOR id="pango-parse-markup" href="pango/pango-Text-Attributes.html#pango-parse-markup">
|
328
|
+
<ANCHOR id="pango-markup-parser-new" href="pango/pango-Text-Attributes.html#pango-markup-parser-new">
|
329
|
+
<ANCHOR id="pango-markup-parser-finish" href="pango/pango-Text-Attributes.html#pango-markup-parser-finish">
|
324
330
|
<ANCHOR id="pango-attr-type-register" href="pango/pango-Text-Attributes.html#pango-attr-type-register">
|
325
331
|
<ANCHOR id="pango-attr-type-get-name" href="pango/pango-Text-Attributes.html#pango-attr-type-get-name">
|
326
332
|
<ANCHOR id="pango-attribute-init" href="pango/pango-Text-Attributes.html#pango-attribute-init">
|
@@ -433,6 +439,7 @@
|
|
433
439
|
<ANCHOR id="pango-layout-copy" href="pango/pango-Layout-Objects.html#pango-layout-copy">
|
434
440
|
<ANCHOR id="pango-layout-get-context" href="pango/pango-Layout-Objects.html#pango-layout-get-context">
|
435
441
|
<ANCHOR id="pango-layout-context-changed" href="pango/pango-Layout-Objects.html#pango-layout-context-changed">
|
442
|
+
<ANCHOR id="pango-layout-get-serial" href="pango/pango-Layout-Objects.html#pango-layout-get-serial">
|
436
443
|
<ANCHOR id="pango-layout-set-text" href="pango/pango-Layout-Objects.html#pango-layout-set-text">
|
437
444
|
<ANCHOR id="pango-layout-get-text" href="pango/pango-Layout-Objects.html#pango-layout-get-text">
|
438
445
|
<ANCHOR id="pango-layout-get-character-count" href="pango/pango-Layout-Objects.html#pango-layout-get-character-count">
|
@@ -617,6 +624,16 @@
|
|
617
624
|
<ANCHOR id="PANGO-SCRIPT-CARIAN:CAPS" href="pango/pango-Scripts-and-Languages.html#PANGO-SCRIPT-CARIAN:CAPS">
|
618
625
|
<ANCHOR id="PANGO-SCRIPT-LYCIAN:CAPS" href="pango/pango-Scripts-and-Languages.html#PANGO-SCRIPT-LYCIAN:CAPS">
|
619
626
|
<ANCHOR id="PANGO-SCRIPT-LYDIAN:CAPS" href="pango/pango-Scripts-and-Languages.html#PANGO-SCRIPT-LYDIAN:CAPS">
|
627
|
+
<ANCHOR id="PANGO-SCRIPT-BATAK:CAPS" href="pango/pango-Scripts-and-Languages.html#PANGO-SCRIPT-BATAK:CAPS">
|
628
|
+
<ANCHOR id="PANGO-SCRIPT-BRAHMI:CAPS" href="pango/pango-Scripts-and-Languages.html#PANGO-SCRIPT-BRAHMI:CAPS">
|
629
|
+
<ANCHOR id="PANGO-SCRIPT-MANDAIC:CAPS" href="pango/pango-Scripts-and-Languages.html#PANGO-SCRIPT-MANDAIC:CAPS">
|
630
|
+
<ANCHOR id="PANGO-SCRIPT-CHAKMA:CAPS" href="pango/pango-Scripts-and-Languages.html#PANGO-SCRIPT-CHAKMA:CAPS">
|
631
|
+
<ANCHOR id="PANGO-SCRIPT-MEROITIC-CURSIVE:CAPS" href="pango/pango-Scripts-and-Languages.html#PANGO-SCRIPT-MEROITIC-CURSIVE:CAPS">
|
632
|
+
<ANCHOR id="PANGO-SCRIPT-MEROITIC-HIEROGLYPHS:CAPS" href="pango/pango-Scripts-and-Languages.html#PANGO-SCRIPT-MEROITIC-HIEROGLYPHS:CAPS">
|
633
|
+
<ANCHOR id="PANGO-SCRIPT-MIAO:CAPS" href="pango/pango-Scripts-and-Languages.html#PANGO-SCRIPT-MIAO:CAPS">
|
634
|
+
<ANCHOR id="PANGO-SCRIPT-SHARADA:CAPS" href="pango/pango-Scripts-and-Languages.html#PANGO-SCRIPT-SHARADA:CAPS">
|
635
|
+
<ANCHOR id="PANGO-SCRIPT-SORA-SOMPENG:CAPS" href="pango/pango-Scripts-and-Languages.html#PANGO-SCRIPT-SORA-SOMPENG:CAPS">
|
636
|
+
<ANCHOR id="PANGO-SCRIPT-TAKRI:CAPS" href="pango/pango-Scripts-and-Languages.html#PANGO-SCRIPT-TAKRI:CAPS">
|
620
637
|
<ANCHOR id="PANGO-TYPE-SCRIPT:CAPS" href="pango/pango-Scripts-and-Languages.html#PANGO-TYPE-SCRIPT:CAPS">
|
621
638
|
<ANCHOR id="PangoScriptIter" href="pango/pango-Scripts-and-Languages.html#PangoScriptIter">
|
622
639
|
<ANCHOR id="pango-script-for-unichar" href="pango/pango-Scripts-and-Languages.html#pango-script-for-unichar">
|
@@ -691,6 +708,7 @@
|
|
691
708
|
<ANCHOR id="PANGO-GRAVITY-HINT-NATURAL:CAPS" href="pango/pango-Vertical-Text.html#PANGO-GRAVITY-HINT-NATURAL:CAPS">
|
692
709
|
<ANCHOR id="PANGO-GRAVITY-HINT-STRONG:CAPS" href="pango/pango-Vertical-Text.html#PANGO-GRAVITY-HINT-STRONG:CAPS">
|
693
710
|
<ANCHOR id="PANGO-GRAVITY-HINT-LINE:CAPS" href="pango/pango-Vertical-Text.html#PANGO-GRAVITY-HINT-LINE:CAPS">
|
711
|
+
<ANCHOR id="PANGO-GRAVITY-IS-IMPROPER:CAPS" href="pango/pango-Vertical-Text.html#PANGO-GRAVITY-IS-IMPROPER:CAPS">
|
694
712
|
<ANCHOR id="PANGO-GRAVITY-IS-VERTICAL:CAPS" href="pango/pango-Vertical-Text.html#PANGO-GRAVITY-IS-VERTICAL:CAPS">
|
695
713
|
<ANCHOR id="pango-gravity-get-for-matrix" href="pango/pango-Vertical-Text.html#pango-gravity-get-for-matrix">
|
696
714
|
<ANCHOR id="pango-gravity-get-for-script" href="pango/pango-Vertical-Text.html#pango-gravity-get-for-script">
|
@@ -831,43 +849,12 @@
|
|
831
849
|
<ANCHOR id="pango-cairo-layout-line-path" href="pango/pango-Cairo-Rendering.html#pango-cairo-layout-line-path">
|
832
850
|
<ANCHOR id="pango-cairo-layout-path" href="pango/pango-Cairo-Rendering.html#pango-cairo-layout-path">
|
833
851
|
<ANCHOR id="pango-cairo-error-underline-path" href="pango/pango-Cairo-Rendering.html#pango-cairo-error-underline-path">
|
834
|
-
<ANCHOR id="pango-
|
835
|
-
<ANCHOR id="pango-
|
836
|
-
<ANCHOR id="pango-
|
837
|
-
<ANCHOR id="pango-
|
838
|
-
<ANCHOR id="
|
839
|
-
<ANCHOR id="pango-
|
840
|
-
<ANCHOR id="pango-X-Fonts-and-Rendering.description" href="pango/pango-X-Fonts-and-Rendering.html#pango-X-Fonts-and-Rendering.description">
|
841
|
-
<ANCHOR id="pango-X-Fonts-and-Rendering.details" href="pango/pango-X-Fonts-and-Rendering.html#pango-X-Fonts-and-Rendering.details">
|
842
|
-
<ANCHOR id="PANGO-RENDER-TYPE-X:CAPS" href="pango/pango-X-Fonts-and-Rendering.html#PANGO-RENDER-TYPE-X:CAPS">
|
843
|
-
<ANCHOR id="pango-x-get-context" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-get-context">
|
844
|
-
<ANCHOR id="pango-x-context-set-funcs" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-context-set-funcs">
|
845
|
-
<ANCHOR id="PangoGetGCFunc" href="pango/pango-X-Fonts-and-Rendering.html#PangoGetGCFunc">
|
846
|
-
<ANCHOR id="PangoFreeGCFunc" href="pango/pango-X-Fonts-and-Rendering.html#PangoFreeGCFunc">
|
847
|
-
<ANCHOR id="pango-x-render" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-render">
|
848
|
-
<ANCHOR id="pango-x-render-layout-line" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-render-layout-line">
|
849
|
-
<ANCHOR id="pango-x-render-layout" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-render-layout">
|
850
|
-
<ANCHOR id="PangoXSubfont" href="pango/pango-X-Fonts-and-Rendering.html#PangoXSubfont">
|
851
|
-
<ANCHOR id="PANGO-X-MAKE-GLYPH:CAPS" href="pango/pango-X-Fonts-and-Rendering.html#PANGO-X-MAKE-GLYPH:CAPS">
|
852
|
-
<ANCHOR id="PANGO-X-GLYPH-SUBFONT:CAPS" href="pango/pango-X-Fonts-and-Rendering.html#PANGO-X-GLYPH-SUBFONT:CAPS">
|
853
|
-
<ANCHOR id="PANGO-X-GLYPH-INDEX:CAPS" href="pango/pango-X-Fonts-and-Rendering.html#PANGO-X-GLYPH-INDEX:CAPS">
|
854
|
-
<ANCHOR id="pango-x-load-font" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-load-font">
|
855
|
-
<ANCHOR id="pango-x-get-unknown-glyph" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-get-unknown-glyph">
|
856
|
-
<ANCHOR id="pango-x-has-glyph" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-has-glyph">
|
857
|
-
<ANCHOR id="pango-x-list-subfonts" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-list-subfonts">
|
858
|
-
<ANCHOR id="pango-x-font-map-for-display" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-font-map-for-display">
|
859
|
-
<ANCHOR id="pango-x-shutdown-display" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-shutdown-display">
|
860
|
-
<ANCHOR id="pango-x-font-map-get-font-cache" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-font-map-get-font-cache">
|
861
|
-
<ANCHOR id="pango-x-font-subfont-xlfd" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-font-subfont-xlfd">
|
862
|
-
<ANCHOR id="pango-x-find-first-subfont" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-find-first-subfont">
|
863
|
-
<ANCHOR id="pango-x-font-get-unknown-glyph" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-font-get-unknown-glyph">
|
864
|
-
<ANCHOR id="pango-x-apply-ligatures" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-apply-ligatures">
|
865
|
-
<ANCHOR id="pango-x-fallback-shape" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-fallback-shape">
|
866
|
-
<ANCHOR id="PangoXFontCache" href="pango/pango-X-Fonts-and-Rendering.html#PangoXFontCache">
|
867
|
-
<ANCHOR id="pango-x-font-cache-new" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-font-cache-new">
|
868
|
-
<ANCHOR id="pango-x-font-cache-free" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-font-cache-free">
|
869
|
-
<ANCHOR id="pango-x-font-cache-load" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-font-cache-load">
|
870
|
-
<ANCHOR id="pango-x-font-cache-unload" href="pango/pango-X-Fonts-and-Rendering.html#pango-x-font-cache-unload">
|
852
|
+
<ANCHOR id="pango-CoreText-Fonts" href="pango/pango-CoreText-Fonts.html">
|
853
|
+
<ANCHOR id="pango-CoreText-Fonts.synopsis" href="pango/pango-CoreText-Fonts.html#pango-CoreText-Fonts.synopsis">
|
854
|
+
<ANCHOR id="pango-CoreText-Fonts.description" href="pango/pango-CoreText-Fonts.html#pango-CoreText-Fonts.description">
|
855
|
+
<ANCHOR id="pango-CoreText-Fonts.details" href="pango/pango-CoreText-Fonts.html#pango-CoreText-Fonts.details">
|
856
|
+
<ANCHOR id="PANGO-RENDER-TYPE-CORE-TEXT:CAPS" href="pango/pango-CoreText-Fonts.html#PANGO-RENDER-TYPE-CORE-TEXT:CAPS">
|
857
|
+
<ANCHOR id="pango-core-text-font-get-ctfont" href="pango/pango-CoreText-Fonts.html#pango-core-text-font-get-ctfont">
|
871
858
|
<ANCHOR id="pango-pango-renderer" href="pango/pango-pango-renderer.html">
|
872
859
|
<ANCHOR id="pango-pango-renderer.synopsis" href="pango/pango-pango-renderer.html#pango-pango-renderer.synopsis">
|
873
860
|
<ANCHOR id="PangoRenderer" href="pango/pango-pango-renderer.html#PangoRenderer">
|
@@ -1096,6 +1083,7 @@
|
|
1096
1083
|
<ANCHOR id="pango-scan-string" href="pango/pango-Miscellaneous-Utilities.html#pango-scan-string">
|
1097
1084
|
<ANCHOR id="pango-scan-int" href="pango/pango-Miscellaneous-Utilities.html#pango-scan-int">
|
1098
1085
|
<ANCHOR id="pango-config-key-get" href="pango/pango-Miscellaneous-Utilities.html#pango-config-key-get">
|
1086
|
+
<ANCHOR id="pango-config-key-get-system" href="pango/pango-Miscellaneous-Utilities.html#pango-config-key-get-system">
|
1099
1087
|
<ANCHOR id="pango-lookup-aliases" href="pango/pango-Miscellaneous-Utilities.html#pango-lookup-aliases">
|
1100
1088
|
<ANCHOR id="pango-parse-enum" href="pango/pango-Miscellaneous-Utilities.html#pango-parse-enum">
|
1101
1089
|
<ANCHOR id="pango-parse-style" href="pango/pango-Miscellaneous-Utilities.html#pango-parse-style">
|
@@ -1125,3 +1113,14 @@
|
|
1125
1113
|
<ANCHOR id="Description" href="pango/pango-querymodules.html#Description">
|
1126
1114
|
<ANCHOR id="Environment" href="pango/pango-querymodules.html#Environment">
|
1127
1115
|
<ANCHOR id="Bugs" href="pango/pango-querymodules.html#Bugs">
|
1116
|
+
<ANCHOR id="annotation-glossterm-out caller-allocates" href="pango/annotation-glossary.html#annotation-glossterm-out caller-allocates">
|
1117
|
+
<ANCHOR id="annotation-glossterm-out" href="pango/annotation-glossary.html#annotation-glossterm-out">
|
1118
|
+
<ANCHOR id="annotation-glossterm-allow-none" href="pango/annotation-glossary.html#annotation-glossterm-allow-none">
|
1119
|
+
<ANCHOR id="annotation-glossterm-inout" href="pango/annotation-glossary.html#annotation-glossterm-inout">
|
1120
|
+
<ANCHOR id="annotation-glossterm-closure" href="pango/annotation-glossary.html#annotation-glossterm-closure">
|
1121
|
+
<ANCHOR id="annotation-glossterm-transfer none" href="pango/annotation-glossary.html#annotation-glossterm-transfer none">
|
1122
|
+
<ANCHOR id="annotation-glossterm-array" href="pango/annotation-glossary.html#annotation-glossterm-array">
|
1123
|
+
<ANCHOR id="annotation-glossterm-element-type" href="pango/annotation-glossary.html#annotation-glossterm-element-type">
|
1124
|
+
<ANCHOR id="annotation-glossterm-transfer container" href="pango/annotation-glossary.html#annotation-glossterm-transfer container">
|
1125
|
+
<ANCHOR id="annotation-glossterm-scope call" href="pango/annotation-glossary.html#annotation-glossterm-scope call">
|
1126
|
+
<ANCHOR id="annotation-glossterm-transfer full" href="pango/annotation-glossary.html#annotation-glossterm-transfer full">
|
@@ -3,26 +3,26 @@
|
|
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.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
|
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
|
-
<link rel="prev" href="pango-
|
9
|
+
<link rel="prev" href="pango-CoreText-Fonts.html" title="CoreText Fonts">
|
10
10
|
<link rel="next" href="pango-pango-renderer.html" title="PangoRenderer">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
16
|
-
<td><a accesskey="p" href="pango-
|
16
|
+
<td><a accesskey="p" href="pango-CoreText-Fonts.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
17
17
|
<td> </td>
|
18
18
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
19
19
|
<th width="100%" align="center">Pango Reference Manual</th>
|
20
20
|
<td><a accesskey="n" href="pango-pango-renderer.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
21
21
|
</tr></table>
|
22
22
|
<div class="chapter">
|
23
|
-
<div class="titlepage"><div><div><
|
24
|
-
<a name="lowlevel"></a>Low Level Functionality</
|
25
|
-
<div class="toc"><dl>
|
23
|
+
<div class="titlepage"><div><div><h1 class="title">
|
24
|
+
<a name="lowlevel"></a>Low Level Functionality</h1></div></div></div>
|
25
|
+
<div class="toc"><dl class="toc">
|
26
26
|
<dt>
|
27
27
|
<span class="refentrytitle"><a href="pango-pango-renderer.html">PangoRenderer</a></span><span class="refpurpose"> — Rendering driver base class</span>
|
28
28
|
</dt>
|
@@ -63,6 +63,6 @@
|
|
63
63
|
</div>
|
64
64
|
<div class="footer">
|
65
65
|
<hr>
|
66
|
-
Generated by GTK-Doc V1.18</div>
|
66
|
+
Generated by GTK-Doc V1.18.1</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>Bidirectional Text</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
|
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.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (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">
|
@@ -40,13 +40,13 @@
|
|
40
40
|
<div class="refsynopsisdiv">
|
41
41
|
<a name="pango-Bidirectional-Text.synopsis"></a><h2>Synopsis</h2>
|
42
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><
|
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 <
|
45
|
-
<em class="parameter"><code><
|
46
|
-
<
|
47
|
-
<em class="parameter"><code><
|
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><span class="type">gunichar</span> 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 <span class="type">gchar</span> *text</code></em>,
|
45
|
+
<em class="parameter"><code><span class="type">gint</span> length</code></em>);
|
46
|
+
<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>,
|
47
|
+
<em class="parameter"><code><span class="type">gunichar</span> *mirrored_ch</code></em>);
|
48
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><
|
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><span class="type">gunichar</span> ch</code></em>);
|
50
50
|
</pre>
|
51
51
|
</div>
|
52
52
|
<div class="refsect1">
|
@@ -107,8 +107,11 @@ enumeration as the writing direction of a block of
|
|
107
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
|
108
108
|
vertical text is handled in Pango.
|
109
109
|
</p>
|
110
|
-
<div class="variablelist"><table border="0">
|
110
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
111
|
+
<colgroup>
|
111
112
|
<col align="left" valign="top">
|
113
|
+
<col>
|
114
|
+
</colgroup>
|
112
115
|
<tbody>
|
113
116
|
<tr>
|
114
117
|
<td><p><a name="PANGO-DIRECTION-LTR:CAPS"></a><span class="term"><code class="literal">PANGO_DIRECTION_LTR</code></span></p></td>
|
@@ -153,7 +156,7 @@ vertical text is handled in Pango.
|
|
153
156
|
<hr>
|
154
157
|
<div class="refsect2">
|
155
158
|
<a name="pango-unichar-direction"></a><h3>pango_unichar_direction ()</h3>
|
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><
|
159
|
+
<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><span class="type">gunichar</span> ch</code></em>);</pre>
|
157
160
|
<p>
|
158
161
|
Determines the inherent direction of a character; either
|
159
162
|
<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
|
@@ -165,8 +168,11 @@ letters, right-to-left letters, and everything else. If full
|
|
165
168
|
Unicode bidirectional type of a character is needed,
|
166
169
|
<code class="function">pango_bidi_type_for_gunichar()</code> can be used instead.
|
167
170
|
</p>
|
168
|
-
<div class="variablelist"><table border="0">
|
171
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
172
|
+
<colgroup>
|
169
173
|
<col align="left" valign="top">
|
174
|
+
<col>
|
175
|
+
</colgroup>
|
170
176
|
<tbody>
|
171
177
|
<tr>
|
172
178
|
<td><p><span class="term"><em class="parameter"><code>ch</code></em> :</span></p></td>
|
@@ -182,14 +188,17 @@ Unicode bidirectional type of a character is needed,
|
|
182
188
|
<hr>
|
183
189
|
<div class="refsect2">
|
184
190
|
<a name="pango-find-base-dir"></a><h3>pango_find_base_dir ()</h3>
|
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 <
|
186
|
-
<em class="parameter"><code><
|
191
|
+
<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 <span class="type">gchar</span> *text</code></em>,
|
192
|
+
<em class="parameter"><code><span class="type">gint</span> length</code></em>);</pre>
|
187
193
|
<p>
|
188
194
|
Searches a string the first character that has a strong
|
189
195
|
direction, according to the Unicode bidirectional algorithm.
|
190
196
|
</p>
|
191
|
-
<div class="variablelist"><table border="0">
|
197
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
198
|
+
<colgroup>
|
192
199
|
<col align="left" valign="top">
|
200
|
+
<col>
|
201
|
+
</colgroup>
|
193
202
|
<tbody>
|
194
203
|
<tr>
|
195
204
|
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
@@ -211,8 +220,8 @@ If no such character is found, then <a class="link" href="pango-Bidirectional-Te
|
|
211
220
|
<hr>
|
212
221
|
<div class="refsect2">
|
213
222
|
<a name="pango-get-mirror-char"></a><h3>pango_get_mirror_char ()</h3>
|
214
|
-
<pre class="programlisting"><
|
215
|
-
<em class="parameter"><code><
|
223
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_get_mirror_char (<em class="parameter"><code><span class="type">gunichar</span> ch</code></em>,
|
224
|
+
<em class="parameter"><code><span class="type">gunichar</span> *mirrored_ch</code></em>);</pre>
|
216
225
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
217
226
|
<h3 class="title">Warning</h3>
|
218
227
|
<p><code class="literal">pango_get_mirror_char</code> is deprecated and should not be used in newly-written code.</p>
|
@@ -223,11 +232,14 @@ character that typically has a glyph that is the mirror image of <em class="para
|
|
223
232
|
glyph, puts that character in the address pointed to by <em class="parameter"><code>mirrored_ch</code></em>.
|
224
233
|
</p>
|
225
234
|
<p>
|
226
|
-
Use <
|
235
|
+
Use <code class="function">g_unichar_get_mirror_char()</code> instead; the docs for that function
|
227
236
|
provide full details.
|
228
237
|
</p>
|
229
|
-
<div class="variablelist"><table border="0">
|
238
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
239
|
+
<colgroup>
|
230
240
|
<col align="left" valign="top">
|
241
|
+
<col>
|
242
|
+
</colgroup>
|
231
243
|
<tbody>
|
232
244
|
<tr>
|
233
245
|
<td><p><span class="term"><em class="parameter"><code>ch</code></em> :</span></p></td>
|
@@ -240,8 +252,8 @@ provide full details.
|
|
240
252
|
<tr>
|
241
253
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
242
254
|
<td>
|
243
|
-
<
|
244
|
-
filled in, <
|
255
|
+
<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
|
256
|
+
filled in, <code class="literal">FALSE</code> otherwise</td>
|
245
257
|
</tr>
|
246
258
|
</tbody>
|
247
259
|
</table></div>
|
@@ -281,8 +293,11 @@ The <a class="link" href="pango-Bidirectional-Text.html#PangoBidiType"><span cla
|
|
281
293
|
type of a Unicode character as specified by the
|
282
294
|
<a class="ulink" href="http://www.unicode.org/reports/tr9/" target="_top">Unicode bidirectional algorithm</a>.
|
283
295
|
</p>
|
284
|
-
<div class="variablelist"><table border="0">
|
296
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
297
|
+
<colgroup>
|
285
298
|
<col align="left" valign="top">
|
299
|
+
<col>
|
300
|
+
</colgroup>
|
286
301
|
<tbody>
|
287
302
|
<tr>
|
288
303
|
<td><p><a name="PANGO-BIDI-TYPE-L:CAPS"></a><span class="term"><code class="literal">PANGO_BIDI_TYPE_L</code></span></p></td>
|
@@ -386,7 +401,7 @@ type of a Unicode character as specified by the
|
|
386
401
|
<hr>
|
387
402
|
<div class="refsect2">
|
388
403
|
<a name="pango-bidi-type-for-unichar"></a><h3>pango_bidi_type_for_unichar ()</h3>
|
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><
|
404
|
+
<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><span class="type">gunichar</span> ch</code></em>);</pre>
|
390
405
|
<p>
|
391
406
|
Determines the normative bidirectional character type of a
|
392
407
|
character, as specified in the Unicode Character Database.
|
@@ -395,8 +410,11 @@ character, as specified in the Unicode Character Database.
|
|
395
410
|
A simplified version of this function is available as
|
396
411
|
<code class="function">pango_unichar_get_direction()</code>.
|
397
412
|
</p>
|
398
|
-
<div class="variablelist"><table border="0">
|
413
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
414
|
+
<colgroup>
|
399
415
|
<col align="left" valign="top">
|
416
|
+
<col>
|
417
|
+
</colgroup>
|
400
418
|
<tbody>
|
401
419
|
<tr>
|
402
420
|
<td><p><span class="term"><em class="parameter"><code>ch</code></em> :</span></p></td>
|
@@ -423,6 +441,6 @@ Unicode bidirectional algorithm.</td>
|
|
423
441
|
</div>
|
424
442
|
<div class="footer">
|
425
443
|
<hr>
|
426
|
-
Generated by GTK-Doc V1.18</div>
|
444
|
+
Generated by GTK-Doc V1.18.1</div>
|
427
445
|
</body>
|
428
446
|
</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.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
|
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
|
-
<link rel="next" href="pango-
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
10
|
+
<link rel="next" href="pango-CoreText-Fonts.html" title="CoreText Fonts">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (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">
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<td><a accesskey="u" href="rendering.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
19
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
20
|
<th width="100%" align="center">Pango Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="pango-
|
21
|
+
<td><a accesskey="n" href="pango-CoreText-Fonts.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
22
|
</tr>
|
23
23
|
<tr><td colspan="5" class="shortcuts">
|
24
24
|
<a href="#pango-Cairo-Rendering.synopsis" class="shortcut">Top</a>
|
@@ -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="/
|
51
|
-
<a href="/
|
50
|
+
(<em class="parameter"><code><a href="/home/mclasen/gnome/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="/home/mclasen/gnome/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="/
|
56
|
+
<a href="/home/mclasen/gnome/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="/
|
63
|
-
const <a href="/
|
62
|
+
<em class="parameter"><code>const <a href="/home/mclasen/gnome/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="/home/mclasen/gnome/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="/
|
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="/home/mclasen/gnome/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><
|
68
|
-
<em class="parameter"><code><
|
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>);
|
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><
|
73
|
-
<em class="parameter"><code><
|
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
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><
|
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="/
|
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="/
|
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="/home/mclasen/gnome/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="/home/mclasen/gnome/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="/
|
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="/
|
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="/home/mclasen/gnome/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="/home/mclasen/gnome/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="/
|
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="/home/mclasen/gnome/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
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="/
|
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="/home/mclasen/gnome/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
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="/
|
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="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
90
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="/
|
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="/home/mclasen/gnome/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="/
|
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="/home/mclasen/gnome/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="/
|
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="/home/mclasen/gnome/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
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="/
|
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="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
102
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="/
|
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="/home/mclasen/gnome/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="/
|
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="/home/mclasen/gnome/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>,
|
@@ -250,7 +250,7 @@ to the floating point units used in Cairo divide by <a class="link" href="pango-
|
|
250
250
|
<span class="normal"> </span><span class="type">int</span><span class="normal"> i</span><span class="symbol">;</span>
|
251
251
|
<span class="normal"> </span><span class="comment">/* Center coordinates on the middle of the region we are drawing</span>
|
252
252
|
<span class="comment"> */</span>
|
253
|
-
<span class="normal"> </span><span class="function"><a href="/
|
253
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/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
254
|
<span class="normal"> </span><span class="comment">/* Create a PangoLayout, set the font and text */</span>
|
255
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
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>
|
@@ -263,20 +263,20 @@ to the floating point units used in Cairo divide by <a class="link" href="pango-
|
|
263
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
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
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="/
|
266
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/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
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">
|
269
|
-
<span class="normal"> </span><span class="function"><a href="/
|
270
|
-
<span class="normal"> </span><span class="function"><a href="/
|
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"> G_PI </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="/home/mclasen/gnome/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="/home/mclasen/gnome/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"> G_PI </span><span class="symbol">/</span><span class="normal"> </span><span class="number">180</span><span class="symbol">.);</span>
|
271
271
|
<span class="normal"> </span><span class="comment">/* Inform Pango to re-layout the text with the new transformation */</span>
|
272
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
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">&</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">height</span><span class="symbol">);</span>
|
274
|
-
<span class="normal"> </span><span class="function"><a href="/
|
274
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/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
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="/
|
276
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/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
277
|
<span class="normal"> </span><span class="cbracket">}</span>
|
278
278
|
<span class="normal"> </span><span class="comment">/* free the layout object */</span>
|
279
|
-
<span class="normal"> </span><span class="function"
|
279
|
+
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span>
|
280
280
|
<span class="cbracket">}</span>
|
281
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
282
|
<span class="cbracket">{</span>
|
@@ -286,22 +286,22 @@ to the floating point units used in Cairo divide by <a class="link" href="pango-
|
|
286
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
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
288
|
<span class="normal"> </span><span class="cbracket">{</span>
|
289
|
-
<span class="normal"> </span><span class="function"
|
289
|
+
<span class="normal"> </span><span class="function">g_printerr</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
290
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">1</span><span class="symbol">;</span>
|
291
291
|
<span class="normal"> </span><span class="cbracket">}</span>
|
292
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="/
|
293
|
+
<span class="normal"> surface </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/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="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html#CAIRO-FORMAT-ARGB32:CAPS">CAIRO_FORMAT_ARGB32</a></span><span class="symbol">,</span>
|
294
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="/
|
296
|
-
<span class="normal"> </span><span class="function"><a href="/
|
297
|
-
<span class="normal"> </span><span class="function"><a href="/
|
295
|
+
<span class="normal"> cr </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/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="/home/mclasen/gnome/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="/home/mclasen/gnome/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
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="/
|
300
|
-
<span class="normal"> status </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/
|
301
|
-
<span class="normal"> </span><span class="function"><a href="/
|
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="/
|
299
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/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="/home/mclasen/gnome/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="/home/mclasen/gnome/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="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-Error-handling.html#CAIRO-STATUS-SUCCESS:CAPS">CAIRO_STATUS_SUCCESS</a></span><span class="symbol">)</span>
|
303
303
|
<span class="normal"> </span><span class="cbracket">{</span>
|
304
|
-
<span class="normal"> </span><span class="function"
|
304
|
+
<span class="normal"> </span><span class="function">g_printerr</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
305
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">1</span><span class="symbol">;</span>
|
306
306
|
<span class="normal"> </span><span class="cbracket">}</span>
|
307
307
|
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
@@ -314,7 +314,7 @@ to the floating point units used in Cairo divide by <a class="link" href="pango-
|
|
314
314
|
</div>
|
315
315
|
<br class="example-break"><div class="figure">
|
316
316
|
<a name="rotated-example-output"></a><p class="title"><b>Figure 2. Output of <a class="xref" href="pango-Cairo-Rendering.html#rotated-example" title="Example 1. Using Pango with Cairo">Example 1, “Using Pango with Cairo”</a></b></p>
|
317
|
-
<div class="figure-contents"><div><img src="rotated-text.png" alt="Output of"></div></div>
|
317
|
+
<div class="figure-contents"><div><img src="rotated-text.png" alt="Output of Example 1, “Using Pango with Cairo”"></div></div>
|
318
318
|
</div>
|
319
319
|
<br class="figure-break">
|
320
320
|
</div>
|
@@ -360,12 +360,20 @@ The default Cairo fontmap can be changed by using
|
|
360
360
|
change the Cairo font backend that the default fontmap
|
361
361
|
uses for example.
|
362
362
|
</p>
|
363
|
-
<
|
363
|
+
<p>
|
364
|
+
Note that since Pango 1.32.6, the default fontmap is per-thread.
|
365
|
+
Each thread gets its own default fontmap. In this way,
|
366
|
+
PangoCairo can be used safely from multiple threads.
|
367
|
+
</p>
|
368
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
369
|
+
<colgroup>
|
364
370
|
<col align="left" valign="top">
|
371
|
+
<col>
|
372
|
+
</colgroup>
|
365
373
|
<tbody><tr>
|
366
374
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
367
|
-
<td>the default
|
368
|
-
for
|
375
|
+
<td>the default PangoCairo fontmap
|
376
|
+
for the current thread. This object is owned by Pango and must not be freed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
369
377
|
</td>
|
370
378
|
</tr></tbody>
|
371
379
|
</table></div>
|
@@ -384,15 +392,25 @@ default fontmap uses for example. The old default font map
|
|
384
392
|
is unreffed and the new font map referenced.
|
385
393
|
</p>
|
386
394
|
<p>
|
387
|
-
|
395
|
+
Note that since Pango 1.32.6, the default fontmap is per-thread.
|
396
|
+
This function only changes the default fontmap for
|
397
|
+
the current thread. Default fontmaps of exisiting threads
|
398
|
+
are not changed. Default fontmaps of any new threads will
|
399
|
+
still be created 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>.
|
400
|
+
</p>
|
401
|
+
<p>
|
402
|
+
A value of <a href="/home/mclasen/gnome/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
|
388
403
|
font map to be released and a new default font
|
389
404
|
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>.
|
390
405
|
</p>
|
391
|
-
<div class="variablelist"><table border="0">
|
406
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
407
|
+
<colgroup>
|
392
408
|
<col align="left" valign="top">
|
409
|
+
<col>
|
410
|
+
</colgroup>
|
393
411
|
<tbody><tr>
|
394
412
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
395
|
-
<td>The new default font map, or <a href="/
|
413
|
+
<td>The new default font map, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
396
414
|
</td>
|
397
415
|
</tr></tbody>
|
398
416
|
</table></div>
|
@@ -415,12 +433,15 @@ on the particular font backend Cairo was compiled to use;
|
|
415
433
|
You generally should only use the <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> and
|
416
434
|
<a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> interfaces on the returned object.
|
417
435
|
</p>
|
418
|
-
<div class="variablelist"><table border="0">
|
436
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
437
|
+
<colgroup>
|
419
438
|
<col align="left" valign="top">
|
439
|
+
<col>
|
440
|
+
</colgroup>
|
420
441
|
<tbody><tr>
|
421
442
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
422
443
|
<td>the newly allocated <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>,
|
423
|
-
which should be freed with <
|
444
|
+
which should be freed with <code class="function">g_object_unref()</code>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
424
445
|
</td>
|
425
446
|
</tr></tbody>
|
426
447
|
</table></div>
|
@@ -430,7 +451,7 @@ which should be freed with <a href="http://library.gnome.org/devel/gobject/unsta
|
|
430
451
|
<div class="refsect2">
|
431
452
|
<a name="pango-cairo-font-map-new-for-font-type"></a><h3>pango_cairo_font_map_new_for_font_type ()</h3>
|
432
453
|
<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
|
433
|
-
(<em class="parameter"><code><a href="/
|
454
|
+
(<em class="parameter"><code><a href="/home/mclasen/gnome/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>
|
434
455
|
<p>
|
435
456
|
Creates a new <a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap"><span class="type">PangoCairoFontMap</span></a> object of the type suitable
|
436
457
|
to be used with cairo font backend of type <em class="parameter"><code>fonttype</code></em>.
|
@@ -440,19 +461,22 @@ In most cases one should simply use <em class="parameter"><code><a class="link"
|
|
440
461
|
or in fact in most of those cases, just use
|
441
462
|
<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>.
|
442
463
|
</p>
|
443
|
-
<div class="variablelist"><table border="0">
|
464
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
465
|
+
<colgroup>
|
444
466
|
<col align="left" valign="top">
|
467
|
+
<col>
|
468
|
+
</colgroup>
|
445
469
|
<tbody>
|
446
470
|
<tr>
|
447
471
|
<td><p><span class="term"><em class="parameter"><code>fonttype</code></em> :</span></p></td>
|
448
|
-
<td>desired <a href="/
|
472
|
+
<td>desired <a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html#cairo-font-type-t"><span class="type">cairo_font_type_t</span></a>
|
449
473
|
</td>
|
450
474
|
</tr>
|
451
475
|
<tr>
|
452
476
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
453
477
|
<td>(transfer full) : the newly allocated <a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a>
|
454
478
|
of suitable type which should be freed with
|
455
|
-
<
|
479
|
+
<code class="function">g_object_unref()</code>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if the requested cairo
|
456
480
|
font backend is not supported / compiled in.</td>
|
457
481
|
</tr>
|
458
482
|
</tbody>
|
@@ -462,12 +486,15 @@ font backend is not supported / compiled in.</td>
|
|
462
486
|
<hr>
|
463
487
|
<div class="refsect2">
|
464
488
|
<a name="pango-cairo-font-map-get-font-type"></a><h3>pango_cairo_font_map_get_font_type ()</h3>
|
465
|
-
<pre class="programlisting"><a href="/
|
489
|
+
<pre class="programlisting"><a href="/home/mclasen/gnome/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>
|
466
490
|
<p>
|
467
491
|
Gets the type of Cairo font backend that <em class="parameter"><code>fontmap</code></em> uses.
|
468
492
|
</p>
|
469
|
-
<div class="variablelist"><table border="0">
|
493
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
494
|
+
<colgroup>
|
470
495
|
<col align="left" valign="top">
|
496
|
+
<col>
|
497
|
+
</colgroup>
|
471
498
|
<tbody>
|
472
499
|
<tr>
|
473
500
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
@@ -476,7 +503,7 @@ Gets the type of Cairo font backend that <em class="parameter"><code>fontmap</co
|
|
476
503
|
</tr>
|
477
504
|
<tr>
|
478
505
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
479
|
-
<td>the <a href="/
|
506
|
+
<td>the <a href="/home/mclasen/gnome/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>
|
480
507
|
</tr>
|
481
508
|
</tbody>
|
482
509
|
</table></div>
|
@@ -493,8 +520,11 @@ points specified in a <a class="link" href="pango-Fonts.html#PangoFontDescriptio
|
|
493
520
|
default value is 96, meaning that a 10 point font will be 13
|
494
521
|
units high. (10 * 96. / 72. = 13.3).
|
495
522
|
</p>
|
496
|
-
<div class="variablelist"><table border="0">
|
523
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
524
|
+
<colgroup>
|
497
525
|
<col align="left" valign="top">
|
526
|
+
<col>
|
527
|
+
</colgroup>
|
498
528
|
<tbody>
|
499
529
|
<tr>
|
500
530
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
@@ -517,8 +547,11 @@ involved; the terminology is conventional.)</td>
|
|
517
547
|
<p>
|
518
548
|
Gets the resolution for the fontmap. See <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-font-map-set-resolution" title="pango_cairo_font_map_set_resolution ()"><code class="function">pango_cairo_font_map_set_resolution()</code></a>
|
519
549
|
</p>
|
520
|
-
<div class="variablelist"><table border="0">
|
550
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
551
|
+
<colgroup>
|
521
552
|
<col align="left" valign="top">
|
553
|
+
<col>
|
554
|
+
</colgroup>
|
522
555
|
<tbody>
|
523
556
|
<tr>
|
524
557
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
@@ -544,8 +577,11 @@ Gets the resolution for the fontmap. See <a class="link" href="pango-Cairo-Rende
|
|
544
577
|
<p>
|
545
578
|
Create a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> for the given fontmap.
|
546
579
|
</p>
|
547
|
-
<div class="variablelist"><table border="0">
|
580
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
581
|
+
<colgroup>
|
548
582
|
<col align="left" valign="top">
|
583
|
+
<col>
|
584
|
+
</colgroup>
|
549
585
|
<tbody>
|
550
586
|
<tr>
|
551
587
|
<td><p><span class="term"><em class="parameter"><code>fontmap</code></em> :</span></p></td>
|
@@ -554,7 +590,7 @@ Create a <a class="link" href="pango-Text-Processing.html#PangoContext"><span cl
|
|
554
590
|
</tr>
|
555
591
|
<tr>
|
556
592
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
557
|
-
<td>the newly created context; free with <
|
593
|
+
<td>the newly created context; free with <code class="function">g_object_unref()</code>.</td>
|
558
594
|
</tr>
|
559
595
|
</tbody>
|
560
596
|
</table></div>
|
@@ -563,14 +599,17 @@ Create a <a class="link" href="pango-Text-Processing.html#PangoContext"><span cl
|
|
563
599
|
<hr>
|
564
600
|
<div class="refsect2">
|
565
601
|
<a name="pango-cairo-font-get-scaled-font"></a><h3>pango_cairo_font_get_scaled_font ()</h3>
|
566
|
-
<pre class="programlisting"><a href="/
|
602
|
+
<pre class="programlisting"><a href="/home/mclasen/gnome/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>
|
567
603
|
<p>
|
568
|
-
Gets the <a href="/
|
604
|
+
Gets the <a href="/home/mclasen/gnome/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>.
|
569
605
|
The scaled font can be referenced and kept using
|
570
|
-
<a href="/
|
606
|
+
<a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html#cairo-scaled-font-reference"><code class="function">cairo_scaled_font_reference()</code></a>.
|
571
607
|
</p>
|
572
|
-
<div class="variablelist"><table border="0">
|
608
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
609
|
+
<colgroup>
|
573
610
|
<col align="left" valign="top">
|
611
|
+
<col>
|
612
|
+
</colgroup>
|
574
613
|
<tbody>
|
575
614
|
<tr>
|
576
615
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
@@ -579,8 +618,8 @@ The scaled font can be referenced and kept using
|
|
579
618
|
</tr>
|
580
619
|
<tr>
|
581
620
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
582
|
-
<td>the <a href="/
|
583
|
-
or <a href="/
|
621
|
+
<td>the <a href="/home/mclasen/gnome/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>,
|
622
|
+
or <a href="/home/mclasen/gnome/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="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
584
623
|
</tr>
|
585
624
|
</tbody>
|
586
625
|
</table></div>
|
@@ -597,8 +636,11 @@ points specified in a <a class="link" href="pango-Fonts.html#PangoFontDescriptio
|
|
597
636
|
default value is 96, meaning that a 10 point font will be 13
|
598
637
|
units high. (10 * 96. / 72. = 13.3).
|
599
638
|
</p>
|
600
|
-
<div class="variablelist"><table border="0">
|
639
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
640
|
+
<colgroup>
|
601
641
|
<col align="left" valign="top">
|
642
|
+
<col>
|
643
|
+
</colgroup>
|
602
644
|
<tbody>
|
603
645
|
<tr>
|
604
646
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
@@ -621,8 +663,11 @@ means to use the resolution from the font map.</td>
|
|
621
663
|
<p>
|
622
664
|
Gets the resolution for the context. See <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-set-resolution" title="pango_cairo_context_set_resolution ()"><code class="function">pango_cairo_context_set_resolution()</code></a>
|
623
665
|
</p>
|
624
|
-
<div class="variablelist"><table border="0">
|
666
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
667
|
+
<colgroup>
|
625
668
|
<col align="left" valign="top">
|
669
|
+
<col>
|
670
|
+
</colgroup>
|
626
671
|
<tbody>
|
627
672
|
<tr>
|
628
673
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
@@ -642,14 +687,17 @@ be returned if no resolution has previously been set.</td>
|
|
642
687
|
<a name="pango-cairo-context-set-font-options"></a><h3>pango_cairo_context_set_font_options ()</h3>
|
643
688
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_context_set_font_options
|
644
689
|
(<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
645
|
-
<em class="parameter"><code>const <a href="/
|
690
|
+
<em class="parameter"><code>const <a href="/home/mclasen/gnome/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>
|
646
691
|
<p>
|
647
692
|
Sets the font options used when rendering text with this context.
|
648
693
|
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>
|
649
694
|
derives from the target surface.
|
650
695
|
</p>
|
651
|
-
<div class="variablelist"><table border="0">
|
696
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
697
|
+
<colgroup>
|
652
698
|
<col align="left" valign="top">
|
699
|
+
<col>
|
700
|
+
</colgroup>
|
653
701
|
<tbody>
|
654
702
|
<tr>
|
655
703
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
@@ -657,7 +705,7 @@ derives from the target surface.
|
|
657
705
|
</tr>
|
658
706
|
<tr>
|
659
707
|
<td><p><span class="term"><em class="parameter"><code>options</code></em> :</span></p></td>
|
660
|
-
<td>a <a href="/
|
708
|
+
<td>a <a href="/home/mclasen/gnome/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="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to unset any previously set
|
661
709
|
options. A copy is made.</td>
|
662
710
|
</tr>
|
663
711
|
</tbody>
|
@@ -667,15 +715,18 @@ options. A copy is made.</td>
|
|
667
715
|
<hr>
|
668
716
|
<div class="refsect2">
|
669
717
|
<a name="pango-cairo-context-get-font-options"></a><h3>pango_cairo_context_get_font_options ()</h3>
|
670
|
-
<pre class="programlisting">const <a href="/
|
718
|
+
<pre class="programlisting">const <a href="/home/mclasen/gnome/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
|
671
719
|
(<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
672
720
|
<p>
|
673
721
|
Retrieves any font rendering options previously set with
|
674
722
|
<code class="function">pango_cairo_font_map_set_font_options()</code>. This function does not report options
|
675
723
|
that are derived from the target surface by <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>
|
676
724
|
</p>
|
677
|
-
<div class="variablelist"><table border="0">
|
725
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
726
|
+
<colgroup>
|
678
727
|
<col align="left" valign="top">
|
728
|
+
<col>
|
729
|
+
</colgroup>
|
679
730
|
<tbody>
|
680
731
|
<tr>
|
681
732
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
@@ -683,7 +734,7 @@ that are derived from the target surface by <a class="link" href="pango-Cairo-Re
|
|
683
734
|
</tr>
|
684
735
|
<tr>
|
685
736
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
686
|
-
<td>the font options previously set on the context, or <a href="/
|
737
|
+
<td>the font options previously set on the context, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
687
738
|
if no options have been set. This value is owned by the context
|
688
739
|
and must not be modified or freed.</td>
|
689
740
|
</tr>
|
@@ -694,16 +745,19 @@ and must not be modified or freed.</td>
|
|
694
745
|
<hr>
|
695
746
|
<div class="refsect2">
|
696
747
|
<a name="PangoCairoShapeRendererFunc"></a><h3>PangoCairoShapeRendererFunc ()</h3>
|
697
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*PangoCairoShapeRendererFunc) (<em class="parameter"><code><a href="/
|
748
|
+
<pre class="programlisting"><span class="returnvalue">void</span> (*PangoCairoShapeRendererFunc) (<em class="parameter"><code><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
698
749
|
<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>,
|
699
|
-
<em class="parameter"><code><
|
700
|
-
<em class="parameter"><code><
|
750
|
+
<em class="parameter"><code><span class="type">gboolean</span> do_path</code></em>,
|
751
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
701
752
|
<p>
|
702
753
|
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>
|
703
754
|
with Pango's Cairo renderer.
|
704
755
|
</p>
|
705
|
-
<div class="variablelist"><table border="0">
|
756
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
757
|
+
<colgroup>
|
706
758
|
<col align="left" valign="top">
|
759
|
+
<col>
|
760
|
+
</colgroup>
|
707
761
|
<tbody>
|
708
762
|
<tr>
|
709
763
|
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
@@ -718,7 +772,7 @@ be rendered</td>
|
|
718
772
|
<td><p><span class="term"><em class="parameter"><code>do_path</code></em> :</span></p></td>
|
719
773
|
<td>whether only the shape path should be appended to current
|
720
774
|
path of <em class="parameter"><code>cr</code></em> and no filling/stroking done. This will be set
|
721
|
-
to <
|
775
|
+
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
|
722
776
|
<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>
|
723
777
|
</tr>
|
724
778
|
<tr>
|
@@ -735,15 +789,18 @@ to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.ht
|
|
735
789
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_context_set_shape_renderer
|
736
790
|
(<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
737
791
|
<em class="parameter"><code><a class="link" href="pango-Cairo-Rendering.html#PangoCairoShapeRendererFunc" title="PangoCairoShapeRendererFunc ()"><span class="type">PangoCairoShapeRendererFunc</span></a> func</code></em>,
|
738
|
-
<em class="parameter"><code><
|
739
|
-
<em class="parameter"><code><
|
792
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
793
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> dnotify</code></em>);</pre>
|
740
794
|
<p>
|
741
795
|
Sets callback function for context to use for rendering attributes
|
742
796
|
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
|
743
797
|
details.
|
744
798
|
</p>
|
745
|
-
<div class="variablelist"><table border="0">
|
799
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
800
|
+
<colgroup>
|
746
801
|
<col align="left" valign="top">
|
802
|
+
<col>
|
803
|
+
</colgroup>
|
747
804
|
<tbody>
|
748
805
|
<tr>
|
749
806
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
@@ -752,7 +809,7 @@ details.
|
|
752
809
|
<tr>
|
753
810
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
754
811
|
<td>Callback function for rendering attributes of type
|
755
|
-
<a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a>, or <a href="/
|
812
|
+
<a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to disable shape rendering.</td>
|
756
813
|
</tr>
|
757
814
|
<tr>
|
758
815
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
@@ -761,7 +818,7 @@ details.
|
|
761
818
|
<tr>
|
762
819
|
<td><p><span class="term"><em class="parameter"><code>dnotify</code></em> :</span></p></td>
|
763
820
|
<td>Callback that will be called when the
|
764
|
-
context is freed to release <em class="parameter"><code>data</code></em>, or <a href="/
|
821
|
+
context is freed to release <em class="parameter"><code>data</code></em>, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.</td>
|
765
822
|
</tr>
|
766
823
|
</tbody>
|
767
824
|
</table></div>
|
@@ -772,7 +829,7 @@ context is freed to release <em class="parameter"><code>data</code></em>, or <a
|
|
772
829
|
<a name="pango-cairo-context-get-shape-renderer"></a><h3>pango_cairo_context_get_shape_renderer ()</h3>
|
773
830
|
<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
|
774
831
|
(<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>,
|
775
|
-
<em class="parameter"><code><
|
832
|
+
<em class="parameter"><code><span class="type">gpointer</span> *data</code></em>);</pre>
|
776
833
|
<p>
|
777
834
|
Sets callback function for context to use for rendering attributes
|
778
835
|
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
|
@@ -783,8 +840,11 @@ Retrieves callback function and associated user data for rendering
|
|
783
840
|
attributes of type <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SHAPE:CAPS"><code class="literal">PANGO_ATTR_SHAPE</code></a> as set by
|
784
841
|
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-context-set-shape-renderer" title="pango_cairo_context_set_shape_renderer ()"><code class="function">pango_cairo_context_set_shape_renderer()</code></a>, if any.
|
785
842
|
</p>
|
786
|
-
<div class="variablelist"><table border="0">
|
843
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
844
|
+
<colgroup>
|
787
845
|
<col align="left" valign="top">
|
846
|
+
<col>
|
847
|
+
</colgroup>
|
788
848
|
<tbody>
|
789
849
|
<tr>
|
790
850
|
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
@@ -792,11 +852,11 @@ attributes of type <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-S
|
|
792
852
|
</tr>
|
793
853
|
<tr>
|
794
854
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
795
|
-
<td>Pointer to <
|
855
|
+
<td>Pointer to <span class="type">gpointer</span> to return user data</td>
|
796
856
|
</tr>
|
797
857
|
<tr>
|
798
858
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
799
|
-
<td>the shape rendering callback previously set on the context, or <a href="/
|
859
|
+
<td>the shape rendering callback previously set on the context, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
800
860
|
if no shape rendering callback have been set.</td>
|
801
861
|
</tr>
|
802
862
|
</tbody>
|
@@ -806,7 +866,7 @@ if no shape rendering callback have been set.</td>
|
|
806
866
|
<hr>
|
807
867
|
<div class="refsect2">
|
808
868
|
<a name="pango-cairo-create-context"></a><h3>pango_cairo_create_context ()</h3>
|
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="/
|
869
|
+
<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="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);</pre>
|
810
870
|
<p>
|
811
871
|
Creates a context object set up to match the current transformation
|
812
872
|
and target surface of the Cairo context. This context can then be
|
@@ -818,8 +878,11 @@ the default font map, then updates it to <em class="parameter"><code>cr</code></
|
|
818
878
|
create a layout for use with <em class="parameter"><code>cr</code></em> and do not need to access <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>
|
819
879
|
directly, you can use <a class="link" href="pango-Cairo-Rendering.html#pango-cairo-create-layout" title="pango_cairo_create_layout ()"><code class="function">pango_cairo_create_layout()</code></a> instead.
|
820
880
|
</p>
|
821
|
-
<div class="variablelist"><table border="0">
|
881
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
882
|
+
<colgroup>
|
822
883
|
<col align="left" valign="top">
|
884
|
+
<col>
|
885
|
+
</colgroup>
|
823
886
|
<tbody>
|
824
887
|
<tr>
|
825
888
|
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
@@ -828,7 +891,7 @@ directly, you can use <a class="link" href="pango-Cairo-Rendering.html#pango-cai
|
|
828
891
|
<tr>
|
829
892
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
830
893
|
<td>the newly created <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a>. Free with
|
831
|
-
<
|
894
|
+
<code class="function">g_object_unref()</code>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
832
895
|
</td>
|
833
896
|
</tr>
|
834
897
|
</tbody>
|
@@ -838,7 +901,7 @@ directly, you can use <a class="link" href="pango-Cairo-Rendering.html#pango-cai
|
|
838
901
|
<hr>
|
839
902
|
<div class="refsect2">
|
840
903
|
<a name="pango-cairo-update-context"></a><h3>pango_cairo_update_context ()</h3>
|
841
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_update_context (<em class="parameter"><code><a href="/
|
904
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_update_context (<em class="parameter"><code><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
842
905
|
<em class="parameter"><code><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> *context</code></em>);</pre>
|
843
906
|
<p>
|
844
907
|
Updates a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> previously created for use with Cairo to
|
@@ -847,8 +910,11 @@ context. If any layouts have been created for the context,
|
|
847
910
|
it's necessary to call <a class="link" href="pango-Layout-Objects.html#pango-layout-context-changed" title="pango_layout_context_changed ()"><code class="function">pango_layout_context_changed()</code></a> on those
|
848
911
|
layouts.
|
849
912
|
</p>
|
850
|
-
<div class="variablelist"><table border="0">
|
913
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
914
|
+
<colgroup>
|
851
915
|
<col align="left" valign="top">
|
916
|
+
<col>
|
917
|
+
</colgroup>
|
852
918
|
<tbody>
|
853
919
|
<tr>
|
854
920
|
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
@@ -865,7 +931,7 @@ layouts.
|
|
865
931
|
<hr>
|
866
932
|
<div class="refsect2">
|
867
933
|
<a name="pango-cairo-create-layout"></a><h3>pango_cairo_create_layout ()</h3>
|
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="/
|
934
|
+
<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="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>);</pre>
|
869
935
|
<p>
|
870
936
|
Creates a layout object set up to match the current transformation
|
871
937
|
and target surface of the Cairo context. This layout can then be
|
@@ -880,8 +946,11 @@ however it is slightly inefficient since it creates a separate
|
|
880
946
|
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> object for each layout. This might matter in an
|
881
947
|
application that was laying out large amounts of text.
|
882
948
|
</p>
|
883
|
-
<div class="variablelist"><table border="0">
|
949
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
950
|
+
<colgroup>
|
884
951
|
<col align="left" valign="top">
|
952
|
+
<col>
|
953
|
+
</colgroup>
|
885
954
|
<tbody>
|
886
955
|
<tr>
|
887
956
|
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
@@ -890,7 +959,7 @@ application that was laying out large amounts of text.
|
|
890
959
|
<tr>
|
891
960
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
892
961
|
<td>the newly created <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>. Free with
|
893
|
-
<
|
962
|
+
<code class="function">g_object_unref()</code>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
894
963
|
</td>
|
895
964
|
</tr>
|
896
965
|
</tbody>
|
@@ -900,15 +969,18 @@ application that was laying out large amounts of text.
|
|
900
969
|
<hr>
|
901
970
|
<div class="refsect2">
|
902
971
|
<a name="pango-cairo-update-layout"></a><h3>pango_cairo_update_layout ()</h3>
|
903
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_update_layout (<em class="parameter"><code><a href="/
|
972
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_update_layout (<em class="parameter"><code><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
904
973
|
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
905
974
|
<p>
|
906
975
|
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
|
907
976
|
<a class="link" href="pango-Cairo-Rendering.html#pango-cairo-create-layout" title="pango_cairo_create_layout ()"><code class="function">pango_cairo_create_layout()</code></a> to match the current transformation
|
908
977
|
and target surface of a Cairo context.
|
909
978
|
</p>
|
910
|
-
<div class="variablelist"><table border="0">
|
979
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
980
|
+
<colgroup>
|
911
981
|
<col align="left" valign="top">
|
982
|
+
<col>
|
983
|
+
</colgroup>
|
912
984
|
<tbody>
|
913
985
|
<tr>
|
914
986
|
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
@@ -926,7 +998,7 @@ and target surface of a Cairo context.
|
|
926
998
|
<hr>
|
927
999
|
<div class="refsect2">
|
928
1000
|
<a name="pango-cairo-show-glyph-string"></a><h3>pango_cairo_show_glyph_string ()</h3>
|
929
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_glyph_string (<em class="parameter"><code><a href="/
|
1001
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_glyph_string (<em class="parameter"><code><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
930
1002
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
931
1003
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
932
1004
|
<p>
|
@@ -934,8 +1006,11 @@ Draws the glyphs in <em class="parameter"><code>glyphs</code></em> in the specif
|
|
934
1006
|
The origin of the glyphs (the left edge of the baseline) will
|
935
1007
|
be drawn at the current point of the cairo context.
|
936
1008
|
</p>
|
937
|
-
<div class="variablelist"><table border="0">
|
1009
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1010
|
+
<colgroup>
|
938
1011
|
<col align="left" valign="top">
|
1012
|
+
<col>
|
1013
|
+
</colgroup>
|
939
1014
|
<tbody>
|
940
1015
|
<tr>
|
941
1016
|
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
@@ -958,7 +1033,7 @@ be drawn at the current point of the cairo context.
|
|
958
1033
|
<hr>
|
959
1034
|
<div class="refsect2">
|
960
1035
|
<a name="pango-cairo-show-glyph-item"></a><h3>pango_cairo_show_glyph_item ()</h3>
|
961
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_glyph_item (<em class="parameter"><code><a href="/
|
1036
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_glyph_item (<em class="parameter"><code><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
962
1037
|
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
963
1038
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>);</pre>
|
964
1039
|
<p>
|
@@ -975,8 +1050,11 @@ be drawn at the current point of the cairo context.
|
|
975
1050
|
Note that <em class="parameter"><code>text</code></em> is the start of the text for layout, which is then
|
976
1051
|
indexed by <code class="literal"><em class="parameter"><code>glyph_item->item->offset</code></em></code>.
|
977
1052
|
</p>
|
978
|
-
<div class="variablelist"><table border="0">
|
1053
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1054
|
+
<colgroup>
|
979
1055
|
<col align="left" valign="top">
|
1056
|
+
<col>
|
1057
|
+
</colgroup>
|
980
1058
|
<tbody>
|
981
1059
|
<tr>
|
982
1060
|
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
@@ -998,15 +1076,18 @@ indexed by <code class="literal"><em class="parameter"><code>glyph_item->item
|
|
998
1076
|
<hr>
|
999
1077
|
<div class="refsect2">
|
1000
1078
|
<a name="pango-cairo-show-layout-line"></a><h3>pango_cairo_show_layout_line ()</h3>
|
1001
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_layout_line (<em class="parameter"><code><a href="/
|
1079
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_layout_line (<em class="parameter"><code><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
1002
1080
|
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);</pre>
|
1003
1081
|
<p>
|
1004
1082
|
Draws a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> in the specified cairo context.
|
1005
1083
|
The origin of the glyphs (the left edge of the line) will
|
1006
1084
|
be drawn at the current point of the cairo context.
|
1007
1085
|
</p>
|
1008
|
-
<div class="variablelist"><table border="0">
|
1086
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1087
|
+
<colgroup>
|
1009
1088
|
<col align="left" valign="top">
|
1089
|
+
<col>
|
1090
|
+
</colgroup>
|
1010
1091
|
<tbody>
|
1011
1092
|
<tr>
|
1012
1093
|
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
@@ -1024,15 +1105,18 @@ be drawn at the current point of the cairo context.
|
|
1024
1105
|
<hr>
|
1025
1106
|
<div class="refsect2">
|
1026
1107
|
<a name="pango-cairo-show-layout"></a><h3>pango_cairo_show_layout ()</h3>
|
1027
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_layout (<em class="parameter"><code><a href="/
|
1108
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_layout (<em class="parameter"><code><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
1028
1109
|
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1029
1110
|
<p>
|
1030
1111
|
Draws a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> in the specified cairo context.
|
1031
1112
|
The top-left corner of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> will be drawn
|
1032
1113
|
at the current point of the cairo context.
|
1033
1114
|
</p>
|
1034
|
-
<div class="variablelist"><table border="0">
|
1115
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1116
|
+
<colgroup>
|
1035
1117
|
<col align="left" valign="top">
|
1118
|
+
<col>
|
1119
|
+
</colgroup>
|
1036
1120
|
<tbody>
|
1037
1121
|
<tr>
|
1038
1122
|
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
@@ -1049,7 +1133,7 @@ at the current point of the cairo context.
|
|
1049
1133
|
<hr>
|
1050
1134
|
<div class="refsect2">
|
1051
1135
|
<a name="pango-cairo-show-error-underline"></a><h3>pango_cairo_show_error_underline ()</h3>
|
1052
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_error_underline (<em class="parameter"><code><a href="/
|
1136
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_show_error_underline (<em class="parameter"><code><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
1053
1137
|
<em class="parameter"><code><span class="type">double</span> x</code></em>,
|
1054
1138
|
<em class="parameter"><code><span class="type">double</span> y</code></em>,
|
1055
1139
|
<em class="parameter"><code><span class="type">double</span> width</code></em>,
|
@@ -1061,8 +1145,11 @@ spelling error. (The width of the underline is rounded to an integer
|
|
1061
1145
|
number of up/down segments and the resulting rectangle is centered in the
|
1062
1146
|
original rectangle)
|
1063
1147
|
</p>
|
1064
|
-
<div class="variablelist"><table border="0">
|
1148
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1149
|
+
<colgroup>
|
1065
1150
|
<col align="left" valign="top">
|
1151
|
+
<col>
|
1152
|
+
</colgroup>
|
1066
1153
|
<tbody>
|
1067
1154
|
<tr>
|
1068
1155
|
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
@@ -1091,7 +1178,7 @@ original rectangle)
|
|
1091
1178
|
<hr>
|
1092
1179
|
<div class="refsect2">
|
1093
1180
|
<a name="pango-cairo-glyph-string-path"></a><h3>pango_cairo_glyph_string_path ()</h3>
|
1094
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_glyph_string_path (<em class="parameter"><code><a href="/
|
1181
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_glyph_string_path (<em class="parameter"><code><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
1095
1182
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
1096
1183
|
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>);</pre>
|
1097
1184
|
<p>
|
@@ -1099,8 +1186,11 @@ Adds the glyphs in <em class="parameter"><code>glyphs</code></em> to the current
|
|
1099
1186
|
cairo context. The origin of the glyphs (the left edge of the baseline)
|
1100
1187
|
will be at the current point of the cairo context.
|
1101
1188
|
</p>
|
1102
|
-
<div class="variablelist"><table border="0">
|
1189
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1190
|
+
<colgroup>
|
1103
1191
|
<col align="left" valign="top">
|
1192
|
+
<col>
|
1193
|
+
</colgroup>
|
1104
1194
|
<tbody>
|
1105
1195
|
<tr>
|
1106
1196
|
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
@@ -1123,15 +1213,18 @@ will be at the current point of the cairo context.
|
|
1123
1213
|
<hr>
|
1124
1214
|
<div class="refsect2">
|
1125
1215
|
<a name="pango-cairo-layout-line-path"></a><h3>pango_cairo_layout_line_path ()</h3>
|
1126
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_layout_line_path (<em class="parameter"><code><a href="/
|
1216
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_layout_line_path (<em class="parameter"><code><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
1127
1217
|
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>);</pre>
|
1128
1218
|
<p>
|
1129
1219
|
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
|
1130
1220
|
specified cairo context. The origin of the glyphs (the left edge
|
1131
1221
|
of the line) will be at the current point of the cairo context.
|
1132
1222
|
</p>
|
1133
|
-
<div class="variablelist"><table border="0">
|
1223
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1224
|
+
<colgroup>
|
1134
1225
|
<col align="left" valign="top">
|
1226
|
+
<col>
|
1227
|
+
</colgroup>
|
1135
1228
|
<tbody>
|
1136
1229
|
<tr>
|
1137
1230
|
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
@@ -1149,15 +1242,18 @@ of the line) will be at the current point of the cairo context.
|
|
1149
1242
|
<hr>
|
1150
1243
|
<div class="refsect2">
|
1151
1244
|
<a name="pango-cairo-layout-path"></a><h3>pango_cairo_layout_path ()</h3>
|
1152
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_layout_path (<em class="parameter"><code><a href="/
|
1245
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_layout_path (<em class="parameter"><code><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
1153
1246
|
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>);</pre>
|
1154
1247
|
<p>
|
1155
1248
|
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
|
1156
1249
|
specified cairo context. The top-left corner of the <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
1157
1250
|
will be at the current point of the cairo context.
|
1158
1251
|
</p>
|
1159
|
-
<div class="variablelist"><table border="0">
|
1252
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1253
|
+
<colgroup>
|
1160
1254
|
<col align="left" valign="top">
|
1255
|
+
<col>
|
1256
|
+
</colgroup>
|
1161
1257
|
<tbody>
|
1162
1258
|
<tr>
|
1163
1259
|
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
@@ -1174,7 +1270,7 @@ will be at the current point of the cairo context.
|
|
1174
1270
|
<hr>
|
1175
1271
|
<div class="refsect2">
|
1176
1272
|
<a name="pango-cairo-error-underline-path"></a><h3>pango_cairo_error_underline_path ()</h3>
|
1177
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_error_underline_path (<em class="parameter"><code><a href="/
|
1273
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_cairo_error_underline_path (<em class="parameter"><code><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
1178
1274
|
<em class="parameter"><code><span class="type">double</span> x</code></em>,
|
1179
1275
|
<em class="parameter"><code><span class="type">double</span> y</code></em>,
|
1180
1276
|
<em class="parameter"><code><span class="type">double</span> width</code></em>,
|
@@ -1186,8 +1282,11 @@ to indicate a spelling error. (The width of the underline is rounded to an
|
|
1186
1282
|
integer number of up/down segments and the resulting rectangle is centered
|
1187
1283
|
in the original rectangle)
|
1188
1284
|
</p>
|
1189
|
-
<div class="variablelist"><table border="0">
|
1285
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1286
|
+
<colgroup>
|
1190
1287
|
<col align="left" valign="top">
|
1288
|
+
<col>
|
1289
|
+
</colgroup>
|
1191
1290
|
<tbody>
|
1192
1291
|
<tr>
|
1193
1292
|
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
@@ -1217,6 +1316,6 @@ in the original rectangle)
|
|
1217
1316
|
</div>
|
1218
1317
|
<div class="footer">
|
1219
1318
|
<hr>
|
1220
|
-
Generated by GTK-Doc V1.18</div>
|
1319
|
+
Generated by GTK-Doc V1.18.1</div>
|
1221
1320
|
</body>
|
1222
1321
|
</html>
|