gtk2 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +4 -0
- data/Rakefile +3 -4
- data/ext/gtk2/extconf.rb +8 -0
- data/lib/1.8/gtk2.so +0 -0
- data/lib/1.9/gtk2.so +0 -0
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +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/libpangoft2-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/bin/pkg-config.exe +0 -0
- data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
- data/vendor/local/etc/pango/pango.modules +1 -1
- data/vendor/local/gtk+-bundle_2.22.0-20101016_win32.README.txt +29 -0
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/include/pixman-1/pixman-version.h +50 -0
- data/vendor/local/include/pixman-1/pixman.h +936 -0
- data/vendor/local/lib/gailutil.lib +0 -0
- data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpixman-1.a +0 -0
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/gail.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/pango.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +2 -2
- data/vendor/local/lib/pkgconfig/pixman-1.pc +11 -0
- data/vendor/local/manifest/gtk+-bundle_2.22.0-20101016_win32.mft +2910 -0
- data/vendor/local/manifest/{pango-dev_1.28.1-2_win32.mft → pango-dev_1.28.3-1_win32.mft} +5 -5
- data/vendor/local/manifest/{pango_1.28.1-2_win32.mft → pango_1.28.3-1_win32.mft} +2 -2
- data/vendor/local/share/aclocal/pkg.m4 +155 -0
- data/vendor/local/share/doc/gtk+-bundle_2.22.0-20101016_win32/components.lst +28 -0
- data/vendor/local/share/doc/{pango-1.28.1 → pango-1.28.3}/COPYING +0 -0
- data/vendor/local/share/doc/{pango-dev-1.28.1 → pango-dev-1.28.3}/COPYING +0 -0
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +44 -50
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +45 -51
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +44 -61
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +89 -101
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +173 -171
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +22 -43
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +70 -91
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/index.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +31 -30
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +6 -27
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +20 -39
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +73 -88
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +405 -320
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +85 -97
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +69 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +695 -645
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +225 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +523 -494
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +819 -742
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +203 -204
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +58 -75
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +422 -405
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +144 -142
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +120 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +618 -576
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +397 -384
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +44 -58
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +73 -84
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +220 -217
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +303 -302
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +293 -292
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +5 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +1009 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +7 -28
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +68 -68
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +72 -72
- data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -24
- data/vendor/local/share/gtk-doc/html/pango/style.css +21 -13
- data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -24
- data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.log → gtk+_2.22.0-2_win32.log} +1835 -1832
- data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.sh → gtk+_2.22.0-2_win32.sh} +26 -1
- data/vendor/local/src/tml/packaging/{pango_1.28.1-2_win32.log → pango_1.28.3-1_win32.log} +293 -413
- data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.sh +56 -0
- data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.log +291 -0
- data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.sh +141 -0
- data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.log +215 -0
- data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.sh +278 -0
- metadata +3323 -3325
- data/ext/gtk2/Makefile +0 -163
- data/ext/gtk2/rbgdkkeysyms.h +0 -1708
- data/ext/gtk2/rbgtkinits.c +0 -469
- data/vendor/local/manifest/cairo-dev_1.10.0-1_win32.mft +0 -83
- data/vendor/local/manifest/cairo_1.10.0-1_win32.mft +0 -5
- data/vendor/local/manifest/expat-dev_2.0.1-1_win32.mft +0 -10
- data/vendor/local/manifest/expat_2.0.1-1_win32.mft +0 -2
- data/vendor/local/manifest/fontconfig-dev_2.8.0-2_win32.mft +0 -387
- data/vendor/local/manifest/fontconfig_2.8.0-2_win32.mft +0 -3
- data/vendor/local/manifest/freetype-dev_2.4.2-1_win32.mft +0 -56
- data/vendor/local/manifest/freetype_2.4.2-1_win32.mft +0 -2
- data/vendor/local/manifest/gtk+-dev_2.22.0-1_win32.mft +0 -947
- data/vendor/local/manifest/gtk+_2.22.0-1_win32.mft +0 -225
- data/vendor/local/manifest/libpng-dev_1.4.3-1_win32.mft +0 -15
- data/vendor/local/manifest/libpng_1.4.3-1_win32.mft +0 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +0 -1002
- data/vendor/local/src/tml/packaging/pango_1.28.1-2_win32.sh +0 -579
@@ -8,29 +8,8 @@
|
|
8
8
|
<link rel="up" href="lowlevel.html" title="Low Level Functionality">
|
9
9
|
<link rel="prev" href="pango-Miscellaneous-Utilities.html" title="Miscellaneous Utilities">
|
10
10
|
<link rel="next" href="tools.html" title="Pango Tools">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
<link rel="chapter" href="pango.html" title="Basic Pango Interfaces">
|
14
|
-
<link rel="chapter" href="rendering.html" title="Rendering with Pango">
|
15
|
-
<link rel="chapter" href="lowlevel.html" title="Low Level Functionality">
|
16
|
-
<link rel="chapter" href="tools.html" title="Pango Tools">
|
17
|
-
<link rel="chapter" href="pango-hierarchy.html" title="Object Hierarchy">
|
18
|
-
<link rel="index" href="index-all.html" title="Index">
|
19
|
-
<link rel="index" href="index-deprecated.html" title="Index of deprecated symbols">
|
20
|
-
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
21
|
-
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
22
|
-
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
23
|
-
<link rel="index" href="index-1.8.html" title="Index of new symbols in 1.8">
|
24
|
-
<link rel="index" href="index-1.10.html" title="Index of new symbols in 1.10">
|
25
|
-
<link rel="index" href="index-1.12.html" title="Index of new symbols in 1.12">
|
26
|
-
<link rel="index" href="index-1.14.html" title="Index of new symbols in 1.14">
|
27
|
-
<link rel="index" href="index-1.16.html" title="Index of new symbols in 1.16">
|
28
|
-
<link rel="index" href="index-1.18.html" title="Index of new symbols in 1.18">
|
29
|
-
<link rel="index" href="index-1.20.html" title="Index of new symbols in 1.20">
|
30
|
-
<link rel="index" href="index-1.22.html" title="Index of new symbols in 1.22">
|
31
|
-
<link rel="index" href="index-1.24.html" title="Index of new symbols in 1.24">
|
32
|
-
<link rel="index" href="index-1.26.html" title="Index of new symbols in 1.26">
|
33
|
-
<link rel="index" href="index-1.28.html" title="Index of new symbols in 1.26">
|
34
13
|
</head>
|
35
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
36
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
@@ -47,7 +26,7 @@
|
|
47
26
|
<a href="#pango-Version-Checking.description" class="shortcut">Description</a>
|
48
27
|
</td></tr>
|
49
28
|
</table>
|
50
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
51
30
|
<a name="pango-Version-Checking"></a><div class="titlepage"></div>
|
52
31
|
<div class="refnamediv"><table width="100%"><tr>
|
53
32
|
<td valign="top">
|
@@ -56,23 +35,27 @@
|
|
56
35
|
</td>
|
57
36
|
<td valign="top" align="right"></td>
|
58
37
|
</tr></table></div>
|
59
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
60
39
|
<a name="pango-Version-Checking.synopsis"></a><h2>Synopsis</h2>
|
61
|
-
<pre class="synopsis">#define <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-ENCODE:CAPS" title="PANGO_VERSION_ENCODE()">PANGO_VERSION_ENCODE</a> (major,
|
40
|
+
<pre class="synopsis">#define <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-ENCODE:CAPS" title="PANGO_VERSION_ENCODE()">PANGO_VERSION_ENCODE</a> (major,
|
41
|
+
minor,
|
42
|
+
micro)
|
62
43
|
#define <a class="link" href="pango-Version-Checking.html#PANGO-VERSION:CAPS" title="PANGO_VERSION">PANGO_VERSION</a>
|
63
44
|
#define <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-MAJOR:CAPS" title="PANGO_VERSION_MAJOR">PANGO_VERSION_MAJOR</a>
|
64
45
|
#define <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-MINOR:CAPS" title="PANGO_VERSION_MINOR">PANGO_VERSION_MINOR</a>
|
65
46
|
#define <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-MICRO:CAPS" title="PANGO_VERSION_MICRO">PANGO_VERSION_MICRO</a>
|
66
47
|
#define <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-STRING:CAPS" title="PANGO_VERSION_STRING">PANGO_VERSION_STRING</a>
|
67
|
-
#define <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-CHECK:CAPS" title="PANGO_VERSION_CHECK()">PANGO_VERSION_CHECK</a> (major,
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
48
|
+
#define <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-CHECK:CAPS" title="PANGO_VERSION_CHECK()">PANGO_VERSION_CHECK</a> (major,
|
49
|
+
minor,
|
50
|
+
micro)
|
51
|
+
<span class="returnvalue">int</span> <a class="link" href="pango-Version-Checking.html#pango-version" title="pango_version ()">pango_version</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
52
|
+
const <span class="returnvalue">char</span> * <a class="link" href="pango-Version-Checking.html#pango-version-string" title="pango_version_string ()">pango_version_string</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
53
|
+
const <span class="returnvalue">char</span> * <a class="link" href="pango-Version-Checking.html#pango-version-check" title="pango_version_check ()">pango_version_check</a> (<em class="parameter"><code><span class="type">int</span> required_major</code></em>,
|
54
|
+
<em class="parameter"><code><span class="type">int</span> required_minor</code></em>,
|
55
|
+
<em class="parameter"><code><span class="type">int</span> required_micro</code></em>);
|
73
56
|
</pre>
|
74
57
|
</div>
|
75
|
-
<div class="refsect1"
|
58
|
+
<div class="refsect1">
|
76
59
|
<a name="pango-Version-Checking.description"></a><h2>Description</h2>
|
77
60
|
<p>
|
78
61
|
The capital-letter macros defined here can be used to check the version of
|
@@ -82,9 +65,9 @@ The functions can be used to check the version of the linked Pango library
|
|
82
65
|
at run-time.
|
83
66
|
</p>
|
84
67
|
</div>
|
85
|
-
<div class="refsect1"
|
68
|
+
<div class="refsect1">
|
86
69
|
<a name="pango-Version-Checking.details"></a><h2>Details</h2>
|
87
|
-
<div class="refsect2"
|
70
|
+
<div class="refsect2">
|
88
71
|
<a name="PANGO-VERSION-ENCODE:CAPS"></a><h3>PANGO_VERSION_ENCODE()</h3>
|
89
72
|
<pre class="programlisting">#define PANGO_VERSION_ENCODE(major, minor, micro)</pre>
|
90
73
|
<p>
|
@@ -114,7 +97,7 @@ Two encoded version numbers can be compared as integers.
|
|
114
97
|
</table></div>
|
115
98
|
</div>
|
116
99
|
<hr>
|
117
|
-
<div class="refsect2"
|
100
|
+
<div class="refsect2">
|
118
101
|
<a name="PANGO-VERSION:CAPS"></a><h3>PANGO_VERSION</h3>
|
119
102
|
<pre class="programlisting">#define PANGO_VERSION</pre>
|
120
103
|
<p>
|
@@ -123,7 +106,7 @@ The version of Pango available at compile-time, encoded using
|
|
123
106
|
</p>
|
124
107
|
</div>
|
125
108
|
<hr>
|
126
|
-
<div class="refsect2"
|
109
|
+
<div class="refsect2">
|
127
110
|
<a name="PANGO-VERSION-MAJOR:CAPS"></a><h3>PANGO_VERSION_MAJOR</h3>
|
128
111
|
<pre class="programlisting">#define PANGO_VERSION_MAJOR 1
|
129
112
|
</pre>
|
@@ -132,7 +115,7 @@ The major component of the version of Pango available at compile-time.
|
|
132
115
|
</p>
|
133
116
|
</div>
|
134
117
|
<hr>
|
135
|
-
<div class="refsect2"
|
118
|
+
<div class="refsect2">
|
136
119
|
<a name="PANGO-VERSION-MINOR:CAPS"></a><h3>PANGO_VERSION_MINOR</h3>
|
137
120
|
<pre class="programlisting">#define PANGO_VERSION_MINOR 28
|
138
121
|
</pre>
|
@@ -141,25 +124,25 @@ The minor component of the version of Pango available at compile-time.
|
|
141
124
|
</p>
|
142
125
|
</div>
|
143
126
|
<hr>
|
144
|
-
<div class="refsect2"
|
127
|
+
<div class="refsect2">
|
145
128
|
<a name="PANGO-VERSION-MICRO:CAPS"></a><h3>PANGO_VERSION_MICRO</h3>
|
146
|
-
<pre class="programlisting">#define PANGO_VERSION_MICRO
|
129
|
+
<pre class="programlisting">#define PANGO_VERSION_MICRO 3
|
147
130
|
</pre>
|
148
131
|
<p>
|
149
132
|
The micro component of the version of Pango available at compile-time.
|
150
133
|
</p>
|
151
134
|
</div>
|
152
135
|
<hr>
|
153
|
-
<div class="refsect2"
|
136
|
+
<div class="refsect2">
|
154
137
|
<a name="PANGO-VERSION-STRING:CAPS"></a><h3>PANGO_VERSION_STRING</h3>
|
155
|
-
<pre class="programlisting">#define PANGO_VERSION_STRING "1.28.
|
138
|
+
<pre class="programlisting">#define PANGO_VERSION_STRING "1.28.3"
|
156
139
|
</pre>
|
157
140
|
<p>
|
158
141
|
A string literal containing the version of Pango available at compile-time.
|
159
142
|
</p>
|
160
143
|
</div>
|
161
144
|
<hr>
|
162
|
-
<div class="refsect2"
|
145
|
+
<div class="refsect2">
|
163
146
|
<a name="PANGO-VERSION-CHECK:CAPS"></a><h3>PANGO_VERSION_CHECK()</h3>
|
164
147
|
<pre class="programlisting">#define PANGO_VERSION_CHECK(major,minor,micro)</pre>
|
165
148
|
<p>
|
@@ -188,9 +171,9 @@ the provided version number.
|
|
188
171
|
</table></div>
|
189
172
|
</div>
|
190
173
|
<hr>
|
191
|
-
<div class="refsect2"
|
174
|
+
<div class="refsect2">
|
192
175
|
<a name="pango-version"></a><h3>pango_version ()</h3>
|
193
|
-
<pre class="programlisting"><span class="returnvalue">int</span> pango_version (void);</pre>
|
176
|
+
<pre class="programlisting"><span class="returnvalue">int</span> pango_version (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
194
177
|
<p>
|
195
178
|
This is similar to the macro <a class="link" href="pango-Version-Checking.html#PANGO-VERSION:CAPS" title="PANGO_VERSION"><code class="literal">PANGO_VERSION</code></a> except that
|
196
179
|
it returns the encoded version of Pango available at run-time,
|
@@ -198,7 +181,8 @@ as opposed to the version available at compile-time.
|
|
198
181
|
</p>
|
199
182
|
<p>
|
200
183
|
A version number can be encoded into an integer using
|
201
|
-
<a class="link" href="pango-Version-Checking.html#PANGO-VERSION-ENCODE:CAPS" title="PANGO_VERSION_ENCODE()"><code class="function">PANGO_VERSION_ENCODE()</code></a
|
184
|
+
<a class="link" href="pango-Version-Checking.html#PANGO-VERSION-ENCODE:CAPS" title="PANGO_VERSION_ENCODE()"><code class="function">PANGO_VERSION_ENCODE()</code></a>.
|
185
|
+
</p>
|
202
186
|
<div class="variablelist"><table border="0">
|
203
187
|
<col align="left" valign="top">
|
204
188
|
<tbody><tr>
|
@@ -212,13 +196,14 @@ A version number can be encoded into an integer using
|
|
212
196
|
<p class="since">Since 1.16</p>
|
213
197
|
</div>
|
214
198
|
<hr>
|
215
|
-
<div class="refsect2"
|
199
|
+
<div class="refsect2">
|
216
200
|
<a name="pango-version-string"></a><h3>pango_version_string ()</h3>
|
217
|
-
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_version_string (void);</pre>
|
201
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_version_string (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
218
202
|
<p>
|
219
203
|
This is similar to the macro <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-STRING:CAPS" title="PANGO_VERSION_STRING"><code class="literal">PANGO_VERSION_STRING</code></a> except that
|
220
204
|
it returns the version of Pango available at run-time, as opposed to
|
221
|
-
the version available at compile-time
|
205
|
+
the version available at compile-time.
|
206
|
+
</p>
|
222
207
|
<div class="variablelist"><table border="0">
|
223
208
|
<col align="left" valign="top">
|
224
209
|
<tbody><tr>
|
@@ -234,11 +219,11 @@ the version available at compile-time.</p>
|
|
234
219
|
<p class="since">Since 1.16</p>
|
235
220
|
</div>
|
236
221
|
<hr>
|
237
|
-
<div class="refsect2"
|
222
|
+
<div class="refsect2">
|
238
223
|
<a name="pango-version-check"></a><h3>pango_version_check ()</h3>
|
239
|
-
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_version_check (<span class="
|
240
|
-
<span class="
|
241
|
-
<span class="
|
224
|
+
<pre class="programlisting">const <span class="returnvalue">char</span> * pango_version_check (<em class="parameter"><code><span class="type">int</span> required_major</code></em>,
|
225
|
+
<em class="parameter"><code><span class="type">int</span> required_minor</code></em>,
|
226
|
+
<em class="parameter"><code><span class="type">int</span> required_micro</code></em>);</pre>
|
242
227
|
<p>
|
243
228
|
Checks that the Pango library in use is compatible with the
|
244
229
|
given version. Generally you would pass in the constants
|
@@ -256,28 +241,29 @@ version <em class="parameter"><code>required_major.required_minor</code></em>.<e
|
|
256
241
|
(same major version.)
|
257
242
|
</p>
|
258
243
|
<p>
|
259
|
-
For compile-time version checking use <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-CHECK:CAPS" title="PANGO_VERSION_CHECK()"><code class="function">PANGO_VERSION_CHECK()</code></a
|
244
|
+
For compile-time version checking use <a class="link" href="pango-Version-Checking.html#PANGO-VERSION-CHECK:CAPS" title="PANGO_VERSION_CHECK()"><code class="function">PANGO_VERSION_CHECK()</code></a>.
|
245
|
+
</p>
|
260
246
|
<div class="variablelist"><table border="0">
|
261
247
|
<col align="left" valign="top">
|
262
248
|
<tbody>
|
263
249
|
<tr>
|
264
250
|
<td><p><span class="term"><em class="parameter"><code>required_major</code></em> :</span></p></td>
|
265
|
-
<td>
|
251
|
+
<td>the required major version.
|
266
252
|
</td>
|
267
253
|
</tr>
|
268
254
|
<tr>
|
269
255
|
<td><p><span class="term"><em class="parameter"><code>required_minor</code></em> :</span></p></td>
|
270
|
-
<td>
|
256
|
+
<td>the required minor version.
|
271
257
|
</td>
|
272
258
|
</tr>
|
273
259
|
<tr>
|
274
260
|
<td><p><span class="term"><em class="parameter"><code>required_micro</code></em> :</span></p></td>
|
275
|
-
<td>
|
261
|
+
<td>the required major version.
|
276
262
|
</td>
|
277
263
|
</tr>
|
278
264
|
<tr>
|
279
265
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
280
|
-
<td> <a href="/usr/share/gtk-doc/html/
|
266
|
+
<td> <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if the Pango library is compatible with the
|
281
267
|
given version, or a string describing the version mismatch.
|
282
268
|
The returned string is owned by Pango and should not be modified
|
283
269
|
or freed.
|
@@ -292,6 +278,6 @@ For compile-time version checking use <a class="link" href="pango-Version-Checki
|
|
292
278
|
</div>
|
293
279
|
<div class="footer">
|
294
280
|
<hr>
|
295
|
-
Generated by GTK-Doc V1.
|
281
|
+
Generated by GTK-Doc V1.15.1</div>
|
296
282
|
</body>
|
297
283
|
</html>
|
@@ -8,29 +8,8 @@
|
|
8
8
|
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="pango-Bidirectional-Text.html" title="Bidirectional Text">
|
10
10
|
<link rel="next" href="rendering.html" title="Rendering with Pango">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
<link rel="chapter" href="pango.html" title="Basic Pango Interfaces">
|
14
|
-
<link rel="chapter" href="rendering.html" title="Rendering with Pango">
|
15
|
-
<link rel="chapter" href="lowlevel.html" title="Low Level Functionality">
|
16
|
-
<link rel="chapter" href="tools.html" title="Pango Tools">
|
17
|
-
<link rel="chapter" href="pango-hierarchy.html" title="Object Hierarchy">
|
18
|
-
<link rel="index" href="index-all.html" title="Index">
|
19
|
-
<link rel="index" href="index-deprecated.html" title="Index of deprecated symbols">
|
20
|
-
<link rel="index" href="index-1.2.html" title="Index of new symbols in 1.2">
|
21
|
-
<link rel="index" href="index-1.4.html" title="Index of new symbols in 1.4">
|
22
|
-
<link rel="index" href="index-1.6.html" title="Index of new symbols in 1.6">
|
23
|
-
<link rel="index" href="index-1.8.html" title="Index of new symbols in 1.8">
|
24
|
-
<link rel="index" href="index-1.10.html" title="Index of new symbols in 1.10">
|
25
|
-
<link rel="index" href="index-1.12.html" title="Index of new symbols in 1.12">
|
26
|
-
<link rel="index" href="index-1.14.html" title="Index of new symbols in 1.14">
|
27
|
-
<link rel="index" href="index-1.16.html" title="Index of new symbols in 1.16">
|
28
|
-
<link rel="index" href="index-1.18.html" title="Index of new symbols in 1.18">
|
29
|
-
<link rel="index" href="index-1.20.html" title="Index of new symbols in 1.20">
|
30
|
-
<link rel="index" href="index-1.22.html" title="Index of new symbols in 1.22">
|
31
|
-
<link rel="index" href="index-1.24.html" title="Index of new symbols in 1.24">
|
32
|
-
<link rel="index" href="index-1.26.html" title="Index of new symbols in 1.26">
|
33
|
-
<link rel="index" href="index-1.28.html" title="Index of new symbols in 1.26">
|
34
13
|
</head>
|
35
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
36
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
@@ -47,7 +26,7 @@
|
|
47
26
|
<a href="#pango-Vertical-Text.description" class="shortcut">Description</a>
|
48
27
|
</td></tr>
|
49
28
|
</table>
|
50
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
51
30
|
<a name="pango-Vertical-Text"></a><div class="titlepage"></div>
|
52
31
|
<div class="refnamediv"><table width="100%"><tr>
|
53
32
|
<td valign="top">
|
@@ -56,24 +35,24 @@
|
|
56
35
|
</td>
|
57
36
|
<td valign="top" align="right"></td>
|
58
37
|
</tr></table></div>
|
59
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
60
39
|
<a name="pango-Vertical-Text.synopsis"></a><h2>Synopsis</h2>
|
61
40
|
<pre class="synopsis">enum <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity">PangoGravity</a>;
|
62
41
|
enum <a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint">PangoGravityHint</a>;
|
63
42
|
#define <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-IS-VERTICAL:CAPS" title="PANGO_GRAVITY_IS_VERTICAL()">PANGO_GRAVITY_IS_VERTICAL</a> (gravity)
|
64
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a> <a class="link" href="pango-Vertical-Text.html#pango-gravity-get-for-matrix" title="pango_gravity_get_for_matrix ()">pango_gravity_get_for_matrix</a> (const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
65
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a> <a class="link" href="pango-Vertical-Text.html#pango-gravity-get-for-script" title="pango_gravity_get_for_script ()">pango_gravity_get_for_script</a> (<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
66
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="
|
67
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="
|
43
|
+
<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a> <a class="link" href="pango-Vertical-Text.html#pango-gravity-get-for-matrix" title="pango_gravity_get_for_matrix ()">pango_gravity_get_for_matrix</a> (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);
|
44
|
+
<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a> <a class="link" href="pango-Vertical-Text.html#pango-gravity-get-for-script" title="pango_gravity_get_for_script ()">pango_gravity_get_for_script</a> (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>,
|
45
|
+
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> base_gravity</code></em>,
|
46
|
+
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);
|
68
47
|
<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a> <a class="link" href="pango-Vertical-Text.html#pango-gravity-get-for-script-and-width" title="pango_gravity_get_for_script_and_width ()">pango_gravity_get_for_script_and_width</a>
|
69
|
-
(<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
70
|
-
<
|
71
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="
|
72
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="
|
73
|
-
<span class="returnvalue">double</span> <a class="link" href="pango-Vertical-Text.html#pango-gravity-to-rotation" title="pango_gravity_to_rotation ()">pango_gravity_to_rotation</a> (<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="
|
48
|
+
(<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>,
|
49
|
+
<em class="parameter"><code><span class="type">gboolean</span> wide</code></em>,
|
50
|
+
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> base_gravity</code></em>,
|
51
|
+
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);
|
52
|
+
<span class="returnvalue">double</span> <a class="link" href="pango-Vertical-Text.html#pango-gravity-to-rotation" title="pango_gravity_to_rotation ()">pango_gravity_to_rotation</a> (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);
|
74
53
|
</pre>
|
75
54
|
</div>
|
76
|
-
<div class="refsect1"
|
55
|
+
<div class="refsect1">
|
77
56
|
<a name="pango-Vertical-Text.description"></a><h2>Description</h2>
|
78
57
|
<p>
|
79
58
|
Since 1.16, Pango is able to correctly lay vertical text out. In fact, it can
|
@@ -122,14 +101,14 @@ Font descriptions have a gravity property too, that can be set using
|
|
122
101
|
from application code and are mainly used by <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> internally.
|
123
102
|
</p>
|
124
103
|
<p>
|
125
|
-
Last but not least, one can create <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="PangoAttribute"><span class="type">PangoAttribute</span></a>s for gravity
|
104
|
+
Last but not least, one can create <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>s for gravity
|
126
105
|
and gravity hint using <a class="link" href="pango-Text-Attributes.html#pango-attr-gravity-new" title="pango_attr_gravity_new ()"><code class="function">pango_attr_gravity_new()</code></a> and
|
127
106
|
<a class="link" href="pango-Text-Attributes.html#pango-attr-gravity-hint-new" title="pango_attr_gravity_hint_new ()"><code class="function">pango_attr_gravity_hint_new()</code></a>.
|
128
107
|
</p>
|
129
108
|
</div>
|
130
|
-
<div class="refsect1"
|
109
|
+
<div class="refsect1">
|
131
110
|
<a name="pango-Vertical-Text.details"></a><h2>Details</h2>
|
132
|
-
<div class="refsect2"
|
111
|
+
<div class="refsect2">
|
133
112
|
<a name="PangoGravity"></a><h3>enum PangoGravity</h3>
|
134
113
|
<pre class="programlisting">typedef enum {
|
135
114
|
PANGO_GRAVITY_SOUTH,
|
@@ -150,33 +129,34 @@ Not every value in this enumeration makes sense for every usage of
|
|
150
129
|
<a class="link" href="pango-Text-Processing.html#pango-context-get-base-gravity" title="pango_context_get_base_gravity ()"><code class="function">pango_context_get_base_gravity()</code></a>.
|
151
130
|
</p>
|
152
131
|
<p>
|
153
|
-
See also: <a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="type">PangoGravityHint</span></a
|
132
|
+
See also: <a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="type">PangoGravityHint</span></a>
|
133
|
+
</p>
|
154
134
|
<div class="variablelist"><table border="0">
|
155
135
|
<col align="left" valign="top">
|
156
136
|
<tbody>
|
157
137
|
<tr>
|
158
138
|
<td><p><a name="PANGO-GRAVITY-SOUTH:CAPS"></a><span class="term"><code class="literal">PANGO_GRAVITY_SOUTH</code></span></p></td>
|
159
|
-
<td>
|
139
|
+
<td>Glyphs stand upright (default)
|
160
140
|
</td>
|
161
141
|
</tr>
|
162
142
|
<tr>
|
163
143
|
<td><p><a name="PANGO-GRAVITY-EAST:CAPS"></a><span class="term"><code class="literal">PANGO_GRAVITY_EAST</code></span></p></td>
|
164
|
-
<td>
|
144
|
+
<td>Glyphs are rotated 90 degrees clockwise
|
165
145
|
</td>
|
166
146
|
</tr>
|
167
147
|
<tr>
|
168
148
|
<td><p><a name="PANGO-GRAVITY-NORTH:CAPS"></a><span class="term"><code class="literal">PANGO_GRAVITY_NORTH</code></span></p></td>
|
169
|
-
<td>
|
149
|
+
<td>Glyphs are upside-down
|
170
150
|
</td>
|
171
151
|
</tr>
|
172
152
|
<tr>
|
173
153
|
<td><p><a name="PANGO-GRAVITY-WEST:CAPS"></a><span class="term"><code class="literal">PANGO_GRAVITY_WEST</code></span></p></td>
|
174
|
-
<td>
|
154
|
+
<td>Glyphs are rotated 90 degrees counter-clockwise
|
175
155
|
</td>
|
176
156
|
</tr>
|
177
157
|
<tr>
|
178
158
|
<td><p><a name="PANGO-GRAVITY-AUTO:CAPS"></a><span class="term"><code class="literal">PANGO_GRAVITY_AUTO</code></span></p></td>
|
179
|
-
<td>
|
159
|
+
<td>Gravity is resolved from the context matrix
|
180
160
|
</td>
|
181
161
|
</tr>
|
182
162
|
</tbody>
|
@@ -184,7 +164,7 @@ See also: <a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title
|
|
184
164
|
<p class="since">Since 1.16</p>
|
185
165
|
</div>
|
186
166
|
<hr>
|
187
|
-
<div class="refsect2"
|
167
|
+
<div class="refsect2">
|
188
168
|
<a name="PangoGravityHint"></a><h3>enum PangoGravityHint</h3>
|
189
169
|
<pre class="programlisting">typedef enum {
|
190
170
|
PANGO_GRAVITY_HINT_NATURAL,
|
@@ -198,25 +178,26 @@ vertical context. That is, English excerpt in a vertical paragraph for
|
|
198
178
|
example.
|
199
179
|
</p>
|
200
180
|
<p>
|
201
|
-
See <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a
|
181
|
+
See <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a>.
|
182
|
+
</p>
|
202
183
|
<div class="variablelist"><table border="0">
|
203
184
|
<col align="left" valign="top">
|
204
185
|
<tbody>
|
205
186
|
<tr>
|
206
187
|
<td><p><a name="PANGO-GRAVITY-HINT-NATURAL:CAPS"></a><span class="term"><code class="literal">PANGO_GRAVITY_HINT_NATURAL</code></span></p></td>
|
207
|
-
<td>
|
188
|
+
<td>scripts will take their natural gravity based
|
208
189
|
on the base gravity and the script. This is the default.
|
209
190
|
</td>
|
210
191
|
</tr>
|
211
192
|
<tr>
|
212
193
|
<td><p><a name="PANGO-GRAVITY-HINT-STRONG:CAPS"></a><span class="term"><code class="literal">PANGO_GRAVITY_HINT_STRONG</code></span></p></td>
|
213
|
-
<td>
|
194
|
+
<td>always use the base gravity set, regardless of
|
214
195
|
the script.
|
215
196
|
</td>
|
216
197
|
</tr>
|
217
198
|
<tr>
|
218
199
|
<td><p><a name="PANGO-GRAVITY-HINT-LINE:CAPS"></a><span class="term"><code class="literal">PANGO_GRAVITY_HINT_LINE</code></span></p></td>
|
219
|
-
<td>
|
200
|
+
<td>for scripts not in their natural direction (eg.
|
220
201
|
Latin in East gravity), choose per-script gravity such that every script
|
221
202
|
respects the line progression. This means, Latin and Arabic will take
|
222
203
|
opposite gravities and both flow top-to-bottom for example.
|
@@ -227,23 +208,24 @@ opposite gravities and both flow top-to-bottom for example.
|
|
227
208
|
<p class="since">Since 1.16</p>
|
228
209
|
</div>
|
229
210
|
<hr>
|
230
|
-
<div class="refsect2"
|
211
|
+
<div class="refsect2">
|
231
212
|
<a name="PANGO-GRAVITY-IS-VERTICAL:CAPS"></a><h3>PANGO_GRAVITY_IS_VERTICAL()</h3>
|
232
213
|
<pre class="programlisting">#define PANGO_GRAVITY_IS_VERTICAL(gravity)</pre>
|
233
214
|
<p>
|
234
|
-
Whether a <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> represents vertical writing directions
|
215
|
+
Whether a <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> represents vertical writing directions.
|
216
|
+
</p>
|
235
217
|
<div class="variablelist"><table border="0">
|
236
218
|
<col align="left" valign="top">
|
237
219
|
<tbody>
|
238
220
|
<tr>
|
239
221
|
<td><p><span class="term"><em class="parameter"><code>gravity</code></em> :</span></p></td>
|
240
|
-
<td>
|
222
|
+
<td>the <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> to check
|
241
223
|
</td>
|
242
224
|
</tr>
|
243
225
|
<tr>
|
244
226
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
245
|
-
<td> <
|
246
|
-
<
|
227
|
+
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>gravity</code></em> is <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-EAST:CAPS"><code class="literal">PANGO_GRAVITY_EAST</code></a> or <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-WEST:CAPS"><code class="literal">PANGO_GRAVITY_WEST</code></a>,
|
228
|
+
<code class="literal">FALSE</code> otherwise.
|
247
229
|
|
248
230
|
</td>
|
249
231
|
</tr>
|
@@ -252,24 +234,25 @@ Whether a <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="en
|
|
252
234
|
<p class="since">Since 1.16</p>
|
253
235
|
</div>
|
254
236
|
<hr>
|
255
|
-
<div class="refsect2"
|
237
|
+
<div class="refsect2">
|
256
238
|
<a name="pango-gravity-get-for-matrix"></a><h3>pango_gravity_get_for_matrix ()</h3>
|
257
|
-
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a> pango_gravity_get_for_matrix (const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
239
|
+
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a> pango_gravity_get_for_matrix (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
|
258
240
|
<p>
|
259
241
|
Finds the gravity that best matches the rotation component
|
260
|
-
in a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a
|
242
|
+
in a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>.
|
243
|
+
</p>
|
261
244
|
<div class="variablelist"><table border="0">
|
262
245
|
<col align="left" valign="top">
|
263
246
|
<tbody>
|
264
247
|
<tr>
|
265
248
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
266
|
-
<td>
|
249
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>
|
267
250
|
</td>
|
268
251
|
</tr>
|
269
252
|
<tr>
|
270
253
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
271
254
|
<td> the gravity of <em class="parameter"><code>matrix</code></em>, which will never be
|
272
|
-
<a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a>, or <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-SOUTH:CAPS"><code class="literal">PANGO_GRAVITY_SOUTH</code></a> if <em class="parameter"><code>matrix</code></em> is <a href="/usr/share/gtk-doc/html/
|
255
|
+
<a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a>, or <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-SOUTH:CAPS"><code class="literal">PANGO_GRAVITY_SOUTH</code></a> if <em class="parameter"><code>matrix</code></em> is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
273
256
|
|
274
257
|
</td>
|
275
258
|
</tr>
|
@@ -278,35 +261,37 @@ in a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMat
|
|
278
261
|
<p class="since">Since 1.16</p>
|
279
262
|
</div>
|
280
263
|
<hr>
|
281
|
-
<div class="refsect2"
|
264
|
+
<div class="refsect2">
|
282
265
|
<a name="pango-gravity-get-for-script"></a><h3>pango_gravity_get_for_script ()</h3>
|
283
|
-
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a> pango_gravity_get_for_script (<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
284
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="
|
285
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="
|
266
|
+
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a> pango_gravity_get_for_script (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>,
|
267
|
+
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> base_gravity</code></em>,
|
268
|
+
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);</pre>
|
286
269
|
<p>
|
287
270
|
Based on the script, base gravity, and hint, returns actual gravity
|
288
|
-
to use in laying out a single <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a>.
|
271
|
+
to use in laying out a single <a class="link" href="pango-Text-Processing.html#PangoItem" title="struct PangoItem"><span class="type">PangoItem</span></a>.
|
289
272
|
</p>
|
290
273
|
<p>
|
291
274
|
If <em class="parameter"><code>base_gravity</code></em> is <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a>, it is first replaced with the
|
292
275
|
preferred gravity of <em class="parameter"><code>script</code></em>. To get the preferred gravity of a script,
|
293
|
-
pass <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a> and <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-HINT-STRONG:CAPS"><code class="literal">PANGO_GRAVITY_HINT_STRONG</code></a> in
|
276
|
+
pass <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a> and <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-HINT-STRONG:CAPS"><code class="literal">PANGO_GRAVITY_HINT_STRONG</code></a> in.
|
277
|
+
</p>
|
294
278
|
<div class="variablelist"><table border="0">
|
295
279
|
<col align="left" valign="top">
|
296
280
|
<tbody>
|
297
281
|
<tr>
|
298
282
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
299
|
-
<td>
|
283
|
+
<td>
|
284
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> to query
|
300
285
|
</td>
|
301
286
|
</tr>
|
302
287
|
<tr>
|
303
288
|
<td><p><span class="term"><em class="parameter"><code>base_gravity</code></em> :</span></p></td>
|
304
|
-
<td>
|
289
|
+
<td>base gravity of the paragraph
|
305
290
|
</td>
|
306
291
|
</tr>
|
307
292
|
<tr>
|
308
293
|
<td><p><span class="term"><em class="parameter"><code>hint</code></em> :</span></p></td>
|
309
|
-
<td>
|
294
|
+
<td>orientation hint
|
310
295
|
</td>
|
311
296
|
</tr>
|
312
297
|
<tr>
|
@@ -321,17 +306,17 @@ with <em class="parameter"><code>script</code></em>.
|
|
321
306
|
<p class="since">Since 1.16</p>
|
322
307
|
</div>
|
323
308
|
<hr>
|
324
|
-
<div class="refsect2"
|
309
|
+
<div class="refsect2">
|
325
310
|
<a name="pango-gravity-get-for-script-and-width"></a><h3>pango_gravity_get_for_script_and_width ()</h3>
|
326
311
|
<pre class="programlisting"><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="returnvalue">PangoGravity</span></a> pango_gravity_get_for_script_and_width
|
327
|
-
(<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="
|
328
|
-
<
|
329
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="
|
330
|
-
<a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="
|
312
|
+
(<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> script</code></em>,
|
313
|
+
<em class="parameter"><code><span class="type">gboolean</span> wide</code></em>,
|
314
|
+
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> base_gravity</code></em>,
|
315
|
+
<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);</pre>
|
331
316
|
<p>
|
332
317
|
Based on the script, East Asian width, base gravity, and hint,
|
333
318
|
returns actual gravity to use in laying out a single character
|
334
|
-
or <a class="link" href="pango-Text-Processing.html#PangoItem" title="PangoItem"><span class="type">PangoItem</span></a>.
|
319
|
+
or <a class="link" href="pango-Text-Processing.html#PangoItem" title="struct PangoItem"><span class="type">PangoItem</span></a>.
|
335
320
|
</p>
|
336
321
|
<p>
|
337
322
|
This function is similar to <a class="link" href="pango-Vertical-Text.html#pango-gravity-get-for-script" title="pango_gravity_get_for_script ()"><code class="function">pango_gravity_get_for_script()</code></a> except
|
@@ -343,28 +328,31 @@ context.
|
|
343
328
|
</p>
|
344
329
|
<p>
|
345
330
|
If <em class="parameter"><code>base_gravity</code></em> is <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a>, it is first replaced with the
|
346
|
-
preferred gravity of <em class="parameter"><code>script</code></em
|
331
|
+
preferred gravity of <em class="parameter"><code>script</code></em>.
|
332
|
+
</p>
|
347
333
|
<div class="variablelist"><table border="0">
|
348
334
|
<col align="left" valign="top">
|
349
335
|
<tbody>
|
350
336
|
<tr>
|
351
337
|
<td><p><span class="term"><em class="parameter"><code>script</code></em> :</span></p></td>
|
352
|
-
<td>
|
338
|
+
<td>
|
339
|
+
<a class="link" href="pango-Scripts-and-Languages.html#PangoScript" title="enum PangoScript"><span class="type">PangoScript</span></a> to query
|
353
340
|
</td>
|
354
341
|
</tr>
|
355
342
|
<tr>
|
356
343
|
<td><p><span class="term"><em class="parameter"><code>wide</code></em> :</span></p></td>
|
357
|
-
<td>
|
344
|
+
<td>
|
345
|
+
<code class="literal">TRUE</code> for wide characters as returned by <code class="function">g_unichar_iswide()</code>
|
358
346
|
</td>
|
359
347
|
</tr>
|
360
348
|
<tr>
|
361
349
|
<td><p><span class="term"><em class="parameter"><code>base_gravity</code></em> :</span></p></td>
|
362
|
-
<td>
|
350
|
+
<td>base gravity of the paragraph
|
363
351
|
</td>
|
364
352
|
</tr>
|
365
353
|
<tr>
|
366
354
|
<td><p><span class="term"><em class="parameter"><code>hint</code></em> :</span></p></td>
|
367
|
-
<td>
|
355
|
+
<td>orientation hint
|
368
356
|
</td>
|
369
357
|
</tr>
|
370
358
|
<tr>
|
@@ -379,9 +367,9 @@ with <em class="parameter"><code>script</code></em> and <em class="parameter"><c
|
|
379
367
|
<p class="since">Since 1.26</p>
|
380
368
|
</div>
|
381
369
|
<hr>
|
382
|
-
<div class="refsect2"
|
370
|
+
<div class="refsect2">
|
383
371
|
<a name="pango-gravity-to-rotation"></a><h3>pango_gravity_to_rotation ()</h3>
|
384
|
-
<pre class="programlisting"><span class="returnvalue">double</span> pango_gravity_to_rotation (<a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="
|
372
|
+
<pre class="programlisting"><span class="returnvalue">double</span> pango_gravity_to_rotation (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);</pre>
|
385
373
|
<p>
|
386
374
|
Converts a <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> value to its natural rotation in radians.
|
387
375
|
<em class="parameter"><code>gravity</code></em> should not be <a class="link" href="pango-Vertical-Text.html#PANGO-GRAVITY-AUTO:CAPS"><code class="literal">PANGO_GRAVITY_AUTO</code></a>.
|
@@ -389,13 +377,14 @@ Converts a <a class="link" href="pango-Vertical-Text.html#PangoGravity" title="e
|
|
389
377
|
<p>
|
390
378
|
Note that <a class="link" href="pango-Glyph-Storage.html#pango-matrix-rotate" title="pango_matrix_rotate ()"><code class="function">pango_matrix_rotate()</code></a> takes angle in degrees, not radians.
|
391
379
|
So, to call <a class="link" href="pango-Glyph-Storage.html#pango-matrix-rotate" title="pango_matrix_rotate ()"><code class="function">pango_matrix_rotate()</code></a> with the output of this function
|
392
|
-
you should multiply it by (180. / G_PI)
|
380
|
+
you should multiply it by (180. / G_PI).
|
381
|
+
</p>
|
393
382
|
<div class="variablelist"><table border="0">
|
394
383
|
<col align="left" valign="top">
|
395
384
|
<tbody>
|
396
385
|
<tr>
|
397
386
|
<td><p><span class="term"><em class="parameter"><code>gravity</code></em> :</span></p></td>
|
398
|
-
<td>
|
387
|
+
<td>gravity to query
|
399
388
|
</td>
|
400
389
|
</tr>
|
401
390
|
<tr>
|
@@ -409,7 +398,7 @@ you should multiply it by (180. / G_PI).</p>
|
|
409
398
|
<p class="since">Since 1.16</p>
|
410
399
|
</div>
|
411
400
|
</div>
|
412
|
-
<div class="refsect1"
|
401
|
+
<div class="refsect1">
|
413
402
|
<a name="pango-Vertical-Text.see-also"></a><h2>See Also</h2>
|
414
403
|
<p>
|
415
404
|
<a class="link" href="pango-Text-Processing.html#pango-context-get-base-gravity" title="pango_context_get_base_gravity ()"><code class="function">pango_context_get_base_gravity()</code></a>,
|
@@ -426,6 +415,6 @@ you should multiply it by (180. / G_PI).</p>
|
|
426
415
|
</div>
|
427
416
|
<div class="footer">
|
428
417
|
<hr>
|
429
|
-
Generated by GTK-Doc V1.
|
418
|
+
Generated by GTK-Doc V1.15.1</div>
|
430
419
|
</body>
|
431
420
|
</html>
|