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="rendering.html" title="Rendering with Pango">
|
9
9
|
<link rel="prev" href="pango-FreeType-Fonts-and-Rendering.html" title="FreeType Fonts and Rendering">
|
10
10
|
<link rel="next" href="pango-Cairo-Rendering.html" title="Cairo Rendering">
|
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">
|
@@ -51,7 +30,7 @@
|
|
51
30
|
<a href="#pango-Xft-Fonts-and-Rendering.properties" class="shortcut">Properties</a>
|
52
31
|
</td></tr>
|
53
32
|
</table>
|
54
|
-
<div class="refentry"
|
33
|
+
<div class="refentry">
|
55
34
|
<a name="pango-Xft-Fonts-and-Rendering"></a><div class="titlepage"></div>
|
56
35
|
<div class="refnamediv"><table width="100%"><tr>
|
57
36
|
<td valign="top">
|
@@ -60,105 +39,105 @@
|
|
60
39
|
</td>
|
61
40
|
<td valign="top" align="right"></td>
|
62
41
|
</tr></table></div>
|
63
|
-
<div class="refsynopsisdiv"
|
42
|
+
<div class="refsynopsisdiv">
|
64
43
|
<a name="pango-Xft-Fonts-and-Rendering.synopsis"></a><h2>Synopsis</h2>
|
65
44
|
<a name="PangoXftFont"></a><a name="PangoXftFontMap"></a><a name="PangoXftRenderer"></a><pre class="synopsis"> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFont-struct" title="PangoXftFont">PangoXftFont</a>;
|
66
45
|
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFontMap-struct" title="PangoXftFontMap">PangoXftFontMap</a>;
|
67
46
|
#define <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PANGO-RENDER-TYPE-XFT:CAPS" title="PANGO_RENDER_TYPE_XFT">PANGO_RENDER_TYPE_XFT</a>
|
68
|
-
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-get-context" title="pango_xft_get_context ()">pango_xft_get_context</a> (<span class="
|
69
|
-
<span class="
|
70
|
-
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-get-font-map" title="pango_xft_get_font_map ()">pango_xft_get_font_map</a> (<span class="
|
71
|
-
<span class="
|
72
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-set-default-substitute" title="pango_xft_set_default_substitute ()">pango_xft_set_default_substitute</a> (<span class="
|
73
|
-
<span class="
|
74
|
-
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftSubstituteFunc" title="PangoXftSubstituteFunc ()"><span class="
|
75
|
-
<
|
76
|
-
<
|
77
|
-
<span class="returnvalue">void</span> (<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftSubstituteFunc" title="PangoXftSubstituteFunc ()">*PangoXftSubstituteFunc</a>) (<span class="
|
78
|
-
<
|
79
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-substitute-changed" title="pango_xft_substitute_changed ()">pango_xft_substitute_changed</a> (<span class="
|
80
|
-
<span class="
|
81
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-shutdown-display" title="pango_xft_shutdown_display ()">pango_xft_shutdown_display</a> (<span class="
|
82
|
-
<span class="
|
83
|
-
<span class="returnvalue">XftFont</span> * <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-get-font" title="pango_xft_font_get_font ()">pango_xft_font_get_font</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
84
|
-
<span class="returnvalue">Display</span> * <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-get-display" title="pango_xft_font_get_display ()">pango_xft_font_get_display</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
85
|
-
<
|
86
|
-
<
|
87
|
-
<span class="returnvalue">FT_Face</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-lock-face" title="pango_xft_font_lock_face ()">pango_xft_font_lock_face</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
88
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-unlock-face" title="pango_xft_font_unlock_face ()">pango_xft_font_unlock_face</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
89
|
-
<
|
90
|
-
<
|
91
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-get-unknown-glyph" title="pango_xft_font_get_unknown_glyph ()">pango_xft_font_get_unknown_glyph</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
92
|
-
<
|
93
|
-
|
94
|
-
|
95
|
-
<a class="link" href="
|
96
|
-
<span class="
|
97
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-renderer-set-draw" title="pango_xft_renderer_set_draw ()">pango_xft_renderer_set_draw</a> (<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="
|
98
|
-
<span class="
|
47
|
+
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-get-context" title="pango_xft_get_context ()">pango_xft_get_context</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
48
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>);
|
49
|
+
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-get-font-map" title="pango_xft_get_font_map ()">pango_xft_get_font_map</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
50
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>);
|
51
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-set-default-substitute" title="pango_xft_set_default_substitute ()">pango_xft_set_default_substitute</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
52
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>,
|
53
|
+
<em class="parameter"><code><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftSubstituteFunc" title="PangoXftSubstituteFunc ()"><span class="type">PangoXftSubstituteFunc</span></a> func</code></em>,
|
54
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
55
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);
|
56
|
+
<span class="returnvalue">void</span> (<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftSubstituteFunc" title="PangoXftSubstituteFunc ()">*PangoXftSubstituteFunc</a>) (<em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>,
|
57
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
|
58
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-substitute-changed" title="pango_xft_substitute_changed ()">pango_xft_substitute_changed</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
59
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>);
|
60
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-shutdown-display" title="pango_xft_shutdown_display ()">pango_xft_shutdown_display</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
61
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>);
|
62
|
+
<span class="returnvalue">XftFont</span> * <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-get-font" title="pango_xft_font_get_font ()">pango_xft_font_get_font</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
63
|
+
<span class="returnvalue">Display</span> * <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-get-display" title="pango_xft_font_get_display ()">pango_xft_font_get_display</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
64
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-has-char" title="pango_xft_font_has_char ()">pango_xft_font_has_char</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
65
|
+
<em class="parameter"><code><span class="type">gunichar</span> wc</code></em>);
|
66
|
+
<span class="returnvalue">FT_Face</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-lock-face" title="pango_xft_font_lock_face ()">pango_xft_font_lock_face</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
67
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-unlock-face" title="pango_xft_font_unlock_face ()">pango_xft_font_unlock_face</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
68
|
+
<span class="returnvalue">guint</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-get-glyph" title="pango_xft_font_get_glyph ()">pango_xft_font_get_glyph</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
69
|
+
<em class="parameter"><code><span class="type">gunichar</span> wc</code></em>);
|
70
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-get-unknown-glyph" title="pango_xft_font_get_unknown_glyph ()">pango_xft_font_get_unknown_glyph</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
71
|
+
<em class="parameter"><code><span class="type">gunichar</span> wc</code></em>);
|
72
|
+
struct <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer-struct" title="struct PangoXftRenderer">PangoXftRenderer</a>;
|
73
|
+
struct <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRendererClass" title="struct PangoXftRendererClass">PangoXftRendererClass</a>;
|
74
|
+
<a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="returnvalue">PangoRenderer</span></a> * <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-renderer-new" title="pango_xft_renderer_new ()">pango_xft_renderer_new</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
75
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>);
|
76
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-renderer-set-draw" title="pango_xft_renderer_set_draw ()">pango_xft_renderer_set_draw</a> (<em class="parameter"><code><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a> *xftrenderer</code></em>,
|
77
|
+
<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>);
|
99
78
|
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-renderer-set-default-color" title="pango_xft_renderer_set_default_color ()">pango_xft_renderer_set_default_color</a>
|
100
|
-
(<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="
|
101
|
-
<a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="
|
102
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render" title="pango_xft_render ()">pango_xft_render</a> (<span class="
|
103
|
-
<span class="
|
104
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
105
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
106
|
-
<
|
107
|
-
<
|
108
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-picture-render" title="pango_xft_picture_render ()">pango_xft_picture_render</a> (<span class="
|
109
|
-
<span class="
|
110
|
-
<span class="
|
111
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
112
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
113
|
-
<
|
114
|
-
<
|
115
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render-transformed" title="pango_xft_render_transformed ()">pango_xft_render_transformed</a> (<span class="
|
116
|
-
<span class="
|
117
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
118
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
119
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
120
|
-
<span class="
|
121
|
-
<span class="
|
122
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render-layout-line" title="pango_xft_render_layout_line ()">pango_xft_render_layout_line</a> (<span class="
|
123
|
-
<span class="
|
124
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="
|
125
|
-
<span class="
|
126
|
-
<span class="
|
127
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render-layout" title="pango_xft_render_layout ()">pango_xft_render_layout</a> (<span class="
|
128
|
-
<span class="
|
129
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="
|
130
|
-
<span class="
|
131
|
-
<span class="
|
79
|
+
(<em class="parameter"><code><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a> *xftrenderer</code></em>,
|
80
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> *default_color</code></em>);
|
81
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render" title="pango_xft_render ()">pango_xft_render</a> (<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>,
|
82
|
+
<em class="parameter"><code><span class="type">XftColor</span> *color</code></em>,
|
83
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
84
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
85
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
86
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>);
|
87
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-picture-render" title="pango_xft_picture_render ()">pango_xft_picture_render</a> (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
88
|
+
<em class="parameter"><code><span class="type">Picture</span> src_picture</code></em>,
|
89
|
+
<em class="parameter"><code><span class="type">Picture</span> dest_picture</code></em>,
|
90
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
91
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
92
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
93
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>);
|
94
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render-transformed" title="pango_xft_render_transformed ()">pango_xft_render_transformed</a> (<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>,
|
95
|
+
<em class="parameter"><code><span class="type">XftColor</span> *color</code></em>,
|
96
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
97
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
98
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
99
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
100
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
101
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render-layout-line" title="pango_xft_render_layout_line ()">pango_xft_render_layout_line</a> (<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>,
|
102
|
+
<em class="parameter"><code><span class="type">XftColor</span> *color</code></em>,
|
103
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
104
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
105
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
106
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-render-layout" title="pango_xft_render_layout ()">pango_xft_render_layout</a> (<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>,
|
107
|
+
<em class="parameter"><code><span class="type">XftColor</span> *color</code></em>,
|
108
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
109
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
110
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
132
111
|
</pre>
|
133
112
|
</div>
|
134
|
-
<div class="refsect1"
|
113
|
+
<div class="refsect1">
|
135
114
|
<a name="pango-Xft-Fonts-and-Rendering.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
136
115
|
<pre class="synopsis">
|
137
|
-
|
116
|
+
GObject
|
138
117
|
+----<a class="link" href="pango-Fonts.html#PangoFont">PangoFont</a>
|
139
118
|
+----<a class="link" href="PangoFcFont.html" title="PangoFcFont">PangoFcFont</a>
|
140
119
|
+----PangoXftFont
|
141
120
|
</pre>
|
142
121
|
<pre class="synopsis">
|
143
|
-
|
122
|
+
GObject
|
144
123
|
+----<a class="link" href="pango-Fonts.html#PangoFontMap">PangoFontMap</a>
|
145
124
|
+----<a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap">PangoFcFontMap</a>
|
146
125
|
+----PangoXftFontMap
|
147
126
|
</pre>
|
148
127
|
<pre class="synopsis">
|
149
|
-
|
150
|
-
+----<a class="link" href="
|
128
|
+
GObject
|
129
|
+
+----<a class="link" href="pango-pango-renderer.html#PangoRenderer">PangoRenderer</a>
|
151
130
|
+----PangoXftRenderer
|
152
131
|
</pre>
|
153
132
|
</div>
|
154
|
-
<div class="refsect1"
|
133
|
+
<div class="refsect1">
|
155
134
|
<a name="pango-Xft-Fonts-and-Rendering.properties"></a><h2>Properties</h2>
|
156
135
|
<pre class="synopsis">
|
157
|
-
"<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer--display" title='The "display" property'>display</a>" <
|
158
|
-
"<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer--screen" title='The "screen" property'>screen</a>" <
|
136
|
+
"<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer--display" title='The "display" property'>display</a>" <span class="type">gpointer</span> : Write / Construct Only
|
137
|
+
"<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer--screen" title='The "screen" property'>screen</a>" <span class="type">gint</span> : Write / Construct Only
|
159
138
|
</pre>
|
160
139
|
</div>
|
161
|
-
<div class="refsect1"
|
140
|
+
<div class="refsect1">
|
162
141
|
<a name="pango-Xft-Fonts-and-Rendering.description"></a><h2>Description</h2>
|
163
142
|
<p>
|
164
143
|
The Xft library is a library for displaying fonts on the X window
|
@@ -182,16 +161,16 @@ individual layout lines and glyphs strings are provided. You can also
|
|
182
161
|
directly create a <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a>. Finally, in some advanced cases, it
|
183
162
|
is useful to derive from <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a>. Deriving from
|
184
163
|
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a> is useful for two reasons. One reason is be to
|
185
|
-
support custom attributes by overriding <a class="link" href="
|
164
|
+
support custom attributes by overriding <a class="link" href="pango-pango-renderer.html#PangoRendererClass" title="struct PangoRendererClass"><span class="type">PangoRendererClass</span></a> virtual
|
186
165
|
functions like 'prepare_run' or 'draw_shape'. The reason is to
|
187
166
|
customize exactly how the final bits are drawn to the destination by
|
188
|
-
overriding the <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRendererClass" title="PangoXftRendererClass"><span class="type">PangoXftRendererClass</span></a> virtual functions
|
167
|
+
overriding the <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRendererClass" title="struct PangoXftRendererClass"><span class="type">PangoXftRendererClass</span></a> virtual functions
|
189
168
|
'composite_glyphs' and 'composite_trapezoids'.
|
190
169
|
</p>
|
191
170
|
</div>
|
192
|
-
<div class="refsect1"
|
171
|
+
<div class="refsect1">
|
193
172
|
<a name="pango-Xft-Fonts-and-Rendering.details"></a><h2>Details</h2>
|
194
|
-
<div class="refsect2"
|
173
|
+
<div class="refsect2">
|
195
174
|
<a name="PangoXftFont-struct"></a><h3>PangoXftFont</h3>
|
196
175
|
<pre class="programlisting">typedef struct _PangoXftFont PangoXftFont;</pre>
|
197
176
|
<p>
|
@@ -200,7 +179,7 @@ library for rendering. It is used in conjunction with <a class="link" href="pan
|
|
200
179
|
</p>
|
201
180
|
</div>
|
202
181
|
<hr>
|
203
|
-
<div class="refsect2"
|
182
|
+
<div class="refsect2">
|
204
183
|
<a name="PangoXftFontMap-struct"></a><h3>PangoXftFontMap</h3>
|
205
184
|
<pre class="programlisting">typedef struct _PangoXftFontMap PangoXftFontMap;</pre>
|
206
185
|
<p>
|
@@ -210,11 +189,11 @@ type <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftFont"><spa
|
|
210
189
|
</p>
|
211
190
|
</div>
|
212
191
|
<hr>
|
213
|
-
<div class="refsect2"
|
192
|
+
<div class="refsect2">
|
214
193
|
<a name="PANGO-RENDER-TYPE-XFT:CAPS"></a><h3>PANGO_RENDER_TYPE_XFT</h3>
|
215
194
|
<pre class="programlisting">#define PANGO_RENDER_TYPE_XFT "PangoRenderXft"
|
216
195
|
</pre>
|
217
|
-
<div class="warning"
|
196
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
218
197
|
<h3 class="title">Warning</h3>
|
219
198
|
<p><code class="literal">PANGO_RENDER_TYPE_XFT</code> is deprecated and should not be used in newly-written code.</p>
|
220
199
|
</div>
|
@@ -224,29 +203,30 @@ with the Xft backend. See <a class="link" href="PangoFcFont.html#PANGO-RENDER-TY
|
|
224
203
|
</p>
|
225
204
|
</div>
|
226
205
|
<hr>
|
227
|
-
<div class="refsect2"
|
206
|
+
<div class="refsect2">
|
228
207
|
<a name="pango-xft-get-context"></a><h3>pango_xft_get_context ()</h3>
|
229
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_xft_get_context (<span class="
|
230
|
-
<span class="
|
231
|
-
<div class="warning"
|
208
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_xft_get_context (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
209
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>);</pre>
|
210
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
232
211
|
<h3 class="title">Warning</h3>
|
233
212
|
<p><code class="literal">pango_xft_get_context</code> has been deprecated since version 1.22 and should not be used in newly-written code. Use <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-get-font-map" title="pango_xft_get_font_map ()"><code class="function">pango_xft_get_font_map()</code></a> followed by
|
234
213
|
<a class="link" href="pango-Fonts.html#pango-font-map-create-context" title="pango_font_map_create_context ()"><code class="function">pango_font_map_create_context()</code></a> instead.</p>
|
235
214
|
</div>
|
236
215
|
<p>
|
237
216
|
Retrieves a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> appropriate for rendering with
|
238
|
-
Xft fonts on the given screen of the given display
|
217
|
+
Xft fonts on the given screen of the given display.
|
218
|
+
</p>
|
239
219
|
<div class="variablelist"><table border="0">
|
240
220
|
<col align="left" valign="top">
|
241
221
|
<tbody>
|
242
222
|
<tr>
|
243
223
|
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
244
|
-
<td>
|
224
|
+
<td>an X display.
|
245
225
|
</td>
|
246
226
|
</tr>
|
247
227
|
<tr>
|
248
228
|
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
|
249
|
-
<td>
|
229
|
+
<td>an X screen.
|
250
230
|
</td>
|
251
231
|
</tr>
|
252
232
|
<tr>
|
@@ -259,25 +239,26 @@ Xft fonts on the given screen of the given display.</p>
|
|
259
239
|
</table></div>
|
260
240
|
</div>
|
261
241
|
<hr>
|
262
|
-
<div class="refsect2"
|
242
|
+
<div class="refsect2">
|
263
243
|
<a name="pango-xft-get-font-map"></a><h3>pango_xft_get_font_map ()</h3>
|
264
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * pango_xft_get_font_map (<span class="
|
265
|
-
<span class="
|
244
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * pango_xft_get_font_map (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
245
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>);</pre>
|
266
246
|
<p>
|
267
247
|
Returns the <span class="type">PangoXftFontmap</span> for the given display and screen.
|
268
248
|
The fontmap is owned by Pango and will be valid until
|
269
|
-
the display is closed
|
249
|
+
the display is closed.
|
250
|
+
</p>
|
270
251
|
<div class="variablelist"><table border="0">
|
271
252
|
<col align="left" valign="top">
|
272
253
|
<tbody>
|
273
254
|
<tr>
|
274
255
|
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
275
|
-
<td>
|
256
|
+
<td>an X display
|
276
257
|
</td>
|
277
258
|
</tr>
|
278
259
|
<tr>
|
279
260
|
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
|
280
|
-
<td>
|
261
|
+
<td>the screen number of a screen within <em class="parameter"><code>display</code></em>
|
281
262
|
</td>
|
282
263
|
</tr>
|
283
264
|
<tr>
|
@@ -291,45 +272,46 @@ the display is closed.</p>
|
|
291
272
|
<p class="since">Since 1.2</p>
|
292
273
|
</div>
|
293
274
|
<hr>
|
294
|
-
<div class="refsect2"
|
275
|
+
<div class="refsect2">
|
295
276
|
<a name="pango-xft-set-default-substitute"></a><h3>pango_xft_set_default_substitute ()</h3>
|
296
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_set_default_substitute (<span class="
|
297
|
-
<span class="
|
298
|
-
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftSubstituteFunc" title="PangoXftSubstituteFunc ()"><span class="
|
299
|
-
<
|
300
|
-
<
|
277
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_set_default_substitute (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
278
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>,
|
279
|
+
<em class="parameter"><code><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftSubstituteFunc" title="PangoXftSubstituteFunc ()"><span class="type">PangoXftSubstituteFunc</span></a> func</code></em>,
|
280
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
281
|
+
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
|
301
282
|
<p>
|
302
283
|
Sets a function that will be called to do final configuration
|
303
284
|
substitution on a <span class="type">FcPattern</span> before it is used to load
|
304
285
|
the font. This function can be used to do things like set
|
305
|
-
hinting and antialiasing options
|
286
|
+
hinting and antialiasing options.
|
287
|
+
</p>
|
306
288
|
<div class="variablelist"><table border="0">
|
307
289
|
<col align="left" valign="top">
|
308
290
|
<tbody>
|
309
291
|
<tr>
|
310
292
|
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
311
|
-
<td>
|
293
|
+
<td>an X Display
|
312
294
|
</td>
|
313
295
|
</tr>
|
314
296
|
<tr>
|
315
297
|
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
|
316
|
-
<td>
|
298
|
+
<td>the screen number of a screen within <em class="parameter"><code>display</code></em>
|
317
299
|
</td>
|
318
300
|
</tr>
|
319
301
|
<tr>
|
320
302
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
321
|
-
<td>
|
303
|
+
<td>function to call to to do final config tweaking
|
322
304
|
on <span class="type">FcPattern</span> objects.
|
323
305
|
</td>
|
324
306
|
</tr>
|
325
307
|
<tr>
|
326
308
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
327
|
-
<td>
|
309
|
+
<td>data to pass to <em class="parameter"><code>func</code></em>
|
328
310
|
</td>
|
329
311
|
</tr>
|
330
312
|
<tr>
|
331
313
|
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
|
332
|
-
<td>
|
314
|
+
<td>function to call when <em class="parameter"><code>data</code></em> is no longer used.
|
333
315
|
</td>
|
334
316
|
</tr>
|
335
317
|
</tbody>
|
@@ -337,10 +319,10 @@ hinting and antialiasing options.</p>
|
|
337
319
|
<p class="since">Since 1.2</p>
|
338
320
|
</div>
|
339
321
|
<hr>
|
340
|
-
<div class="refsect2"
|
322
|
+
<div class="refsect2">
|
341
323
|
<a name="PangoXftSubstituteFunc"></a><h3>PangoXftSubstituteFunc ()</h3>
|
342
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*PangoXftSubstituteFunc) (<span class="
|
343
|
-
<
|
324
|
+
<pre class="programlisting"><span class="returnvalue">void</span> (*PangoXftSubstituteFunc) (<em class="parameter"><code><span class="type">FcPattern</span> *pattern</code></em>,
|
325
|
+
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
344
326
|
<p>
|
345
327
|
Function type for doing final config tweaking on prepared FcPatterns.
|
346
328
|
</p>
|
@@ -361,27 +343,28 @@ Function type for doing final config tweaking on prepared FcPatterns.
|
|
361
343
|
</table></div>
|
362
344
|
</div>
|
363
345
|
<hr>
|
364
|
-
<div class="refsect2"
|
346
|
+
<div class="refsect2">
|
365
347
|
<a name="pango-xft-substitute-changed"></a><h3>pango_xft_substitute_changed ()</h3>
|
366
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_substitute_changed (<span class="
|
367
|
-
<span class="
|
348
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_substitute_changed (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
349
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>);</pre>
|
368
350
|
<p>
|
369
351
|
Call this function any time the results of the
|
370
352
|
default substitution function set with
|
371
353
|
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-set-default-substitute" title="pango_xft_set_default_substitute ()"><code class="function">pango_xft_set_default_substitute()</code></a> change.
|
372
354
|
That is, if your substitution function will return different
|
373
|
-
results for the same input pattern, you must call this function
|
355
|
+
results for the same input pattern, you must call this function.
|
356
|
+
</p>
|
374
357
|
<div class="variablelist"><table border="0">
|
375
358
|
<col align="left" valign="top">
|
376
359
|
<tbody>
|
377
360
|
<tr>
|
378
361
|
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
379
|
-
<td>
|
362
|
+
<td>an X Display
|
380
363
|
</td>
|
381
364
|
</tr>
|
382
365
|
<tr>
|
383
366
|
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
|
384
|
-
<td>
|
367
|
+
<td>the screen number of a screen within <em class="parameter"><code>display</code></em>
|
385
368
|
</td>
|
386
369
|
</tr>
|
387
370
|
</tbody>
|
@@ -389,26 +372,27 @@ results for the same input pattern, you must call this function.</p>
|
|
389
372
|
<p class="since">Since 1.2</p>
|
390
373
|
</div>
|
391
374
|
<hr>
|
392
|
-
<div class="refsect2"
|
375
|
+
<div class="refsect2">
|
393
376
|
<a name="pango-xft-shutdown-display"></a><h3>pango_xft_shutdown_display ()</h3>
|
394
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_shutdown_display (<span class="
|
395
|
-
<span class="
|
377
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_shutdown_display (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
378
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>);</pre>
|
396
379
|
<p>
|
397
380
|
Release any resources that have been cached for the
|
398
381
|
combination of <em class="parameter"><code>display</code></em> and <em class="parameter"><code>screen</code></em>. Note that when the
|
399
382
|
X display is closed, resources are released automatically,
|
400
|
-
without needing to call this function
|
383
|
+
without needing to call this function.
|
384
|
+
</p>
|
401
385
|
<div class="variablelist"><table border="0">
|
402
386
|
<col align="left" valign="top">
|
403
387
|
<tbody>
|
404
388
|
<tr>
|
405
389
|
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
406
|
-
<td>
|
390
|
+
<td>an X display
|
407
391
|
</td>
|
408
392
|
</tr>
|
409
393
|
<tr>
|
410
394
|
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
|
411
|
-
<td>
|
395
|
+
<td>the screen number of a screen within <em class="parameter"><code>display</code></em>
|
412
396
|
</td>
|
413
397
|
</tr>
|
414
398
|
</tbody>
|
@@ -416,39 +400,41 @@ without needing to call this function.</p>
|
|
416
400
|
<p class="since">Since 1.2</p>
|
417
401
|
</div>
|
418
402
|
<hr>
|
419
|
-
<div class="refsect2"
|
403
|
+
<div class="refsect2">
|
420
404
|
<a name="pango-xft-font-get-font"></a><h3>pango_xft_font_get_font ()</h3>
|
421
|
-
<pre class="programlisting"><span class="returnvalue">XftFont</span> * pango_xft_font_get_font (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
405
|
+
<pre class="programlisting"><span class="returnvalue">XftFont</span> * pango_xft_font_get_font (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
422
406
|
<p>
|
423
|
-
Returns the XftFont of a font
|
407
|
+
Returns the XftFont of a font.
|
408
|
+
</p>
|
424
409
|
<div class="variablelist"><table border="0">
|
425
410
|
<col align="left" valign="top">
|
426
411
|
<tbody>
|
427
412
|
<tr>
|
428
413
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
429
|
-
<td>
|
414
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
430
415
|
</td>
|
431
416
|
</tr>
|
432
417
|
<tr>
|
433
418
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
434
|
-
<td> the XftFont associated to <em class="parameter"><code>font</code></em>, or <a href="/usr/share/gtk-doc/html/
|
419
|
+
<td> the XftFont associated to <em class="parameter"><code>font</code></em>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>font</code></em> is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
|
435
420
|
</td>
|
436
421
|
</tr>
|
437
422
|
</tbody>
|
438
423
|
</table></div>
|
439
424
|
</div>
|
440
425
|
<hr>
|
441
|
-
<div class="refsect2"
|
426
|
+
<div class="refsect2">
|
442
427
|
<a name="pango-xft-font-get-display"></a><h3>pango_xft_font_get_display ()</h3>
|
443
|
-
<pre class="programlisting"><span class="returnvalue">Display</span> * pango_xft_font_get_display (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
428
|
+
<pre class="programlisting"><span class="returnvalue">Display</span> * pango_xft_font_get_display (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
444
429
|
<p>
|
445
|
-
Returns the X display of the XftFont of a font
|
430
|
+
Returns the X display of the XftFont of a font.
|
431
|
+
</p>
|
446
432
|
<div class="variablelist"><table border="0">
|
447
433
|
<col align="left" valign="top">
|
448
434
|
<tbody>
|
449
435
|
<tr>
|
450
436
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
451
|
-
<td>
|
437
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
452
438
|
</td>
|
453
439
|
</tr>
|
454
440
|
<tr>
|
@@ -460,11 +446,11 @@ Returns the X display of the XftFont of a font.</p>
|
|
460
446
|
</table></div>
|
461
447
|
</div>
|
462
448
|
<hr>
|
463
|
-
<div class="refsect2"
|
449
|
+
<div class="refsect2">
|
464
450
|
<a name="pango-xft-font-has-char"></a><h3>pango_xft_font_has_char ()</h3>
|
465
|
-
<pre class="programlisting"><
|
466
|
-
<
|
467
|
-
<div class="warning"
|
451
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_xft_font_has_char (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
452
|
+
<em class="parameter"><code><span class="type">gunichar</span> wc</code></em>);</pre>
|
453
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
468
454
|
<h3 class="title">Warning</h3>
|
469
455
|
<p><code class="literal">pango_xft_font_has_char</code> is deprecated and should not be used in newly-written code.</p>
|
470
456
|
</div>
|
@@ -472,23 +458,24 @@ Returns the X display of the XftFont of a font.</p>
|
|
472
458
|
Determines whether <em class="parameter"><code>font</code></em> has a glyph for the codepoint <em class="parameter"><code>wc</code></em>.
|
473
459
|
</p>
|
474
460
|
<p>
|
475
|
-
Use <a class="link" href="PangoFcFont.html#pango-fc-font-has-char" title="pango_fc_font_has_char ()"><code class="function">pango_fc_font_has_char()</code></a> instead
|
461
|
+
Use <a class="link" href="PangoFcFont.html#pango-fc-font-has-char" title="pango_fc_font_has_char ()"><code class="function">pango_fc_font_has_char()</code></a> instead.
|
462
|
+
</p>
|
476
463
|
<div class="variablelist"><table border="0">
|
477
464
|
<col align="left" valign="top">
|
478
465
|
<tbody>
|
479
466
|
<tr>
|
480
467
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
481
|
-
<td>
|
468
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> for the Xft backend
|
482
469
|
</td>
|
483
470
|
</tr>
|
484
471
|
<tr>
|
485
472
|
<td><p><span class="term"><em class="parameter"><code>wc</code></em> :</span></p></td>
|
486
|
-
<td>
|
473
|
+
<td>Unicode codepoint to look up
|
487
474
|
</td>
|
488
475
|
</tr>
|
489
476
|
<tr>
|
490
477
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
491
|
-
<td> <
|
478
|
+
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>font</code></em> has the requested codepoint.
|
492
479
|
|
493
480
|
</td>
|
494
481
|
</tr>
|
@@ -497,10 +484,10 @@ Use <a class="link" href="PangoFcFont.html#pango-fc-font-has-char" title="pango_
|
|
497
484
|
<p class="since">Since 1.2</p>
|
498
485
|
</div>
|
499
486
|
<hr>
|
500
|
-
<div class="refsect2"
|
487
|
+
<div class="refsect2">
|
501
488
|
<a name="pango-xft-font-lock-face"></a><h3>pango_xft_font_lock_face ()</h3>
|
502
|
-
<pre class="programlisting"><span class="returnvalue">FT_Face</span> pango_xft_font_lock_face (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
503
|
-
<div class="warning"
|
489
|
+
<pre class="programlisting"><span class="returnvalue">FT_Face</span> pango_xft_font_lock_face (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
490
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
504
491
|
<h3 class="title">Warning</h3>
|
505
492
|
<p><code class="literal">pango_xft_font_lock_face</code> is deprecated and should not be used in newly-written code.</p>
|
506
493
|
</div>
|
@@ -510,13 +497,14 @@ This face will be kept around until you call
|
|
510
497
|
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-unlock-face" title="pango_xft_font_unlock_face ()"><code class="function">pango_xft_font_unlock_face()</code></a>.
|
511
498
|
</p>
|
512
499
|
<p>
|
513
|
-
Use <a class="link" href="PangoFcFont.html#pango-fc-font-lock-face" title="pango_fc_font_lock_face ()"><code class="function">pango_fc_font_lock_face()</code></a> instead
|
500
|
+
Use <a class="link" href="PangoFcFont.html#pango-fc-font-lock-face" title="pango_fc_font_lock_face ()"><code class="function">pango_fc_font_lock_face()</code></a> instead.
|
501
|
+
</p>
|
514
502
|
<div class="variablelist"><table border="0">
|
515
503
|
<col align="left" valign="top">
|
516
504
|
<tbody>
|
517
505
|
<tr>
|
518
506
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
519
|
-
<td>
|
507
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
520
508
|
</td>
|
521
509
|
</tr>
|
522
510
|
<tr>
|
@@ -530,10 +518,10 @@ Use <a class="link" href="PangoFcFont.html#pango-fc-font-lock-face" title="pango
|
|
530
518
|
<p class="since">Since 1.2</p>
|
531
519
|
</div>
|
532
520
|
<hr>
|
533
|
-
<div class="refsect2"
|
521
|
+
<div class="refsect2">
|
534
522
|
<a name="pango-xft-font-unlock-face"></a><h3>pango_xft_font_unlock_face ()</h3>
|
535
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_font_unlock_face (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
536
|
-
<div class="warning"
|
523
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_font_unlock_face (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
524
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
537
525
|
<h3 class="title">Warning</h3>
|
538
526
|
<p><code class="literal">pango_xft_font_unlock_face</code> is deprecated and should not be used in newly-written code.</p>
|
539
527
|
</div>
|
@@ -542,23 +530,24 @@ Releases a font previously obtained with
|
|
542
530
|
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-lock-face" title="pango_xft_font_lock_face ()"><code class="function">pango_xft_font_lock_face()</code></a>.
|
543
531
|
</p>
|
544
532
|
<p>
|
545
|
-
Use <a class="link" href="PangoFcFont.html#pango-fc-font-unlock-face" title="pango_fc_font_unlock_face ()"><code class="function">pango_fc_font_unlock_face()</code></a> instead
|
533
|
+
Use <a class="link" href="PangoFcFont.html#pango-fc-font-unlock-face" title="pango_fc_font_unlock_face ()"><code class="function">pango_fc_font_unlock_face()</code></a> instead.
|
534
|
+
</p>
|
546
535
|
<div class="variablelist"><table border="0">
|
547
536
|
<col align="left" valign="top">
|
548
537
|
<tbody><tr>
|
549
538
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
550
|
-
<td>
|
539
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
551
540
|
</td>
|
552
541
|
</tr></tbody>
|
553
542
|
</table></div>
|
554
543
|
<p class="since">Since 1.2</p>
|
555
544
|
</div>
|
556
545
|
<hr>
|
557
|
-
<div class="refsect2"
|
546
|
+
<div class="refsect2">
|
558
547
|
<a name="pango-xft-font-get-glyph"></a><h3>pango_xft_font_get_glyph ()</h3>
|
559
|
-
<pre class="programlisting"><
|
560
|
-
<
|
561
|
-
<div class="warning"
|
548
|
+
<pre class="programlisting"><span class="returnvalue">guint</span> pango_xft_font_get_glyph (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
549
|
+
<em class="parameter"><code><span class="type">gunichar</span> wc</code></em>);</pre>
|
550
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
562
551
|
<h3 class="title">Warning</h3>
|
563
552
|
<p><code class="literal">pango_xft_font_get_glyph</code> is deprecated and should not be used in newly-written code.</p>
|
564
553
|
</div>
|
@@ -568,18 +557,19 @@ for <em class="parameter"><code>font</code></em>. If you only want to determine
|
|
568
557
|
whether the font has the glyph, use <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-font-has-char" title="pango_xft_font_has_char ()"><code class="function">pango_xft_font_has_char()</code></a>.
|
569
558
|
</p>
|
570
559
|
<p>
|
571
|
-
Use <a class="link" href="PangoFcFont.html#pango-fc-font-get-glyph" title="pango_fc_font_get_glyph ()"><code class="function">pango_fc_font_get_glyph()</code></a> instead
|
560
|
+
Use <a class="link" href="PangoFcFont.html#pango-fc-font-get-glyph" title="pango_fc_font_get_glyph ()"><code class="function">pango_fc_font_get_glyph()</code></a> instead.
|
561
|
+
</p>
|
572
562
|
<div class="variablelist"><table border="0">
|
573
563
|
<col align="left" valign="top">
|
574
564
|
<tbody>
|
575
565
|
<tr>
|
576
566
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
577
|
-
<td>
|
567
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> for the Xft backend
|
578
568
|
</td>
|
579
569
|
</tr>
|
580
570
|
<tr>
|
581
571
|
<td><p><span class="term"><em class="parameter"><code>wc</code></em> :</span></p></td>
|
582
|
-
<td>
|
572
|
+
<td>Unicode codepoint to look up
|
583
573
|
</td>
|
584
574
|
</tr>
|
585
575
|
<tr>
|
@@ -594,11 +584,11 @@ Use <a class="link" href="PangoFcFont.html#pango-fc-font-get-glyph" title="pango
|
|
594
584
|
<p class="since">Since 1.2</p>
|
595
585
|
</div>
|
596
586
|
<hr>
|
597
|
-
<div class="refsect2"
|
587
|
+
<div class="refsect2">
|
598
588
|
<a name="pango-xft-font-get-unknown-glyph"></a><h3>pango_xft_font_get_unknown_glyph ()</h3>
|
599
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> pango_xft_font_get_unknown_glyph (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
600
|
-
<
|
601
|
-
<div class="warning"
|
589
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> pango_xft_font_get_unknown_glyph (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
590
|
+
<em class="parameter"><code><span class="type">gunichar</span> wc</code></em>);</pre>
|
591
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
602
592
|
<h3 class="title">Warning</h3>
|
603
593
|
<p><code class="literal">pango_xft_font_get_unknown_glyph</code> is deprecated and should not be used in newly-written code.</p>
|
604
594
|
</div>
|
@@ -607,18 +597,19 @@ Returns the index of a glyph suitable for drawing <em class="parameter"><code>wc
|
|
607
597
|
unknown character.
|
608
598
|
</p>
|
609
599
|
<p>
|
610
|
-
Use <a class="link" href="pango-Glyph-Storage.html#PANGO-GET-UNKNOWN-GLYPH:CAPS" title="PANGO_GET_UNKNOWN_GLYPH()"><code class="function">PANGO_GET_UNKNOWN_GLYPH()</code></a> instead
|
600
|
+
Use <a class="link" href="pango-Glyph-Storage.html#PANGO-GET-UNKNOWN-GLYPH:CAPS" title="PANGO_GET_UNKNOWN_GLYPH()"><code class="function">PANGO_GET_UNKNOWN_GLYPH()</code></a> instead.
|
601
|
+
</p>
|
611
602
|
<div class="variablelist"><table border="0">
|
612
603
|
<col align="left" valign="top">
|
613
604
|
<tbody>
|
614
605
|
<tr>
|
615
606
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
616
|
-
<td>
|
607
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
617
608
|
</td>
|
618
609
|
</tr>
|
619
610
|
<tr>
|
620
611
|
<td><p><span class="term"><em class="parameter"><code>wc</code></em> :</span></p></td>
|
621
|
-
<td>
|
612
|
+
<td>the Unicode character for which a glyph is needed.
|
622
613
|
</td>
|
623
614
|
</tr>
|
624
615
|
<tr>
|
@@ -630,20 +621,21 @@ Use <a class="link" href="pango-Glyph-Storage.html#PANGO-GET-UNKNOWN-GLYPH:CAPS"
|
|
630
621
|
</table></div>
|
631
622
|
</div>
|
632
623
|
<hr>
|
633
|
-
<div class="refsect2"
|
634
|
-
<a name="PangoXftRenderer-struct"></a><h3>PangoXftRenderer</h3>
|
635
|
-
<pre class="programlisting">
|
624
|
+
<div class="refsect2">
|
625
|
+
<a name="PangoXftRenderer-struct"></a><h3>struct PangoXftRenderer</h3>
|
626
|
+
<pre class="programlisting">struct PangoXftRenderer;</pre>
|
636
627
|
<p>
|
637
|
-
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a> is a subclass of <a class="link" href="
|
628
|
+
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a> is a subclass of <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> used for rendering
|
638
629
|
with Pango's Xft backend. It can be used directly, or it can be
|
639
630
|
further subclassed to modify exactly how drawing of individual
|
640
|
-
elements occurs
|
631
|
+
elements occurs.
|
632
|
+
</p>
|
641
633
|
<p class="since">Since 1.8</p>
|
642
634
|
</div>
|
643
635
|
<hr>
|
644
|
-
<div class="refsect2"
|
645
|
-
<a name="PangoXftRendererClass"></a><h3>PangoXftRendererClass</h3>
|
646
|
-
<pre class="programlisting">
|
636
|
+
<div class="refsect2">
|
637
|
+
<a name="PangoXftRendererClass"></a><h3>struct PangoXftRendererClass</h3>
|
638
|
+
<pre class="programlisting">struct PangoXftRendererClass {
|
647
639
|
void (*composite_trapezoids) (PangoXftRenderer *xftrenderer,
|
648
640
|
PangoRenderPart part,
|
649
641
|
XTrapezoid *trapezoids,
|
@@ -652,22 +644,23 @@ elements occurs.</p>
|
|
652
644
|
XftFont *xft_font,
|
653
645
|
XftGlyphSpec *glyphs,
|
654
646
|
int n_glyphs);
|
655
|
-
}
|
647
|
+
};
|
656
648
|
</pre>
|
657
649
|
<p>
|
658
|
-
The class structure for <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a
|
650
|
+
The class structure for <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a>
|
651
|
+
</p>
|
659
652
|
<div class="variablelist"><table border="0">
|
660
653
|
<col align="left" valign="top">
|
661
654
|
<tbody>
|
662
655
|
<tr>
|
663
656
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoXftRendererClass.composite-trapezoids"></a>composite_trapezoids</code></em> ()</span></p></td>
|
664
|
-
<td>
|
657
|
+
<td>draw the specified trapezoids using
|
665
658
|
the current color and other attributes for <em class="parameter"><code>part</code></em>
|
666
659
|
</td>
|
667
660
|
</tr>
|
668
661
|
<tr>
|
669
662
|
<td><p><span class="term"><em class="structfield"><code><a name="PangoXftRendererClass.composite-glyphs"></a>composite_glyphs</code></em> ()</span></p></td>
|
670
|
-
<td>
|
663
|
+
<td>draw the specified glyphs using
|
671
664
|
the current foreground color and other foreground
|
672
665
|
attributes
|
673
666
|
</td>
|
@@ -677,31 +670,32 @@ The class structure for <a class="link" href="pango-Xft-Fonts-and-Rendering.html
|
|
677
670
|
<p class="since">Since 1.8</p>
|
678
671
|
</div>
|
679
672
|
<hr>
|
680
|
-
<div class="refsect2"
|
673
|
+
<div class="refsect2">
|
681
674
|
<a name="pango-xft-renderer-new"></a><h3>pango_xft_renderer_new ()</h3>
|
682
|
-
<pre class="programlisting"><a class="link" href="
|
683
|
-
<span class="
|
675
|
+
<pre class="programlisting"><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="returnvalue">PangoRenderer</span></a> * pango_xft_renderer_new (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
676
|
+
<em class="parameter"><code><span class="type">int</span> screen</code></em>);</pre>
|
684
677
|
<p>
|
685
678
|
Create a new <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a> to allow rendering Pango objects
|
686
679
|
with the Xft library. You must call <a class="link" href="pango-Xft-Fonts-and-Rendering.html#pango-xft-renderer-set-draw" title="pango_xft_renderer_set_draw ()"><code class="function">pango_xft_renderer_set_draw()</code></a> before
|
687
|
-
using the renderer
|
680
|
+
using the renderer.
|
681
|
+
</p>
|
688
682
|
<div class="variablelist"><table border="0">
|
689
683
|
<col align="left" valign="top">
|
690
684
|
<tbody>
|
691
685
|
<tr>
|
692
686
|
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
693
|
-
<td>
|
687
|
+
<td>an X display
|
694
688
|
</td>
|
695
689
|
</tr>
|
696
690
|
<tr>
|
697
691
|
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
|
698
|
-
<td>
|
692
|
+
<td>the index of the screen for <em class="parameter"><code>display</code></em> to which rendering will be done
|
699
693
|
</td>
|
700
694
|
</tr>
|
701
695
|
<tr>
|
702
696
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
703
697
|
<td> the newly created <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a>, which should
|
704
|
-
be freed with <
|
698
|
+
be freed with <code class="function">g_object_unref()</code>.
|
705
699
|
|
706
700
|
</td>
|
707
701
|
</tr>
|
@@ -710,24 +704,25 @@ using the renderer.</p>
|
|
710
704
|
<p class="since">Since 1.8</p>
|
711
705
|
</div>
|
712
706
|
<hr>
|
713
|
-
<div class="refsect2"
|
707
|
+
<div class="refsect2">
|
714
708
|
<a name="pango-xft-renderer-set-draw"></a><h3>pango_xft_renderer_set_draw ()</h3>
|
715
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_renderer_set_draw (<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="
|
716
|
-
<span class="
|
709
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_renderer_set_draw (<em class="parameter"><code><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a> *xftrenderer</code></em>,
|
710
|
+
<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>);</pre>
|
717
711
|
<p>
|
718
712
|
Sets the <span class="type">XftDraw</span> object that the renderer is drawing to.
|
719
|
-
The renderer must not be currently active
|
713
|
+
The renderer must not be currently active.
|
714
|
+
</p>
|
720
715
|
<div class="variablelist"><table border="0">
|
721
716
|
<col align="left" valign="top">
|
722
717
|
<tbody>
|
723
718
|
<tr>
|
724
719
|
<td><p><span class="term"><em class="parameter"><code>xftrenderer</code></em> :</span></p></td>
|
725
|
-
<td>
|
720
|
+
<td>a <a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a>
|
726
721
|
</td>
|
727
722
|
</tr>
|
728
723
|
<tr>
|
729
724
|
<td><p><span class="term"><em class="parameter"><code>draw</code></em> :</span></p></td>
|
730
|
-
<td>
|
725
|
+
<td>a <span class="type">XftDraw</span>
|
731
726
|
</td>
|
732
727
|
</tr>
|
733
728
|
</tbody>
|
@@ -735,24 +730,25 @@ The renderer must not be currently active.</p>
|
|
735
730
|
<p class="since">Since 1.8</p>
|
736
731
|
</div>
|
737
732
|
<hr>
|
738
|
-
<div class="refsect2"
|
733
|
+
<div class="refsect2">
|
739
734
|
<a name="pango-xft-renderer-set-default-color"></a><h3>pango_xft_renderer_set_default_color ()</h3>
|
740
735
|
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_renderer_set_default_color
|
741
|
-
(<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="
|
742
|
-
<a class="link" href="pango-Text-Attributes.html#PangoColor" title="PangoColor"><span class="
|
736
|
+
(<em class="parameter"><code><a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer"><span class="type">PangoXftRenderer</span></a> *xftrenderer</code></em>,
|
737
|
+
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> *default_color</code></em>);</pre>
|
743
738
|
<p>
|
744
|
-
Sets the default foreground color for a <span class="type">XftRenderer</span
|
739
|
+
Sets the default foreground color for a <span class="type">XftRenderer</span>.
|
740
|
+
</p>
|
745
741
|
<div class="variablelist"><table border="0">
|
746
742
|
<col align="left" valign="top">
|
747
743
|
<tbody>
|
748
744
|
<tr>
|
749
745
|
<td><p><span class="term"><em class="parameter"><code>xftrenderer</code></em> :</span></p></td>
|
750
|
-
<td>
|
746
|
+
<td>a <span class="type">XftRenderer</span>
|
751
747
|
</td>
|
752
748
|
</tr>
|
753
749
|
<tr>
|
754
750
|
<td><p><span class="term"><em class="parameter"><code>default_color</code></em> :</span></p></td>
|
755
|
-
<td>
|
751
|
+
<td>the default foreground color
|
756
752
|
</td>
|
757
753
|
</tr>
|
758
754
|
</tbody>
|
@@ -760,159 +756,162 @@ Sets the default foreground color for a <span class="type">XftRenderer</span>.</
|
|
760
756
|
<p class="since">Since 1.8</p>
|
761
757
|
</div>
|
762
758
|
<hr>
|
763
|
-
<div class="refsect2"
|
759
|
+
<div class="refsect2">
|
764
760
|
<a name="pango-xft-render"></a><h3>pango_xft_render ()</h3>
|
765
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_render (<span class="
|
766
|
-
<span class="
|
767
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
768
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
769
|
-
<
|
770
|
-
<
|
761
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_render (<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>,
|
762
|
+
<em class="parameter"><code><span class="type">XftColor</span> *color</code></em>,
|
763
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
764
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
765
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
766
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
771
767
|
<p>
|
772
|
-
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto an <span class="type">XftDraw</span> object wrapping an X drawable
|
768
|
+
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto an <span class="type">XftDraw</span> object wrapping an X drawable.
|
769
|
+
</p>
|
773
770
|
<div class="variablelist"><table border="0">
|
774
771
|
<col align="left" valign="top">
|
775
772
|
<tbody>
|
776
773
|
<tr>
|
777
774
|
<td><p><span class="term"><em class="parameter"><code>draw</code></em> :</span></p></td>
|
778
|
-
<td>
|
775
|
+
<td>the <span class="type">XftDraw</span> object.
|
779
776
|
</td>
|
780
777
|
</tr>
|
781
778
|
<tr>
|
782
779
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
783
|
-
<td>
|
780
|
+
<td>the color in which to draw the string
|
784
781
|
</td>
|
785
782
|
</tr>
|
786
783
|
<tr>
|
787
784
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
788
|
-
<td>
|
785
|
+
<td>the font in which to draw the string
|
789
786
|
</td>
|
790
787
|
</tr>
|
791
788
|
<tr>
|
792
789
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
793
|
-
<td>
|
790
|
+
<td>the glyph string to draw
|
794
791
|
</td>
|
795
792
|
</tr>
|
796
793
|
<tr>
|
797
794
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
798
|
-
<td>
|
795
|
+
<td>the x position of start of string (in pixels)
|
799
796
|
</td>
|
800
797
|
</tr>
|
801
798
|
<tr>
|
802
799
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
803
|
-
<td>
|
800
|
+
<td>the y position of baseline (in pixels)
|
804
801
|
</td>
|
805
802
|
</tr>
|
806
803
|
</tbody>
|
807
804
|
</table></div>
|
808
805
|
</div>
|
809
806
|
<hr>
|
810
|
-
<div class="refsect2"
|
807
|
+
<div class="refsect2">
|
811
808
|
<a name="pango-xft-picture-render"></a><h3>pango_xft_picture_render ()</h3>
|
812
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_picture_render (<span class="
|
813
|
-
<span class="
|
814
|
-
<span class="
|
815
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
816
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
817
|
-
<
|
818
|
-
<
|
809
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_picture_render (<em class="parameter"><code><span class="type">Display</span> *display</code></em>,
|
810
|
+
<em class="parameter"><code><span class="type">Picture</span> src_picture</code></em>,
|
811
|
+
<em class="parameter"><code><span class="type">Picture</span> dest_picture</code></em>,
|
812
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
813
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
814
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
815
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
819
816
|
<p>
|
820
|
-
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto an Xrender <span class="type">Picture</span> object
|
817
|
+
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto an Xrender <span class="type">Picture</span> object.
|
818
|
+
</p>
|
821
819
|
<div class="variablelist"><table border="0">
|
822
820
|
<col align="left" valign="top">
|
823
821
|
<tbody>
|
824
822
|
<tr>
|
825
823
|
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
826
|
-
<td>
|
824
|
+
<td>an X display
|
827
825
|
</td>
|
828
826
|
</tr>
|
829
827
|
<tr>
|
830
828
|
<td><p><span class="term"><em class="parameter"><code>src_picture</code></em> :</span></p></td>
|
831
|
-
<td>
|
829
|
+
<td>the source picture to draw the string with
|
832
830
|
</td>
|
833
831
|
</tr>
|
834
832
|
<tr>
|
835
833
|
<td><p><span class="term"><em class="parameter"><code>dest_picture</code></em> :</span></p></td>
|
836
|
-
<td>
|
834
|
+
<td>the destination picture to draw the string onto
|
837
835
|
</td>
|
838
836
|
</tr>
|
839
837
|
<tr>
|
840
838
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
841
|
-
<td>
|
839
|
+
<td>the font in which to draw the string
|
842
840
|
</td>
|
843
841
|
</tr>
|
844
842
|
<tr>
|
845
843
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
846
|
-
<td>
|
844
|
+
<td>the glyph string to draw
|
847
845
|
</td>
|
848
846
|
</tr>
|
849
847
|
<tr>
|
850
848
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
851
|
-
<td>
|
849
|
+
<td>the x position of start of string (in pixels)
|
852
850
|
</td>
|
853
851
|
</tr>
|
854
852
|
<tr>
|
855
853
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
856
|
-
<td>
|
854
|
+
<td>the y position of baseline (in pixels)
|
857
855
|
</td>
|
858
856
|
</tr>
|
859
857
|
</tbody>
|
860
858
|
</table></div>
|
861
859
|
</div>
|
862
860
|
<hr>
|
863
|
-
<div class="refsect2"
|
861
|
+
<div class="refsect2">
|
864
862
|
<a name="pango-xft-render-transformed"></a><h3>pango_xft_render_transformed ()</h3>
|
865
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_render_transformed (<span class="
|
866
|
-
<span class="
|
867
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
868
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
869
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
870
|
-
<span class="
|
871
|
-
<span class="
|
863
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_render_transformed (<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>,
|
864
|
+
<em class="parameter"><code><span class="type">XftColor</span> *color</code></em>,
|
865
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>,
|
866
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
867
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
|
868
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
869
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
872
870
|
<p>
|
873
|
-
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto a <span class="type">XftDraw</span>, possibly
|
871
|
+
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto a <span class="type">XftDraw</span>, possibly
|
874
872
|
transforming the layed-out coordinates through a transformation
|
875
873
|
matrix. Note that the transformation matrix for <em class="parameter"><code>font</code></em> is not
|
876
874
|
changed, so to produce correct rendering results, the <em class="parameter"><code>font</code></em>
|
877
875
|
must have been loaded using a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> with an identical
|
878
|
-
transformation matrix to that passed in to this function
|
876
|
+
transformation matrix to that passed in to this function.
|
877
|
+
</p>
|
879
878
|
<div class="variablelist"><table border="0">
|
880
879
|
<col align="left" valign="top">
|
881
880
|
<tbody>
|
882
881
|
<tr>
|
883
882
|
<td><p><span class="term"><em class="parameter"><code>draw</code></em> :</span></p></td>
|
884
|
-
<td>
|
883
|
+
<td>an <span class="type">XftDraw</span>
|
885
884
|
</td>
|
886
885
|
</tr>
|
887
886
|
<tr>
|
888
887
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
889
|
-
<td>
|
888
|
+
<td>the color in which to draw the glyphs
|
890
889
|
</td>
|
891
890
|
</tr>
|
892
891
|
<tr>
|
893
892
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
894
|
-
<td>
|
893
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to use an identity transformation
|
895
894
|
</td>
|
896
895
|
</tr>
|
897
896
|
<tr>
|
898
897
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
899
|
-
<td>
|
898
|
+
<td>the font in which to draw the string
|
900
899
|
</td>
|
901
900
|
</tr>
|
902
901
|
<tr>
|
903
902
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
904
|
-
<td>
|
903
|
+
<td>the glyph string to draw
|
905
904
|
</td>
|
906
905
|
</tr>
|
907
906
|
<tr>
|
908
907
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
909
|
-
<td>
|
908
|
+
<td>the x position of the start of the string (in Pango
|
910
909
|
units in user space coordinates)
|
911
910
|
</td>
|
912
911
|
</tr>
|
913
912
|
<tr>
|
914
913
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
915
|
-
<td>
|
914
|
+
<td>the y position of the baseline (in Pango units
|
916
915
|
in user space coordinates)
|
917
916
|
</td>
|
918
917
|
</tr>
|
@@ -921,42 +920,43 @@ transformation matrix to that passed in to this function.</p>
|
|
921
920
|
<p class="since">Since 1.8</p>
|
922
921
|
</div>
|
923
922
|
<hr>
|
924
|
-
<div class="refsect2"
|
923
|
+
<div class="refsect2">
|
925
924
|
<a name="pango-xft-render-layout-line"></a><h3>pango_xft_render_layout_line ()</h3>
|
926
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_render_layout_line (<span class="
|
927
|
-
<span class="
|
928
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="
|
929
|
-
<span class="
|
930
|
-
<span class="
|
925
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_render_layout_line (<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>,
|
926
|
+
<em class="parameter"><code><span class="type">XftColor</span> *color</code></em>,
|
927
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
|
928
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
929
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
931
930
|
<p>
|
932
|
-
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto a <span class="type">XftDraw</span
|
931
|
+
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto a <span class="type">XftDraw</span>
|
932
|
+
</p>
|
933
933
|
<div class="variablelist"><table border="0">
|
934
934
|
<col align="left" valign="top">
|
935
935
|
<tbody>
|
936
936
|
<tr>
|
937
937
|
<td><p><span class="term"><em class="parameter"><code>draw</code></em> :</span></p></td>
|
938
|
-
<td>
|
938
|
+
<td>an <span class="type">XftDraw</span>
|
939
939
|
</td>
|
940
940
|
</tr>
|
941
941
|
<tr>
|
942
942
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
943
|
-
<td>
|
943
|
+
<td>the foreground color in which to draw the layout line
|
944
944
|
(may be overridden by color attributes)
|
945
945
|
</td>
|
946
946
|
</tr>
|
947
947
|
<tr>
|
948
948
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
949
|
-
<td>
|
949
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
950
950
|
</td>
|
951
951
|
</tr>
|
952
952
|
<tr>
|
953
953
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
954
|
-
<td>
|
954
|
+
<td>the x position of start of string (in Pango units)
|
955
955
|
</td>
|
956
956
|
</tr>
|
957
957
|
<tr>
|
958
958
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
959
|
-
<td>
|
959
|
+
<td>the y position of baseline (in Pango units)
|
960
960
|
</td>
|
961
961
|
</tr>
|
962
962
|
</tbody>
|
@@ -964,42 +964,43 @@ Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title=
|
|
964
964
|
<p class="since">Since 1.8</p>
|
965
965
|
</div>
|
966
966
|
<hr>
|
967
|
-
<div class="refsect2"
|
967
|
+
<div class="refsect2">
|
968
968
|
<a name="pango-xft-render-layout"></a><h3>pango_xft_render_layout ()</h3>
|
969
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_render_layout (<span class="
|
970
|
-
<span class="
|
971
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="
|
972
|
-
<span class="
|
973
|
-
<span class="
|
969
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_xft_render_layout (<em class="parameter"><code><span class="type">XftDraw</span> *draw</code></em>,
|
970
|
+
<em class="parameter"><code><span class="type">XftColor</span> *color</code></em>,
|
971
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
972
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
973
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
974
974
|
<p>
|
975
|
-
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> onto a <span class="type">XftDraw</span
|
975
|
+
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> onto a <span class="type">XftDraw</span>
|
976
|
+
</p>
|
976
977
|
<div class="variablelist"><table border="0">
|
977
978
|
<col align="left" valign="top">
|
978
979
|
<tbody>
|
979
980
|
<tr>
|
980
981
|
<td><p><span class="term"><em class="parameter"><code>draw</code></em> :</span></p></td>
|
981
|
-
<td>
|
982
|
+
<td>an <span class="type">XftDraw</span>
|
982
983
|
</td>
|
983
984
|
</tr>
|
984
985
|
<tr>
|
985
986
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
986
|
-
<td>
|
987
|
+
<td>the foreground color in which to draw the layout
|
987
988
|
(may be overridden by color attributes)
|
988
989
|
</td>
|
989
990
|
</tr>
|
990
991
|
<tr>
|
991
992
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
992
|
-
<td>
|
993
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
993
994
|
</td>
|
994
995
|
</tr>
|
995
996
|
<tr>
|
996
997
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
997
|
-
<td>
|
998
|
+
<td>the X position of the left of the layout (in Pango units)
|
998
999
|
</td>
|
999
1000
|
</tr>
|
1000
1001
|
<tr>
|
1001
1002
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1002
|
-
<td>
|
1003
|
+
<td>the Y position of the top of the layout (in Pango units)
|
1003
1004
|
</td>
|
1004
1005
|
</tr>
|
1005
1006
|
</tbody>
|
@@ -1007,17 +1008,17 @@ Render a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span clas
|
|
1007
1008
|
<p class="since">Since 1.8</p>
|
1008
1009
|
</div>
|
1009
1010
|
</div>
|
1010
|
-
<div class="refsect1"
|
1011
|
+
<div class="refsect1">
|
1011
1012
|
<a name="pango-Xft-Fonts-and-Rendering.property-details"></a><h2>Property Details</h2>
|
1012
|
-
<div class="refsect2"
|
1013
|
+
<div class="refsect2">
|
1013
1014
|
<a name="PangoXftRenderer--display"></a><h3>The <code class="literal">"display"</code> property</h3>
|
1014
|
-
<pre class="programlisting"> "display" <
|
1015
|
+
<pre class="programlisting"> "display" <span class="type">gpointer</span> : Write / Construct Only</pre>
|
1015
1016
|
<p>The display being rendered to.</p>
|
1016
1017
|
</div>
|
1017
1018
|
<hr>
|
1018
|
-
<div class="refsect2"
|
1019
|
+
<div class="refsect2">
|
1019
1020
|
<a name="PangoXftRenderer--screen"></a><h3>The <code class="literal">"screen"</code> property</h3>
|
1020
|
-
<pre class="programlisting"> "screen" <
|
1021
|
+
<pre class="programlisting"> "screen" <span class="type">gint</span> : Write / Construct Only</pre>
|
1021
1022
|
<p>The screen being rendered to.</p>
|
1022
1023
|
<p>Allowed values: >= 0</p>
|
1023
1024
|
<p>Default value: 0</p>
|
@@ -1026,6 +1027,6 @@ Render a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span clas
|
|
1026
1027
|
</div>
|
1027
1028
|
<div class="footer">
|
1028
1029
|
<hr>
|
1029
|
-
Generated by GTK-Doc V1.
|
1030
|
+
Generated by GTK-Doc V1.15.1</div>
|
1030
1031
|
</body>
|
1031
1032
|
</html>
|