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="rendering.html" title="Rendering with Pango">
|
10
10
|
<link rel="next" href="pango-FreeType-Fonts-and-Rendering.html" title="FreeType Fonts and 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">
|
@@ -47,7 +26,7 @@
|
|
47
26
|
<a href="#pango-Win32-Fonts-and-Rendering.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-Win32-Fonts-and-Rendering"></a><div class="titlepage"></div>
|
52
31
|
<div class="refnamediv"><table width="100%"><tr>
|
53
32
|
<td valign="top">
|
@@ -56,89 +35,90 @@
|
|
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-Win32-Fonts-and-Rendering.synopsis"></a><h2>Synopsis</h2>
|
61
40
|
<pre class="synopsis">#define <a class="link" href="pango-Win32-Fonts-and-Rendering.html#PANGO-RENDER-TYPE-WIN32:CAPS" title="PANGO_RENDER_TYPE_WIN32">PANGO_RENDER_TYPE_WIN32</a>
|
62
|
-
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-get-context" title="pango_win32_get_context ()">pango_win32_get_context</a> (void);
|
63
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-render" title="pango_win32_render ()">pango_win32_render</a> (<span class="
|
64
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
65
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
66
|
-
<
|
67
|
-
<
|
68
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-render-transformed" title="pango_win32_render_transformed ()">pango_win32_render_transformed</a> (<span class="
|
69
|
-
const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
70
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
71
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
72
|
-
<span class="
|
73
|
-
<span class="
|
74
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-render-layout-line" title="pango_win32_render_layout_line ()">pango_win32_render_layout_line</a> (<span class="
|
75
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="
|
76
|
-
<span class="
|
77
|
-
<span class="
|
78
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-render-layout" title="pango_win32_render_layout ()">pango_win32_render_layout</a> (<span class="
|
79
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="
|
80
|
-
<span class="
|
81
|
-
<span class="
|
82
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-get-unknown-glyph" title="pango_win32_get_unknown_glyph ()">pango_win32_get_unknown_glyph</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
83
|
-
<
|
84
|
-
<
|
85
|
-
<
|
86
|
-
<
|
87
|
-
<span class="
|
88
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-done-font" title="pango_win32_font_done_font ()">pango_win32_font_done_font</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
89
|
-
<span class="returnvalue">double</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-get-metrics-factor" title="pango_win32_font_get_metrics_factor ()">pango_win32_font_get_metrics_factor</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
90
|
-
<
|
91
|
-
<span class="returnvalue">HDC</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-get-dc" title="pango_win32_get_dc ()">pango_win32_get_dc</a> (void);
|
41
|
+
<a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-get-context" title="pango_win32_get_context ()">pango_win32_get_context</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
42
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-render" title="pango_win32_render ()">pango_win32_render</a> (<em class="parameter"><code><span class="type">HDC</span> hdc</code></em>,
|
43
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
44
|
+
<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>,
|
45
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
46
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>);
|
47
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-render-transformed" title="pango_win32_render_transformed ()">pango_win32_render_transformed</a> (<em class="parameter"><code><span class="type">HDC</span> hdc</code></em>,
|
48
|
+
<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>,
|
49
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
50
|
+
<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>,
|
51
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
52
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
53
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-render-layout-line" title="pango_win32_render_layout_line ()">pango_win32_render_layout_line</a> (<em class="parameter"><code><span class="type">HDC</span> hdc</code></em>,
|
54
|
+
<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>,
|
55
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
56
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
57
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-render-layout" title="pango_win32_render_layout ()">pango_win32_render_layout</a> (<em class="parameter"><code><span class="type">HDC</span> hdc</code></em>,
|
58
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
59
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
60
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
61
|
+
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-get-unknown-glyph" title="pango_win32_get_unknown_glyph ()">pango_win32_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>,
|
62
|
+
<em class="parameter"><code><span class="type">gunichar</span> wc</code></em>);
|
63
|
+
<span class="returnvalue">gint</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-get-glyph-index" title="pango_win32_font_get_glyph_index ()">pango_win32_font_get_glyph_index</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
64
|
+
<em class="parameter"><code><span class="type">gunichar</span> wc</code></em>);
|
65
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-select-font" title="pango_win32_font_select_font ()">pango_win32_font_select_font</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
66
|
+
<em class="parameter"><code><span class="type">HDC</span> hdc</code></em>);
|
67
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-done-font" title="pango_win32_font_done_font ()">pango_win32_font_done_font</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">double</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-get-metrics-factor" title="pango_win32_font_get_metrics_factor ()">pango_win32_font_get_metrics_factor</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
69
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-get-debug-flag" title="pango_win32_get_debug_flag ()">pango_win32_get_debug_flag</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
70
|
+
<span class="returnvalue">HDC</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-get-dc" title="pango_win32_get_dc ()">pango_win32_get_dc</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
92
71
|
<a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache">PangoWin32FontCache</a>;
|
93
|
-
<a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="returnvalue">PangoWin32FontCache</span></a> * <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-cache-new" title="pango_win32_font_cache_new ()">pango_win32_font_cache_new</a> (void);
|
94
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-cache-free" title="pango_win32_font_cache_free ()">pango_win32_font_cache_free</a> (<a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="
|
95
|
-
<span class="returnvalue">HFONT</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-cache-load" title="pango_win32_font_cache_load ()">pango_win32_font_cache_load</a> (<a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="
|
96
|
-
const <span class="
|
97
|
-
<span class="returnvalue">HFONT</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-cache-loadw" title="pango_win32_font_cache_loadw ()">pango_win32_font_cache_loadw</a> (<a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="
|
98
|
-
const <span class="
|
99
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-cache-unload" title="pango_win32_font_cache_unload ()">pango_win32_font_cache_unload</a> (<a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="
|
100
|
-
<span class="
|
101
|
-
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-map-for-display" title="pango_win32_font_map_for_display ()">pango_win32_font_map_for_display</a> (void);
|
102
|
-
<span class="returnvalue">void</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-shutdown-display" title="pango_win32_shutdown_display ()">pango_win32_shutdown_display</a> (void);
|
72
|
+
<a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="returnvalue">PangoWin32FontCache</span></a> * <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-cache-new" title="pango_win32_font_cache_new ()">pango_win32_font_cache_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
73
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-cache-free" title="pango_win32_font_cache_free ()">pango_win32_font_cache_free</a> (<em class="parameter"><code><a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a> *cache</code></em>);
|
74
|
+
<span class="returnvalue">HFONT</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-cache-load" title="pango_win32_font_cache_load ()">pango_win32_font_cache_load</a> (<em class="parameter"><code><a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a> *cache</code></em>,
|
75
|
+
<em class="parameter"><code>const <span class="type">LOGFONTA</span> *logfont</code></em>);
|
76
|
+
<span class="returnvalue">HFONT</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-cache-loadw" title="pango_win32_font_cache_loadw ()">pango_win32_font_cache_loadw</a> (<em class="parameter"><code><a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a> *cache</code></em>,
|
77
|
+
<em class="parameter"><code>const <span class="type">LOGFONTW</span> *logfont</code></em>);
|
78
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-cache-unload" title="pango_win32_font_cache_unload ()">pango_win32_font_cache_unload</a> (<em class="parameter"><code><a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a> *cache</code></em>,
|
79
|
+
<em class="parameter"><code><span class="type">HFONT</span> hfont</code></em>);
|
80
|
+
<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-map-for-display" title="pango_win32_font_map_for_display ()">pango_win32_font_map_for_display</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
81
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-shutdown-display" title="pango_win32_shutdown_display ()">pango_win32_shutdown_display</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
103
82
|
<a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="returnvalue">PangoWin32FontCache</span></a> * <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-map-get-font-cache" title="pango_win32_font_map_get_font_cache ()">pango_win32_font_map_get_font_cache</a>
|
104
|
-
(<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="
|
105
|
-
<span class="returnvalue">LOGFONTA</span> * <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-logfont" title="pango_win32_font_logfont ()">pango_win32_font_logfont</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
106
|
-
<span class="returnvalue">LOGFONTW</span> * <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-logfontw" title="pango_win32_font_logfontw ()">pango_win32_font_logfontw</a> (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
83
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *font_map</code></em>);
|
84
|
+
<span class="returnvalue">LOGFONTA</span> * <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-logfont" title="pango_win32_font_logfont ()">pango_win32_font_logfont</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
85
|
+
<span class="returnvalue">LOGFONTW</span> * <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-logfontw" title="pango_win32_font_logfontw ()">pango_win32_font_logfontw</a> (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);
|
107
86
|
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-description-from-logfont" title="pango_win32_font_description_from_logfont ()">pango_win32_font_description_from_logfont</a>
|
108
|
-
(const <span class="
|
87
|
+
(<em class="parameter"><code>const <span class="type">LOGFONTA</span> *lfp</code></em>);
|
109
88
|
<a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-description-from-logfontw" title="pango_win32_font_description_from_logfontw ()">pango_win32_font_description_from_logfontw</a>
|
110
|
-
(const <span class="
|
89
|
+
(<em class="parameter"><code>const <span class="type">LOGFONTW</span> *lfp</code></em>);
|
111
90
|
</pre>
|
112
91
|
</div>
|
113
|
-
<div class="refsect1"
|
92
|
+
<div class="refsect1">
|
114
93
|
<a name="pango-Win32-Fonts-and-Rendering.description"></a><h2>Description</h2>
|
115
94
|
<p>
|
116
95
|
The macros and functions in this section are used to access fonts natively on
|
117
96
|
Win32 systems and to render text in conjunction with Win32 APIs.
|
118
97
|
</p>
|
119
98
|
</div>
|
120
|
-
<div class="refsect1"
|
99
|
+
<div class="refsect1">
|
121
100
|
<a name="pango-Win32-Fonts-and-Rendering.details"></a><h2>Details</h2>
|
122
|
-
<div class="refsect2"
|
101
|
+
<div class="refsect2">
|
123
102
|
<a name="PANGO-RENDER-TYPE-WIN32:CAPS"></a><h3>PANGO_RENDER_TYPE_WIN32</h3>
|
124
103
|
<pre class="programlisting">#define PANGO_RENDER_TYPE_WIN32 "PangoRenderWin32"
|
125
104
|
</pre>
|
126
105
|
<p>
|
127
106
|
A string constant identifying the Win32 renderer. The associated quark (see
|
128
|
-
<
|
107
|
+
<code class="function">g_quark_from_string()</code>) is used to identify the renderer in <a class="link" href="pango-Modules.html#pango-find-map" title="pango_find_map ()"><code class="function">pango_find_map()</code></a>.
|
129
108
|
</p>
|
130
109
|
</div>
|
131
110
|
<hr>
|
132
|
-
<div class="refsect2"
|
111
|
+
<div class="refsect2">
|
133
112
|
<a name="pango-win32-get-context"></a><h3>pango_win32_get_context ()</h3>
|
134
|
-
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_win32_get_context (void);</pre>
|
135
|
-
<div class="warning"
|
113
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Processing.html#PangoContext"><span class="returnvalue">PangoContext</span></a> * pango_win32_get_context (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
114
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
136
115
|
<h3 class="title">Warning</h3>
|
137
116
|
<p><code class="literal">pango_win32_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-Win32-Fonts-and-Rendering.html#pango-win32-font-map-for-display" title="pango_win32_font_map_for_display ()"><code class="function">pango_win32_font_map_for_display()</code></a> followed by
|
138
117
|
<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>
|
139
118
|
</div>
|
140
119
|
<p>
|
141
|
-
Retrieves a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> appropriate for rendering with Windows fonts
|
120
|
+
Retrieves a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> appropriate for rendering with Windows fonts.
|
121
|
+
</p>
|
142
122
|
<div class="variablelist"><table border="0">
|
143
123
|
<col align="left" valign="top">
|
144
124
|
<tbody><tr>
|
@@ -150,94 +130,96 @@ Retrieves a <a class="link" href="pango-Text-Processing.html#PangoContext"><span
|
|
150
130
|
</table></div>
|
151
131
|
</div>
|
152
132
|
<hr>
|
153
|
-
<div class="refsect2"
|
133
|
+
<div class="refsect2">
|
154
134
|
<a name="pango-win32-render"></a><h3>pango_win32_render ()</h3>
|
155
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_render (<span class="
|
156
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
157
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
158
|
-
<
|
159
|
-
<
|
135
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_render (<em class="parameter"><code><span class="type">HDC</span> hdc</code></em>,
|
136
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
137
|
+
<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>,
|
138
|
+
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
139
|
+
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
160
140
|
<p>
|
161
|
-
Render a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto a Windows DC
|
141
|
+
Render a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto a Windows DC
|
142
|
+
</p>
|
162
143
|
<div class="variablelist"><table border="0">
|
163
144
|
<col align="left" valign="top">
|
164
145
|
<tbody>
|
165
146
|
<tr>
|
166
147
|
<td><p><span class="term"><em class="parameter"><code>hdc</code></em> :</span></p></td>
|
167
|
-
<td>
|
148
|
+
<td>the device context
|
168
149
|
</td>
|
169
150
|
</tr>
|
170
151
|
<tr>
|
171
152
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
172
|
-
<td>
|
153
|
+
<td>the font in which to draw the string
|
173
154
|
</td>
|
174
155
|
</tr>
|
175
156
|
<tr>
|
176
157
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
177
|
-
<td>
|
158
|
+
<td>the glyph string to draw
|
178
159
|
</td>
|
179
160
|
</tr>
|
180
161
|
<tr>
|
181
162
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
182
|
-
<td>
|
163
|
+
<td>the x position of start of string (in pixels)
|
183
164
|
</td>
|
184
165
|
</tr>
|
185
166
|
<tr>
|
186
167
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
187
|
-
<td>
|
168
|
+
<td>the y position of baseline (in pixels)
|
188
169
|
</td>
|
189
170
|
</tr>
|
190
171
|
</tbody>
|
191
172
|
</table></div>
|
192
173
|
</div>
|
193
174
|
<hr>
|
194
|
-
<div class="refsect2"
|
175
|
+
<div class="refsect2">
|
195
176
|
<a name="pango-win32-render-transformed"></a><h3>pango_win32_render_transformed ()</h3>
|
196
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_render_transformed (<span class="
|
197
|
-
const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="
|
198
|
-
<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
199
|
-
<a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="
|
200
|
-
<span class="
|
201
|
-
<span class="
|
177
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_render_transformed (<em class="parameter"><code><span class="type">HDC</span> hdc</code></em>,
|
178
|
+
<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>,
|
179
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
180
|
+
<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>,
|
181
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
182
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
202
183
|
<p>
|
203
|
-
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto a windows DC, possibly
|
184
|
+
Renders a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto a windows DC, possibly
|
204
185
|
transforming the layed-out coordinates through a transformation
|
205
186
|
matrix. Note that the transformation matrix for <em class="parameter"><code>font</code></em> is not
|
206
187
|
changed, so to produce correct rendering results, the <em class="parameter"><code>font</code></em>
|
207
188
|
must have been loaded using a <a class="link" href="pango-Text-Processing.html#PangoContext"><span class="type">PangoContext</span></a> with an identical
|
208
|
-
transformation matrix to that passed in to this function
|
189
|
+
transformation matrix to that passed in to this function.
|
190
|
+
</p>
|
209
191
|
<div class="variablelist"><table border="0">
|
210
192
|
<col align="left" valign="top">
|
211
193
|
<tbody>
|
212
194
|
<tr>
|
213
195
|
<td><p><span class="term"><em class="parameter"><code>hdc</code></em> :</span></p></td>
|
214
|
-
<td>
|
196
|
+
<td>a windows device context
|
215
197
|
</td>
|
216
198
|
</tr>
|
217
199
|
<tr>
|
218
200
|
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
219
|
-
<td>
|
201
|
+
<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
|
220
202
|
</td>
|
221
203
|
</tr>
|
222
204
|
<tr>
|
223
205
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
224
|
-
<td>
|
206
|
+
<td>the font in which to draw the string
|
225
207
|
</td>
|
226
208
|
</tr>
|
227
209
|
<tr>
|
228
210
|
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
229
|
-
<td>
|
211
|
+
<td>the glyph string to draw
|
230
212
|
</td>
|
231
213
|
</tr>
|
232
214
|
<tr>
|
233
215
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
234
|
-
<td>
|
216
|
+
<td>the x position of the start of the string (in Pango
|
235
217
|
units in user space coordinates)
|
236
218
|
</td>
|
237
219
|
</tr>
|
238
220
|
<tr>
|
239
221
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
240
|
-
<td>
|
222
|
+
<td>the y position of the baseline (in Pango units
|
241
223
|
in user space coordinates)
|
242
224
|
</td>
|
243
225
|
</tr>
|
@@ -245,83 +227,85 @@ transformation matrix to that passed in to this function.</p>
|
|
245
227
|
</table></div>
|
246
228
|
</div>
|
247
229
|
<hr>
|
248
|
-
<div class="refsect2"
|
230
|
+
<div class="refsect2">
|
249
231
|
<a name="pango-win32-render-layout-line"></a><h3>pango_win32_render_layout_line ()</h3>
|
250
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_render_layout_line (<span class="
|
251
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="
|
252
|
-
<span class="
|
253
|
-
<span class="
|
232
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_render_layout_line (<em class="parameter"><code><span class="type">HDC</span> hdc</code></em>,
|
233
|
+
<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>,
|
234
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
235
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
254
236
|
<p>
|
255
|
-
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto a device context. For underlining to
|
237
|
+
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto a device context. For underlining to
|
256
238
|
work property the text alignment of the DC should have TA_BASELINE
|
257
|
-
and TA_LEFT
|
239
|
+
and TA_LEFT.
|
240
|
+
</p>
|
258
241
|
<div class="variablelist"><table border="0">
|
259
242
|
<col align="left" valign="top">
|
260
243
|
<tbody>
|
261
244
|
<tr>
|
262
245
|
<td><p><span class="term"><em class="parameter"><code>hdc</code></em> :</span></p></td>
|
263
|
-
<td>
|
246
|
+
<td>DC to use for uncolored drawing
|
264
247
|
</td>
|
265
248
|
</tr>
|
266
249
|
<tr>
|
267
250
|
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
268
|
-
<td>
|
251
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
269
252
|
</td>
|
270
253
|
</tr>
|
271
254
|
<tr>
|
272
255
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
273
|
-
<td>
|
256
|
+
<td>the x position of start of string (in pixels)
|
274
257
|
</td>
|
275
258
|
</tr>
|
276
259
|
<tr>
|
277
260
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
278
|
-
<td>
|
261
|
+
<td>the y position of baseline (in pixels)
|
279
262
|
</td>
|
280
263
|
</tr>
|
281
264
|
</tbody>
|
282
265
|
</table></div>
|
283
266
|
</div>
|
284
267
|
<hr>
|
285
|
-
<div class="refsect2"
|
268
|
+
<div class="refsect2">
|
286
269
|
<a name="pango-win32-render-layout"></a><h3>pango_win32_render_layout ()</h3>
|
287
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_render_layout (<span class="
|
288
|
-
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="
|
289
|
-
<span class="
|
290
|
-
<span class="
|
270
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_render_layout (<em class="parameter"><code><span class="type">HDC</span> hdc</code></em>,
|
271
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
272
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
273
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
291
274
|
<p>
|
292
|
-
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto an X drawable
|
275
|
+
Render a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> onto an X drawable
|
276
|
+
</p>
|
293
277
|
<div class="variablelist"><table border="0">
|
294
278
|
<col align="left" valign="top">
|
295
279
|
<tbody>
|
296
280
|
<tr>
|
297
281
|
<td><p><span class="term"><em class="parameter"><code>hdc</code></em> :</span></p></td>
|
298
|
-
<td>
|
282
|
+
<td>HDC to use for uncolored drawing
|
299
283
|
</td>
|
300
284
|
</tr>
|
301
285
|
<tr>
|
302
286
|
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
303
|
-
<td>
|
287
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
304
288
|
</td>
|
305
289
|
</tr>
|
306
290
|
<tr>
|
307
291
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
308
|
-
<td>
|
292
|
+
<td>the X position of the left of the layout (in pixels)
|
309
293
|
</td>
|
310
294
|
</tr>
|
311
295
|
<tr>
|
312
296
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
313
|
-
<td>
|
297
|
+
<td>the Y position of the top of the layout (in pixels)
|
314
298
|
</td>
|
315
299
|
</tr>
|
316
300
|
</tbody>
|
317
301
|
</table></div>
|
318
302
|
</div>
|
319
303
|
<hr>
|
320
|
-
<div class="refsect2"
|
304
|
+
<div class="refsect2">
|
321
305
|
<a name="pango-win32-get-unknown-glyph"></a><h3>pango_win32_get_unknown_glyph ()</h3>
|
322
|
-
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> pango_win32_get_unknown_glyph (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
323
|
-
<
|
324
|
-
<div class="warning"
|
306
|
+
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="returnvalue">PangoGlyph</span></a> pango_win32_get_unknown_glyph (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
307
|
+
<em class="parameter"><code><span class="type">gunichar</span> wc</code></em>);</pre>
|
308
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
325
309
|
<h3 class="title">Warning</h3>
|
326
310
|
<p><code class="literal">pango_win32_get_unknown_glyph</code> is deprecated and should not be used in newly-written code.</p>
|
327
311
|
</div>
|
@@ -330,18 +314,19 @@ Returns the index of a glyph suitable for drawing <em class="parameter"><code>wc
|
|
330
314
|
unknown character.
|
331
315
|
</p>
|
332
316
|
<p>
|
333
|
-
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
|
317
|
+
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.
|
318
|
+
</p>
|
334
319
|
<div class="variablelist"><table border="0">
|
335
320
|
<col align="left" valign="top">
|
336
321
|
<tbody>
|
337
322
|
<tr>
|
338
323
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
339
|
-
<td>
|
324
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
340
325
|
</td>
|
341
326
|
</tr>
|
342
327
|
<tr>
|
343
328
|
<td><p><span class="term"><em class="parameter"><code>wc</code></em> :</span></p></td>
|
344
|
-
<td>
|
329
|
+
<td>the Unicode character for which a glyph is needed.
|
345
330
|
</td>
|
346
331
|
</tr>
|
347
332
|
<tr>
|
@@ -353,24 +338,25 @@ Use <a class="link" href="pango-Glyph-Storage.html#PANGO-GET-UNKNOWN-GLYPH:CAPS"
|
|
353
338
|
</table></div>
|
354
339
|
</div>
|
355
340
|
<hr>
|
356
|
-
<div class="refsect2"
|
341
|
+
<div class="refsect2">
|
357
342
|
<a name="pango-win32-font-get-glyph-index"></a><h3>pango_win32_font_get_glyph_index ()</h3>
|
358
|
-
<pre class="programlisting"><
|
359
|
-
<
|
343
|
+
<pre class="programlisting"><span class="returnvalue">gint</span> pango_win32_font_get_glyph_index (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
344
|
+
<em class="parameter"><code><span class="type">gunichar</span> wc</code></em>);</pre>
|
360
345
|
<p>
|
361
346
|
Obtains the index of the glyph for <em class="parameter"><code>wc</code></em> in <em class="parameter"><code>font</code></em>, or 0, if not
|
362
|
-
covered
|
347
|
+
covered.
|
348
|
+
</p>
|
363
349
|
<div class="variablelist"><table border="0">
|
364
350
|
<col align="left" valign="top">
|
365
351
|
<tbody>
|
366
352
|
<tr>
|
367
353
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
368
|
-
<td>
|
354
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>.
|
369
355
|
</td>
|
370
356
|
</tr>
|
371
357
|
<tr>
|
372
358
|
<td><p><span class="term"><em class="parameter"><code>wc</code></em> :</span></p></td>
|
373
|
-
<td>
|
359
|
+
<td>a Unicode character.
|
374
360
|
</td>
|
375
361
|
</tr>
|
376
362
|
<tr>
|
@@ -382,10 +368,10 @@ covered.</p>
|
|
382
368
|
</table></div>
|
383
369
|
</div>
|
384
370
|
<hr>
|
385
|
-
<div class="refsect2"
|
371
|
+
<div class="refsect2">
|
386
372
|
<a name="pango-win32-font-select-font"></a><h3>pango_win32_font_select_font ()</h3>
|
387
|
-
<pre class="programlisting"><
|
388
|
-
<span class="
|
373
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_win32_font_select_font (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
374
|
+
<em class="parameter"><code><span class="type">HDC</span> hdc</code></em>);</pre>
|
389
375
|
<p>
|
390
376
|
Selects the font into the specified DC and changes the mapping mode
|
391
377
|
and world transformation of the DC appropriately for the font.
|
@@ -396,57 +382,60 @@ you are done using the DC to release allocated resources.
|
|
396
382
|
<p>
|
397
383
|
See <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-get-metrics-factor" title="pango_win32_font_get_metrics_factor ()"><code class="function">pango_win32_font_get_metrics_factor()</code></a> for information about
|
398
384
|
converting from the coordinate space used by this function
|
399
|
-
into Pango units
|
385
|
+
into Pango units.
|
386
|
+
</p>
|
400
387
|
<div class="variablelist"><table border="0">
|
401
388
|
<col align="left" valign="top">
|
402
389
|
<tbody>
|
403
390
|
<tr>
|
404
391
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
405
|
-
<td>
|
392
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> from the Win32 backend
|
406
393
|
</td>
|
407
394
|
</tr>
|
408
395
|
<tr>
|
409
396
|
<td><p><span class="term"><em class="parameter"><code>hdc</code></em> :</span></p></td>
|
410
|
-
<td>
|
397
|
+
<td>a windows device context
|
411
398
|
</td>
|
412
399
|
</tr>
|
413
400
|
<tr>
|
414
401
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
415
|
-
<td> <
|
402
|
+
<td> <code class="literal">TRUE</code> if the operation succeeded.
|
416
403
|
</td>
|
417
404
|
</tr>
|
418
405
|
</tbody>
|
419
406
|
</table></div>
|
420
407
|
</div>
|
421
408
|
<hr>
|
422
|
-
<div class="refsect2"
|
409
|
+
<div class="refsect2">
|
423
410
|
<a name="pango-win32-font-done-font"></a><h3>pango_win32_font_done_font ()</h3>
|
424
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_font_done_font (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
411
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_font_done_font (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
425
412
|
<p>
|
426
|
-
Releases any resources allocated by <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-done-font" title="pango_win32_font_done_font ()"><code class="function">pango_win32_font_done_font()</code></a
|
413
|
+
Releases any resources allocated by <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-done-font" title="pango_win32_font_done_font ()"><code class="function">pango_win32_font_done_font()</code></a>
|
414
|
+
</p>
|
427
415
|
<div class="variablelist"><table border="0">
|
428
416
|
<col align="left" valign="top">
|
429
417
|
<tbody><tr>
|
430
418
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
431
|
-
<td>
|
419
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> from the win32 backend
|
432
420
|
</td>
|
433
421
|
</tr></tbody>
|
434
422
|
</table></div>
|
435
423
|
</div>
|
436
424
|
<hr>
|
437
|
-
<div class="refsect2"
|
425
|
+
<div class="refsect2">
|
438
426
|
<a name="pango-win32-font-get-metrics-factor"></a><h3>pango_win32_font_get_metrics_factor ()</h3>
|
439
|
-
<pre class="programlisting"><span class="returnvalue">double</span> pango_win32_font_get_metrics_factor (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
427
|
+
<pre class="programlisting"><span class="returnvalue">double</span> pango_win32_font_get_metrics_factor (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
440
428
|
<p>
|
441
429
|
Returns the scale factor from logical units in the coordinate
|
442
430
|
space used by <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-select-font" title="pango_win32_font_select_font ()"><code class="function">pango_win32_font_select_font()</code></a> to Pango units
|
443
|
-
in user space
|
431
|
+
in user space.
|
432
|
+
</p>
|
444
433
|
<div class="variablelist"><table border="0">
|
445
434
|
<col align="left" valign="top">
|
446
435
|
<tbody>
|
447
436
|
<tr>
|
448
437
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
449
|
-
<td>
|
438
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> from the win32 backend
|
450
439
|
</td>
|
451
440
|
</tr>
|
452
441
|
<tr>
|
@@ -459,16 +448,17 @@ in user space.</p>
|
|
459
448
|
</table></div>
|
460
449
|
</div>
|
461
450
|
<hr>
|
462
|
-
<div class="refsect2"
|
451
|
+
<div class="refsect2">
|
463
452
|
<a name="pango-win32-get-debug-flag"></a><h3>pango_win32_get_debug_flag ()</h3>
|
464
|
-
<pre class="programlisting"><
|
453
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> pango_win32_get_debug_flag (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
465
454
|
<p>
|
466
|
-
Returns whether debugging is turned on
|
455
|
+
Returns whether debugging is turned on.
|
456
|
+
</p>
|
467
457
|
<div class="variablelist"><table border="0">
|
468
458
|
<col align="left" valign="top">
|
469
459
|
<tbody><tr>
|
470
460
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
471
|
-
<td> <
|
461
|
+
<td> <code class="literal">TRUE</code> if debugging is turned on.
|
472
462
|
|
473
463
|
</td>
|
474
464
|
</tr></tbody>
|
@@ -476,11 +466,12 @@ Returns whether debugging is turned on.</p>
|
|
476
466
|
<p class="since">Since 1.2</p>
|
477
467
|
</div>
|
478
468
|
<hr>
|
479
|
-
<div class="refsect2"
|
469
|
+
<div class="refsect2">
|
480
470
|
<a name="pango-win32-get-dc"></a><h3>pango_win32_get_dc ()</h3>
|
481
|
-
<pre class="programlisting"><span class="returnvalue">HDC</span> pango_win32_get_dc (void);</pre>
|
471
|
+
<pre class="programlisting"><span class="returnvalue">HDC</span> pango_win32_get_dc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
482
472
|
<p>
|
483
|
-
Obtains a handle to the Windows device context that is used by Pango
|
473
|
+
Obtains a handle to the Windows device context that is used by Pango.
|
474
|
+
</p>
|
484
475
|
<div class="variablelist"><table border="0">
|
485
476
|
<col align="left" valign="top">
|
486
477
|
<tbody><tr>
|
@@ -491,7 +482,7 @@ Obtains a handle to the Windows device context that is used by Pango.</p>
|
|
491
482
|
</table></div>
|
492
483
|
</div>
|
493
484
|
<hr>
|
494
|
-
<div class="refsect2"
|
485
|
+
<div class="refsect2">
|
495
486
|
<a name="PangoWin32FontCache"></a><h3>PangoWin32FontCache</h3>
|
496
487
|
<pre class="programlisting">typedef struct _PangoWin32FontCache PangoWin32FontCache;</pre>
|
497
488
|
<p>
|
@@ -500,11 +491,12 @@ HFONTs by their LOGFONT descriptions.
|
|
500
491
|
</p>
|
501
492
|
</div>
|
502
493
|
<hr>
|
503
|
-
<div class="refsect2"
|
494
|
+
<div class="refsect2">
|
504
495
|
<a name="pango-win32-font-cache-new"></a><h3>pango_win32_font_cache_new ()</h3>
|
505
|
-
<pre class="programlisting"><a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="returnvalue">PangoWin32FontCache</span></a> * pango_win32_font_cache_new (void);</pre>
|
496
|
+
<pre class="programlisting"><a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="returnvalue">PangoWin32FontCache</span></a> * pango_win32_font_cache_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
506
497
|
<p>
|
507
|
-
Creates a font cache
|
498
|
+
Creates a font cache.
|
499
|
+
</p>
|
508
500
|
<div class="variablelist"><table border="0">
|
509
501
|
<col align="left" valign="top">
|
510
502
|
<tbody><tr>
|
@@ -516,46 +508,48 @@ Creates a font cache.</p>
|
|
516
508
|
</table></div>
|
517
509
|
</div>
|
518
510
|
<hr>
|
519
|
-
<div class="refsect2"
|
511
|
+
<div class="refsect2">
|
520
512
|
<a name="pango-win32-font-cache-free"></a><h3>pango_win32_font_cache_free ()</h3>
|
521
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_font_cache_free (<a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="
|
513
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_font_cache_free (<em class="parameter"><code><a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a> *cache</code></em>);</pre>
|
522
514
|
<p>
|
523
515
|
Frees a <a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a> and all associated memory. All fonts loaded
|
524
|
-
through this font cache will be freed along with the cache
|
516
|
+
through this font cache will be freed along with the cache.
|
517
|
+
</p>
|
525
518
|
<div class="variablelist"><table border="0">
|
526
519
|
<col align="left" valign="top">
|
527
520
|
<tbody><tr>
|
528
521
|
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
|
529
|
-
<td>
|
522
|
+
<td>a <a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a>
|
530
523
|
</td>
|
531
524
|
</tr></tbody>
|
532
525
|
</table></div>
|
533
526
|
</div>
|
534
527
|
<hr>
|
535
|
-
<div class="refsect2"
|
528
|
+
<div class="refsect2">
|
536
529
|
<a name="pango-win32-font-cache-load"></a><h3>pango_win32_font_cache_load ()</h3>
|
537
|
-
<pre class="programlisting"><span class="returnvalue">HFONT</span> pango_win32_font_cache_load (<a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="
|
538
|
-
const <span class="
|
530
|
+
<pre class="programlisting"><span class="returnvalue">HFONT</span> pango_win32_font_cache_load (<em class="parameter"><code><a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a> *cache</code></em>,
|
531
|
+
<em class="parameter"><code>const <span class="type">LOGFONTA</span> *logfont</code></em>);</pre>
|
539
532
|
<p>
|
540
533
|
Creates a HFONT from a LOGFONTA. The
|
541
534
|
result may be newly loaded, or it may have been previously
|
542
|
-
stored
|
535
|
+
stored
|
536
|
+
</p>
|
543
537
|
<div class="variablelist"><table border="0">
|
544
538
|
<col align="left" valign="top">
|
545
539
|
<tbody>
|
546
540
|
<tr>
|
547
541
|
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
|
548
|
-
<td>
|
542
|
+
<td>a <a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a>
|
549
543
|
</td>
|
550
544
|
</tr>
|
551
545
|
<tr>
|
552
546
|
<td><p><span class="term"><em class="parameter"><code>logfont</code></em> :</span></p></td>
|
553
|
-
<td>
|
547
|
+
<td>a pointer to a LOGFONTA structure describing the font to load.
|
554
548
|
</td>
|
555
549
|
</tr>
|
556
550
|
<tr>
|
557
551
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
558
|
-
<td> The font structure, or <a href="/usr/share/gtk-doc/html/
|
552
|
+
<td> The font structure, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if the font could
|
559
553
|
not be loaded. In order to free this structure, you must call
|
560
554
|
<a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-cache-unload" title="pango_win32_font_cache_unload ()"><code class="function">pango_win32_font_cache_unload()</code></a>.
|
561
555
|
</td>
|
@@ -564,30 +558,31 @@ not be loaded. In order to free this structure, you must call
|
|
564
558
|
</table></div>
|
565
559
|
</div>
|
566
560
|
<hr>
|
567
|
-
<div class="refsect2"
|
561
|
+
<div class="refsect2">
|
568
562
|
<a name="pango-win32-font-cache-loadw"></a><h3>pango_win32_font_cache_loadw ()</h3>
|
569
|
-
<pre class="programlisting"><span class="returnvalue">HFONT</span> pango_win32_font_cache_loadw (<a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="
|
570
|
-
const <span class="
|
563
|
+
<pre class="programlisting"><span class="returnvalue">HFONT</span> pango_win32_font_cache_loadw (<em class="parameter"><code><a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a> *cache</code></em>,
|
564
|
+
<em class="parameter"><code>const <span class="type">LOGFONTW</span> *logfont</code></em>);</pre>
|
571
565
|
<p>
|
572
566
|
Creates a HFONT from a LOGFONTW. The
|
573
567
|
result may be newly loaded, or it may have been previously
|
574
|
-
stored
|
568
|
+
stored
|
569
|
+
</p>
|
575
570
|
<div class="variablelist"><table border="0">
|
576
571
|
<col align="left" valign="top">
|
577
572
|
<tbody>
|
578
573
|
<tr>
|
579
574
|
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
|
580
|
-
<td>
|
575
|
+
<td>a <a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a>
|
581
576
|
</td>
|
582
577
|
</tr>
|
583
578
|
<tr>
|
584
579
|
<td><p><span class="term"><em class="parameter"><code>logfont</code></em> :</span></p></td>
|
585
|
-
<td>
|
580
|
+
<td>a pointer to a LOGFONTW structure describing the font to load.
|
586
581
|
</td>
|
587
582
|
</tr>
|
588
583
|
<tr>
|
589
584
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
590
|
-
<td> The font structure, or <a href="/usr/share/gtk-doc/html/
|
585
|
+
<td> The font structure, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if the font could
|
591
586
|
not be loaded. In order to free this structure, you must call
|
592
587
|
<a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-cache-unload" title="pango_win32_font_cache_unload ()"><code class="function">pango_win32_font_cache_unload()</code></a>.
|
593
588
|
|
@@ -598,36 +593,38 @@ not be loaded. In order to free this structure, you must call
|
|
598
593
|
<p class="since">Since 1.16</p>
|
599
594
|
</div>
|
600
595
|
<hr>
|
601
|
-
<div class="refsect2"
|
596
|
+
<div class="refsect2">
|
602
597
|
<a name="pango-win32-font-cache-unload"></a><h3>pango_win32_font_cache_unload ()</h3>
|
603
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_font_cache_unload (<a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="
|
604
|
-
<span class="
|
598
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_font_cache_unload (<em class="parameter"><code><a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a> *cache</code></em>,
|
599
|
+
<em class="parameter"><code><span class="type">HFONT</span> hfont</code></em>);</pre>
|
605
600
|
<p>
|
606
|
-
Frees a font structure previously loaded with <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-cache-load" title="pango_win32_font_cache_load ()"><code class="function">pango_win32_font_cache_load()</code></a
|
601
|
+
Frees a font structure previously loaded with <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-cache-load" title="pango_win32_font_cache_load ()"><code class="function">pango_win32_font_cache_load()</code></a>.
|
602
|
+
</p>
|
607
603
|
<div class="variablelist"><table border="0">
|
608
604
|
<col align="left" valign="top">
|
609
605
|
<tbody>
|
610
606
|
<tr>
|
611
607
|
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
|
612
|
-
<td>
|
608
|
+
<td>a <a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="type">PangoWin32FontCache</span></a>
|
613
609
|
</td>
|
614
610
|
</tr>
|
615
611
|
<tr>
|
616
612
|
<td><p><span class="term"><em class="parameter"><code>hfont</code></em> :</span></p></td>
|
617
|
-
<td>
|
613
|
+
<td>the HFONT to unload
|
618
614
|
</td>
|
619
615
|
</tr>
|
620
616
|
</tbody>
|
621
617
|
</table></div>
|
622
618
|
</div>
|
623
619
|
<hr>
|
624
|
-
<div class="refsect2"
|
620
|
+
<div class="refsect2">
|
625
621
|
<a name="pango-win32-font-map-for-display"></a><h3>pango_win32_font_map_for_display ()</h3>
|
626
|
-
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * pango_win32_font_map_for_display (void);</pre>
|
622
|
+
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="returnvalue">PangoFontMap</span></a> * pango_win32_font_map_for_display (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
627
623
|
<p>
|
628
624
|
Returns a <span class="type">PangoWin32FontMap</span>. Font maps are cached and should
|
629
625
|
not be freed. If the font map is no longer needed, it can
|
630
|
-
be released with <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-shutdown-display" title="pango_win32_shutdown_display ()"><code class="function">pango_win32_shutdown_display()</code></a
|
626
|
+
be released with <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-shutdown-display" title="pango_win32_shutdown_display ()"><code class="function">pango_win32_shutdown_display()</code></a>.
|
627
|
+
</p>
|
631
628
|
<div class="variablelist"><table border="0">
|
632
629
|
<col align="left" valign="top">
|
633
630
|
<tbody><tr>
|
@@ -638,25 +635,27 @@ be released with <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pang
|
|
638
635
|
</table></div>
|
639
636
|
</div>
|
640
637
|
<hr>
|
641
|
-
<div class="refsect2"
|
638
|
+
<div class="refsect2">
|
642
639
|
<a name="pango-win32-shutdown-display"></a><h3>pango_win32_shutdown_display ()</h3>
|
643
|
-
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_shutdown_display (void);</pre>
|
640
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_win32_shutdown_display (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
644
641
|
<p>
|
645
|
-
Free cached resources
|
642
|
+
Free cached resources.
|
643
|
+
</p>
|
646
644
|
</div>
|
647
645
|
<hr>
|
648
|
-
<div class="refsect2"
|
646
|
+
<div class="refsect2">
|
649
647
|
<a name="pango-win32-font-map-get-font-cache"></a><h3>pango_win32_font_map_get_font_cache ()</h3>
|
650
648
|
<pre class="programlisting"><a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache"><span class="returnvalue">PangoWin32FontCache</span></a> * pango_win32_font_map_get_font_cache
|
651
|
-
(<a class="link" href="pango-Fonts.html#PangoFontMap"><span class="
|
649
|
+
(<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontMap"><span class="type">PangoFontMap</span></a> *font_map</code></em>);</pre>
|
652
650
|
<p>
|
653
|
-
Obtains the font cache associated with the given font map
|
651
|
+
Obtains the font cache associated with the given font map.
|
652
|
+
</p>
|
654
653
|
<div class="variablelist"><table border="0">
|
655
654
|
<col align="left" valign="top">
|
656
655
|
<tbody>
|
657
656
|
<tr>
|
658
657
|
<td><p><span class="term"><em class="parameter"><code>font_map</code></em> :</span></p></td>
|
659
|
-
<td>
|
658
|
+
<td>a <span class="type">PangoWin32FontMap</span>.
|
660
659
|
</td>
|
661
660
|
</tr>
|
662
661
|
<tr>
|
@@ -668,9 +667,9 @@ Obtains the font cache associated with the given font map.</p>
|
|
668
667
|
</table></div>
|
669
668
|
</div>
|
670
669
|
<hr>
|
671
|
-
<div class="refsect2"
|
670
|
+
<div class="refsect2">
|
672
671
|
<a name="pango-win32-font-logfont"></a><h3>pango_win32_font_logfont ()</h3>
|
673
|
-
<pre class="programlisting"><span class="returnvalue">LOGFONTA</span> * pango_win32_font_logfont (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
672
|
+
<pre class="programlisting"><span class="returnvalue">LOGFONTA</span> * pango_win32_font_logfont (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
674
673
|
<p>
|
675
674
|
Determine the LOGFONTA struct for the specified font. Note that
|
676
675
|
Pango internally uses LOGFONTW structs, so if converting the UTF-16
|
@@ -678,42 +677,44 @@ face name in the LOGFONTW struct to system codepage fails, the
|
|
678
677
|
returned LOGFONTA will have an emppty face name. To get the
|
679
678
|
LOGFONTW of a PangoFont, use <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-font-logfontw" title="pango_win32_font_logfontw ()"><code class="function">pango_win32_font_logfontw()</code></a>. It
|
680
679
|
is recommended to do that always even if you don't expect
|
681
|
-
to come across fonts with odd names
|
680
|
+
to come across fonts with odd names.
|
681
|
+
</p>
|
682
682
|
<div class="variablelist"><table border="0">
|
683
683
|
<col align="left" valign="top">
|
684
684
|
<tbody>
|
685
685
|
<tr>
|
686
686
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
687
|
-
<td>
|
687
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> which must be from the Win32 backend
|
688
688
|
</td>
|
689
689
|
</tr>
|
690
690
|
<tr>
|
691
691
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
692
692
|
<td> A newly allocated LOGFONTA struct. It must be
|
693
|
-
freed with <
|
693
|
+
freed with <code class="function">g_free()</code>.
|
694
694
|
</td>
|
695
695
|
</tr>
|
696
696
|
</tbody>
|
697
697
|
</table></div>
|
698
698
|
</div>
|
699
699
|
<hr>
|
700
|
-
<div class="refsect2"
|
700
|
+
<div class="refsect2">
|
701
701
|
<a name="pango-win32-font-logfontw"></a><h3>pango_win32_font_logfontw ()</h3>
|
702
|
-
<pre class="programlisting"><span class="returnvalue">LOGFONTW</span> * pango_win32_font_logfontw (<a class="link" href="pango-Fonts.html#PangoFont"><span class="
|
702
|
+
<pre class="programlisting"><span class="returnvalue">LOGFONTW</span> * pango_win32_font_logfontw (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>);</pre>
|
703
703
|
<p>
|
704
|
-
Determine the LOGFONTW struct for the specified font
|
704
|
+
Determine the LOGFONTW struct for the specified font.
|
705
|
+
</p>
|
705
706
|
<div class="variablelist"><table border="0">
|
706
707
|
<col align="left" valign="top">
|
707
708
|
<tbody>
|
708
709
|
<tr>
|
709
710
|
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
710
|
-
<td>
|
711
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> which must be from the Win32 backend
|
711
712
|
</td>
|
712
713
|
</tr>
|
713
714
|
<tr>
|
714
715
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
715
716
|
<td> A newly allocated LOGFONTW struct. It must be
|
716
|
-
freed with <
|
717
|
+
freed with <code class="function">g_free()</code>.
|
717
718
|
|
718
719
|
</td>
|
719
720
|
</tr>
|
@@ -722,10 +723,10 @@ freed with <a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-f
|
|
722
723
|
<p class="since">Since 1.16</p>
|
723
724
|
</div>
|
724
725
|
<hr>
|
725
|
-
<div class="refsect2"
|
726
|
+
<div class="refsect2">
|
726
727
|
<a name="pango-win32-font-description-from-logfont"></a><h3>pango_win32_font_description_from_logfont ()</h3>
|
727
728
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_win32_font_description_from_logfont
|
728
|
-
(const <span class="
|
729
|
+
(<em class="parameter"><code>const <span class="type">LOGFONTA</span> *lfp</code></em>);</pre>
|
729
730
|
<p>
|
730
731
|
Creates a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> that matches the specified LOGFONTA.
|
731
732
|
</p>
|
@@ -736,13 +737,14 @@ the LOGFONTA contains non-ASCII characters the font is temporarily
|
|
736
737
|
loaded (using <code class="function">CreateFontIndirect()</code>) and an ASCII (usually English)
|
737
738
|
name for it is looked up from the font name tables in the font
|
738
739
|
data. If that doesn't work, the face name is converted from the
|
739
|
-
system codepage to UTF-8 and that is used
|
740
|
+
system codepage to UTF-8 and that is used.
|
741
|
+
</p>
|
740
742
|
<div class="variablelist"><table border="0">
|
741
743
|
<col align="left" valign="top">
|
742
744
|
<tbody>
|
743
745
|
<tr>
|
744
746
|
<td><p><span class="term"><em class="parameter"><code>lfp</code></em> :</span></p></td>
|
745
|
-
<td>
|
747
|
+
<td>a LOGFONTA
|
746
748
|
</td>
|
747
749
|
</tr>
|
748
750
|
<tr>
|
@@ -757,10 +759,10 @@ system codepage to UTF-8 and that is used.</p>
|
|
757
759
|
<p class="since">Since 1.12</p>
|
758
760
|
</div>
|
759
761
|
<hr>
|
760
|
-
<div class="refsect2"
|
762
|
+
<div class="refsect2">
|
761
763
|
<a name="pango-win32-font-description-from-logfontw"></a><h3>pango_win32_font_description_from_logfontw ()</h3>
|
762
764
|
<pre class="programlisting"><a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="returnvalue">PangoFontDescription</span></a> * pango_win32_font_description_from_logfontw
|
763
|
-
(const <span class="
|
765
|
+
(<em class="parameter"><code>const <span class="type">LOGFONTW</span> *lfp</code></em>);</pre>
|
764
766
|
<p>
|
765
767
|
Creates a <a class="link" href="pango-Fonts.html#PangoFontDescription" title="PangoFontDescription"><span class="type">PangoFontDescription</span></a> that matches the specified LOGFONTW.
|
766
768
|
</p>
|
@@ -771,13 +773,14 @@ the LOGFONTW contains non-ASCII characters the font is temporarily
|
|
771
773
|
loaded (using <code class="function">CreateFontIndirect()</code>) and an ASCII (usually English)
|
772
774
|
name for it is looked up from the font name tables in the font
|
773
775
|
data. If that doesn't work, the face name is converted from UTF-16
|
774
|
-
to UTF-8 and that is used
|
776
|
+
to UTF-8 and that is used.
|
777
|
+
</p>
|
775
778
|
<div class="variablelist"><table border="0">
|
776
779
|
<col align="left" valign="top">
|
777
780
|
<tbody>
|
778
781
|
<tr>
|
779
782
|
<td><p><span class="term"><em class="parameter"><code>lfp</code></em> :</span></p></td>
|
780
|
-
<td>
|
783
|
+
<td>a LOGFONTW
|
781
784
|
</td>
|
782
785
|
</tr>
|
783
786
|
<tr>
|
@@ -795,6 +798,6 @@ to UTF-8 and that is used.</p>
|
|
795
798
|
</div>
|
796
799
|
<div class="footer">
|
797
800
|
<hr>
|
798
|
-
Generated by GTK-Doc V1.
|
801
|
+
Generated by GTK-Doc V1.15.1</div>
|
799
802
|
</body>
|
800
803
|
</html>
|