~ubuntu-branches/ubuntu/lucid/pango1.0/lucid-security

« back to all changes in this revision

Viewing changes to docs/html/pango-Win32-Fonts-and-Rendering.html

Tags: upstream-1.24.5
Import upstream version 1.24.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>Win32 Fonts and Rendering</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.74.2">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
7
7
<link rel="home" href="index.html" title="Pango Reference Manual">
8
8
<link rel="up" href="rendering.html" title="Rendering with Pango">
9
9
<link rel="prev" href="rendering.html" title="Rendering with Pango">
62
62
                                                         <a class="link" href="pango-Fonts.html#PangoFont">PangoFont</a> *font,
63
63
                                                         <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString">PangoGlyphString</a> *glyphs,
64
64
                                                         <a
65
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
65
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
66
66
>gint</a> x,
67
67
                                                         <a
68
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
68
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
69
69
>gint</a> y);
70
70
void                <a class="link" href="pango-Win32-Fonts-and-Rendering.html#pango-win32-render-transformed" title="pango_win32_render_transformed ()">pango_win32_render_transformed</a>      (HDC hdc,
71
71
                                                         const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix">PangoMatrix</a> *matrix,
83
83
                                                         int y);
84
84
<a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph">PangoGlyph</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">PangoFont</a> *font,
85
85
                                                         <a
86
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"
 
86
href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"
87
87
>gunichar</a> wc);
88
88
<a
89
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
89
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
90
90
>gint</a>                <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>    (<a class="link" href="pango-Fonts.html#PangoFont">PangoFont</a> *font,
91
91
                                                         <a
92
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"
 
92
href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"
93
93
>gunichar</a> wc);
94
94
<a
95
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
95
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
96
96
>gboolean</a>            <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>        (<a class="link" href="pango-Fonts.html#PangoFont">PangoFont</a> *font,
97
97
                                                         HDC hdc);
98
98
void                <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">PangoFont</a> *font);
99
99
double              <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">PangoFont</a> *font);
100
100
<a
101
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
101
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
102
102
>gboolean</a>            <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>          (void);
103
103
HDC                 <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);
104
104
                    <a class="link" href="pango-Win32-Fonts-and-Rendering.html#PangoWin32FontCache" title="PangoWin32FontCache">PangoWin32FontCache</a>;
138
138
<p>
139
139
A string constant identifying the Win32 renderer. The associated quark (see
140
140
<a
141
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Quarks.html#g-quark-from-string"
 
141
href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#g-quark-from-string"
142
142
><code class="function">g_quark_from_string()</code></a>) 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>.
143
143
</p>
144
144
</div>
172
172
                                                         <a class="link" href="pango-Fonts.html#PangoFont">PangoFont</a> *font,
173
173
                                                         <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString">PangoGlyphString</a> *glyphs,
174
174
                                                         <a
175
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
175
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
176
176
>gint</a> x,
177
177
                                                         <a
178
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
178
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
179
179
>gint</a> y);</pre>
180
180
<p>
181
181
Render a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="PangoGlyphString"><span class="type">PangoGlyphString</span></a> onto a Windows DC</p>
241
241
<tr>
242
242
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
243
243
<td>  a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a
244
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
 
244
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
245
245
><code class="literal">NULL</code></a> to use an identity transformation
246
246
</td>
247
247
</tr>
351
351
<a name="pango-win32-get-unknown-glyph"></a><h3>pango_win32_get_unknown_glyph ()</h3>
352
352
<pre class="programlisting"><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph">PangoGlyph</a>          pango_win32_get_unknown_glyph       (<a class="link" href="pango-Fonts.html#PangoFont">PangoFont</a> *font,
353
353
                                                         <a
354
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"
 
354
href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"
355
355
>gunichar</a> wc);</pre>
356
356
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
357
357
<h3 class="title">Warning</h3>
390
390
<div class="refsect2" lang="en">
391
391
<a name="pango-win32-font-get-glyph-index"></a><h3>pango_win32_font_get_glyph_index ()</h3>
392
392
<pre class="programlisting"><a
393
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
393
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
394
394
>gint</a>                pango_win32_font_get_glyph_index    (<a class="link" href="pango-Fonts.html#PangoFont">PangoFont</a> *font,
395
395
                                                         <a
396
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"
 
396
href="http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.html#gunichar"
397
397
>gunichar</a> wc);</pre>
398
398
<p>
399
399
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
425
425
<div class="refsect2" lang="en">
426
426
<a name="pango-win32-font-select-font"></a><h3>pango_win32_font_select_font ()</h3>
427
427
<pre class="programlisting"><a
428
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
428
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
429
429
>gboolean</a>            pango_win32_font_select_font        (<a class="link" href="pango-Fonts.html#PangoFont">PangoFont</a> *font,
430
430
                                                         HDC hdc);</pre>
431
431
<p>
457
457
<tr>
458
458
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
459
459
<td> <a
460
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
 
460
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
461
461
><code class="literal">TRUE</code></a> if the operation succeeded.
462
462
</td>
463
463
</tr>
512
512
<div class="refsect2" lang="en">
513
513
<a name="pango-win32-get-debug-flag"></a><h3>pango_win32_get_debug_flag ()</h3>
514
514
<pre class="programlisting"><a
515
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
515
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
516
516
>gboolean</a>            pango_win32_get_debug_flag          (void);</pre>
517
517
<p>
518
518
Returns whether debugging is turned on.</p>
523
523
<tbody><tr>
524
524
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
525
525
<td> <a
526
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
 
526
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
527
527
><code class="literal">TRUE</code></a> if debugging is turned on.
528
528
 
529
529
</td>
620
620
<tr>
621
621
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
622
622
<td> The font structure, or <a
623
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
 
623
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
624
624
><code class="literal">NULL</code></a> if the font could
625
625
not be loaded. In order to free this structure, you must call
626
626
<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>.
656
656
<tr>
657
657
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
658
658
<td> The font structure, or <a
659
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL--CAPS"
 
659
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
660
660
><code class="literal">NULL</code></a> if the font could
661
661
not be loaded. In order to free this structure, you must call
662
662
<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>.
771
771
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
772
772
<td> A newly allocated LOGFONTA struct. It must be
773
773
freed with <a
774
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
 
774
href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"
775
775
><code class="function">g_free()</code></a>.
776
776
</td>
777
777
</tr>
798
798
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
799
799
<td> A newly allocated LOGFONTW struct. It must be
800
800
freed with <a
801
 
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
 
801
href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"
802
802
><code class="function">g_free()</code></a>.
803
803
 
804
804
</td>