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="index.html" title="Pango Reference Manual">
|
9
9
|
<link rel="prev" href="pango-querymodules.html" title="pango-querymodules">
|
10
10
|
<link rel="next" href="index-all.html" title="Index">
|
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"><tr valign="middle">
|
@@ -40,11 +19,11 @@
|
|
40
19
|
<th width="100%" align="center">Pango Reference Manual</th>
|
41
20
|
<td><a accesskey="n" href="index-all.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
42
21
|
</tr></table>
|
43
|
-
<div class="chapter"
|
22
|
+
<div class="chapter">
|
44
23
|
<div class="titlepage"><div><div><h2 class="title">
|
45
24
|
<a name="pango-hierarchy"></a>Object Hierarchy</h2></div></div></div>
|
46
25
|
<pre class="screen">
|
47
|
-
|
26
|
+
GObject
|
48
27
|
<a class="link" href="pango-Fonts.html#PangoFontMap">PangoFontMap</a>
|
49
28
|
<a class="link" href="PangoFcFontMap.html" title="PangoFcFontMap">PangoFcFontMap</a>
|
50
29
|
<a class="link" href="pango-FreeType-Fonts-and-Rendering.html#PangoFT2FontMap">PangoFT2FontMap</a>
|
@@ -64,7 +43,7 @@
|
|
64
43
|
<a class="link" href="pango-Layout-Objects.html#PangoLayout">PangoLayout</a>
|
65
44
|
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTInfo">PangoOTInfo</a>
|
66
45
|
<a class="link" href="pango-OpenType-Font-Handling.html#PangoOTRuleset">PangoOTRuleset</a>
|
67
|
-
<a class="link" href="
|
46
|
+
<a class="link" href="pango-pango-renderer.html#PangoRenderer">PangoRenderer</a>
|
68
47
|
<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer">PangoXftRenderer</a>
|
69
48
|
GInterface
|
70
49
|
<a class="link" href="pango-Cairo-Rendering.html#PangoCairoFontMap">PangoCairoFontMap</a>
|
@@ -73,6 +52,6 @@
|
|
73
52
|
</div>
|
74
53
|
<div class="footer">
|
75
54
|
<hr>
|
76
|
-
Generated by GTK-Doc V1.
|
55
|
+
Generated by GTK-Doc V1.15.1</div>
|
77
56
|
</body>
|
78
57
|
</html>
|
@@ -0,0 +1,1009 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>PangoRenderer</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
7
|
+
<link rel="home" href="index.html" title="Pango Reference Manual">
|
8
|
+
<link rel="up" href="lowlevel.html" title="Low Level Functionality">
|
9
|
+
<link rel="prev" href="lowlevel.html" title="Low Level Functionality">
|
10
|
+
<link rel="next" href="PangoFcFontMap.html" title="PangoFcFontMap">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="lowlevel.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="lowlevel.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">Pango Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="PangoFcFontMap.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#pango-pango-renderer.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#pango-pango-renderer.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#pango-pango-renderer.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
</td></tr>
|
30
|
+
</table>
|
31
|
+
<div class="refentry">
|
32
|
+
<a name="pango-pango-renderer"></a><div class="titlepage"></div>
|
33
|
+
<div class="refnamediv"><table width="100%"><tr>
|
34
|
+
<td valign="top">
|
35
|
+
<h2><span class="refentrytitle"><a name="pango-pango-renderer.top_of_page"></a>PangoRenderer</span></h2>
|
36
|
+
<p>PangoRenderer — Rendering driver base class</p>
|
37
|
+
</td>
|
38
|
+
<td valign="top" align="right"></td>
|
39
|
+
</tr></table></div>
|
40
|
+
<div class="refsynopsisdiv">
|
41
|
+
<a name="pango-pango-renderer.synopsis"></a><h2>Synopsis</h2>
|
42
|
+
<a name="PangoRenderer"></a><pre class="synopsis">struct <a class="link" href="pango-pango-renderer.html#PangoRenderer-struct" title="struct PangoRenderer">PangoRenderer</a>;
|
43
|
+
enum <a class="link" href="pango-pango-renderer.html#PangoRenderPart" title="enum PangoRenderPart">PangoRenderPart</a>;
|
44
|
+
#define <a class="link" href="pango-pango-renderer.html#PANGO-TYPE-RENDER-PART:CAPS" title="PANGO_TYPE_RENDER_PART">PANGO_TYPE_RENDER_PART</a>
|
45
|
+
struct <a class="link" href="pango-pango-renderer.html#PangoRendererClass" title="struct PangoRendererClass">PangoRendererClass</a>;
|
46
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-pango-renderer.html#pango-renderer-draw-layout" title="pango_renderer_draw_layout ()">pango_renderer_draw_layout</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
47
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
48
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
49
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
50
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-pango-renderer.html#pango-renderer-draw-layout-line" title="pango_renderer_draw_layout_line ()">pango_renderer_draw_layout_line</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
51
|
+
<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>,
|
52
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
53
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
54
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-pango-renderer.html#pango-renderer-draw-glyphs" title="pango_renderer_draw_glyphs ()">pango_renderer_draw_glyphs</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
55
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
56
|
+
<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>,
|
57
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
58
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
59
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-pango-renderer.html#pango-renderer-draw-glyph-item" title="pango_renderer_draw_glyph_item ()">pango_renderer_draw_glyph_item</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
60
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
61
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
62
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
63
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);
|
64
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-pango-renderer.html#pango-renderer-draw-rectangle" title="pango_renderer_draw_rectangle ()">pango_renderer_draw_rectangle</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
65
|
+
<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
|
66
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
67
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
68
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
69
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>);
|
70
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-pango-renderer.html#pango-renderer-draw-error-underline" title="pango_renderer_draw_error_underline ()">pango_renderer_draw_error_underline</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
71
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
72
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
73
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
74
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>);
|
75
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-pango-renderer.html#pango-renderer-draw-trapezoid" title="pango_renderer_draw_trapezoid ()">pango_renderer_draw_trapezoid</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
76
|
+
<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
|
77
|
+
<em class="parameter"><code><span class="type">double</span> y1_</code></em>,
|
78
|
+
<em class="parameter"><code><span class="type">double</span> x11</code></em>,
|
79
|
+
<em class="parameter"><code><span class="type">double</span> x21</code></em>,
|
80
|
+
<em class="parameter"><code><span class="type">double</span> y2</code></em>,
|
81
|
+
<em class="parameter"><code><span class="type">double</span> x12</code></em>,
|
82
|
+
<em class="parameter"><code><span class="type">double</span> x22</code></em>);
|
83
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-pango-renderer.html#pango-renderer-draw-glyph" title="pango_renderer_draw_glyph ()">pango_renderer_draw_glyph</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
84
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
85
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> glyph</code></em>,
|
86
|
+
<em class="parameter"><code><span class="type">double</span> x</code></em>,
|
87
|
+
<em class="parameter"><code><span class="type">double</span> y</code></em>);
|
88
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-pango-renderer.html#pango-renderer-activate" title="pango_renderer_activate ()">pango_renderer_activate</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);
|
89
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-pango-renderer.html#pango-renderer-deactivate" title="pango_renderer_deactivate ()">pango_renderer_deactivate</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);
|
90
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-pango-renderer.html#pango-renderer-part-changed" title="pango_renderer_part_changed ()">pango_renderer_part_changed</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
91
|
+
<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>);
|
92
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-pango-renderer.html#pango-renderer-set-color" title="pango_renderer_set_color ()">pango_renderer_set_color</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
93
|
+
<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
|
94
|
+
<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);
|
95
|
+
<a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="returnvalue">PangoColor</span></a> * <a class="link" href="pango-pango-renderer.html#pango-renderer-get-color" title="pango_renderer_get_color ()">pango_renderer_get_color</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
96
|
+
<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>);
|
97
|
+
<span class="returnvalue">void</span> <a class="link" href="pango-pango-renderer.html#pango-renderer-set-matrix" title="pango_renderer_set_matrix ()">pango_renderer_set_matrix</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
98
|
+
<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>);
|
99
|
+
const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * <a class="link" href="pango-pango-renderer.html#pango-renderer-get-matrix" title="pango_renderer_get_matrix ()">pango_renderer_get_matrix</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);
|
100
|
+
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> * <a class="link" href="pango-pango-renderer.html#pango-renderer-get-layout" title="pango_renderer_get_layout ()">pango_renderer_get_layout</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);
|
101
|
+
<a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> * <a class="link" href="pango-pango-renderer.html#pango-renderer-get-layout-line" title="pango_renderer_get_layout_line ()">pango_renderer_get_layout_line</a> (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);
|
102
|
+
</pre>
|
103
|
+
</div>
|
104
|
+
<div class="refsect1">
|
105
|
+
<a name="pango-pango-renderer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
106
|
+
<pre class="synopsis">
|
107
|
+
GObject
|
108
|
+
+----PangoRenderer
|
109
|
+
+----<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer">PangoXftRenderer</a>
|
110
|
+
</pre>
|
111
|
+
</div>
|
112
|
+
<div class="refsect1">
|
113
|
+
<a name="pango-pango-renderer.description"></a><h2>Description</h2>
|
114
|
+
<p>
|
115
|
+
<a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> is a base class that contains the necessary logic for
|
116
|
+
rendering a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> or <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>. By subclassing
|
117
|
+
<a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> and overriding operations such as <em class="parameter"><code>draw_glyphs</code></em> and
|
118
|
+
<em class="parameter"><code>draw_rectangle</code></em>, renderers for particular font backends and
|
119
|
+
destinations can be created.
|
120
|
+
</p>
|
121
|
+
</div>
|
122
|
+
<div class="refsect1">
|
123
|
+
<a name="pango-pango-renderer.details"></a><h2>Details</h2>
|
124
|
+
<div class="refsect2">
|
125
|
+
<a name="PangoRenderer-struct"></a><h3>struct PangoRenderer</h3>
|
126
|
+
<pre class="programlisting">struct PangoRenderer {
|
127
|
+
PangoMatrix *matrix; /* May be NULL */
|
128
|
+
};
|
129
|
+
</pre>
|
130
|
+
<p>
|
131
|
+
<a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> is a base class for objects that are used to
|
132
|
+
render Pango objects such as <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a> and
|
133
|
+
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.
|
134
|
+
</p>
|
135
|
+
<div class="variablelist"><table border="0">
|
136
|
+
<col align="left" valign="top">
|
137
|
+
<tbody><tr>
|
138
|
+
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *<em class="structfield"><code><a name="PangoRenderer-struct.matrix"></a>matrix</code></em>;</span></p></td>
|
139
|
+
<td>the current transformation matrix for the Renderer; may
|
140
|
+
be <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, which should be treated the same as the identity matrix.
|
141
|
+
</td>
|
142
|
+
</tr></tbody>
|
143
|
+
</table></div>
|
144
|
+
<p class="since">Since 1.8</p>
|
145
|
+
</div>
|
146
|
+
<hr>
|
147
|
+
<div class="refsect2">
|
148
|
+
<a name="PangoRenderPart"></a><h3>enum PangoRenderPart</h3>
|
149
|
+
<pre class="programlisting">typedef enum
|
150
|
+
{
|
151
|
+
PANGO_RENDER_PART_FOREGROUND,
|
152
|
+
PANGO_RENDER_PART_BACKGROUND,
|
153
|
+
PANGO_RENDER_PART_UNDERLINE,
|
154
|
+
PANGO_RENDER_PART_STRIKETHROUGH
|
155
|
+
} PangoRenderPart;
|
156
|
+
</pre>
|
157
|
+
<p>
|
158
|
+
<a class="link" href="pango-pango-renderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> defines different items to render for such
|
159
|
+
purposes as setting colors.
|
160
|
+
</p>
|
161
|
+
<div class="variablelist"><table border="0">
|
162
|
+
<col align="left" valign="top">
|
163
|
+
<tbody>
|
164
|
+
<tr>
|
165
|
+
<td><p><a name="PANGO-RENDER-PART-FOREGROUND:CAPS"></a><span class="term"><code class="literal">PANGO_RENDER_PART_FOREGROUND</code></span></p></td>
|
166
|
+
<td>the text itself
|
167
|
+
</td>
|
168
|
+
</tr>
|
169
|
+
<tr>
|
170
|
+
<td><p><a name="PANGO-RENDER-PART-BACKGROUND:CAPS"></a><span class="term"><code class="literal">PANGO_RENDER_PART_BACKGROUND</code></span></p></td>
|
171
|
+
<td>the area behind the text
|
172
|
+
</td>
|
173
|
+
</tr>
|
174
|
+
<tr>
|
175
|
+
<td><p><a name="PANGO-RENDER-PART-UNDERLINE:CAPS"></a><span class="term"><code class="literal">PANGO_RENDER_PART_UNDERLINE</code></span></p></td>
|
176
|
+
<td>underlines
|
177
|
+
</td>
|
178
|
+
</tr>
|
179
|
+
<tr>
|
180
|
+
<td><p><a name="PANGO-RENDER-PART-STRIKETHROUGH:CAPS"></a><span class="term"><code class="literal">PANGO_RENDER_PART_STRIKETHROUGH</code></span></p></td>
|
181
|
+
<td>strikethrough lines
|
182
|
+
</td>
|
183
|
+
</tr>
|
184
|
+
</tbody>
|
185
|
+
</table></div>
|
186
|
+
<p class="since">Since 1.8</p>
|
187
|
+
</div>
|
188
|
+
<hr>
|
189
|
+
<div class="refsect2">
|
190
|
+
<a name="PANGO-TYPE-RENDER-PART:CAPS"></a><h3>PANGO_TYPE_RENDER_PART</h3>
|
191
|
+
<pre class="programlisting">#define PANGO_TYPE_RENDER_PART (pango_render_part_get_type())
|
192
|
+
</pre>
|
193
|
+
<p>
|
194
|
+
The <span class="type">GObject</span> type for <a class="link" href="pango-pango-renderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a>.
|
195
|
+
</p>
|
196
|
+
</div>
|
197
|
+
<hr>
|
198
|
+
<div class="refsect2">
|
199
|
+
<a name="PangoRendererClass"></a><h3>struct PangoRendererClass</h3>
|
200
|
+
<pre class="programlisting">struct PangoRendererClass {
|
201
|
+
/* All of the following have default implementations
|
202
|
+
* and take as coordinates user coordinates in Pango units
|
203
|
+
*/
|
204
|
+
void (*draw_glyphs) (PangoRenderer *renderer,
|
205
|
+
PangoFont *font,
|
206
|
+
PangoGlyphString *glyphs,
|
207
|
+
int x,
|
208
|
+
int y);
|
209
|
+
void (*draw_rectangle) (PangoRenderer *renderer,
|
210
|
+
PangoRenderPart part,
|
211
|
+
int x,
|
212
|
+
int y,
|
213
|
+
int width,
|
214
|
+
int height);
|
215
|
+
void (*draw_error_underline) (PangoRenderer *renderer,
|
216
|
+
int x,
|
217
|
+
int y,
|
218
|
+
int width,
|
219
|
+
int height);
|
220
|
+
|
221
|
+
/* Nothing is drawn for shaped glyphs unless this is implemented */
|
222
|
+
void (*draw_shape) (PangoRenderer *renderer,
|
223
|
+
PangoAttrShape *attr,
|
224
|
+
int x,
|
225
|
+
int y);
|
226
|
+
|
227
|
+
/* These two must be implemented and take coordinates in
|
228
|
+
* device space as doubles.
|
229
|
+
*/
|
230
|
+
void (*draw_trapezoid) (PangoRenderer *renderer,
|
231
|
+
PangoRenderPart part,
|
232
|
+
double y1_,
|
233
|
+
double x11,
|
234
|
+
double x21,
|
235
|
+
double y2,
|
236
|
+
double x12,
|
237
|
+
double x22);
|
238
|
+
void (*draw_glyph) (PangoRenderer *renderer,
|
239
|
+
PangoFont *font,
|
240
|
+
PangoGlyph glyph,
|
241
|
+
double x,
|
242
|
+
double y);
|
243
|
+
|
244
|
+
/* Notification of change in rendering attributes
|
245
|
+
*/
|
246
|
+
void (*part_changed) (PangoRenderer *renderer,
|
247
|
+
PangoRenderPart part);
|
248
|
+
|
249
|
+
/* Paired around drawing operations
|
250
|
+
*/
|
251
|
+
void (*begin) (PangoRenderer *renderer);
|
252
|
+
void (*end) (PangoRenderer *renderer);
|
253
|
+
|
254
|
+
/* Hooks into the details of layout rendering
|
255
|
+
*/
|
256
|
+
void (*prepare_run) (PangoRenderer *renderer,
|
257
|
+
PangoLayoutRun *run);
|
258
|
+
|
259
|
+
/* All of the following have default implementations
|
260
|
+
* and take as coordinates user coordinates in Pango units
|
261
|
+
*/
|
262
|
+
void (*draw_glyph_item) (PangoRenderer *renderer,
|
263
|
+
const char *text,
|
264
|
+
PangoGlyphItem *glyph_item,
|
265
|
+
int x,
|
266
|
+
int y);
|
267
|
+
};
|
268
|
+
</pre>
|
269
|
+
<p>
|
270
|
+
Class structure for <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>.
|
271
|
+
</p>
|
272
|
+
<div class="variablelist"><table border="0">
|
273
|
+
<col align="left" valign="top">
|
274
|
+
<tbody>
|
275
|
+
<tr>
|
276
|
+
<td><p><span class="term"><em class="structfield"><code><a name="PangoRendererClass.draw-glyphs"></a>draw_glyphs</code></em> ()</span></p></td>
|
277
|
+
<td>draws a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>
|
278
|
+
</td>
|
279
|
+
</tr>
|
280
|
+
<tr>
|
281
|
+
<td><p><span class="term"><em class="structfield"><code><a name="PangoRendererClass.draw-rectangle"></a>draw_rectangle</code></em> ()</span></p></td>
|
282
|
+
<td>draws a rectangle
|
283
|
+
</td>
|
284
|
+
</tr>
|
285
|
+
<tr>
|
286
|
+
<td><p><span class="term"><em class="structfield"><code><a name="PangoRendererClass.draw-error-underline"></a>draw_error_underline</code></em> ()</span></p></td>
|
287
|
+
<td>draws a squiggly line that approximately
|
288
|
+
covers the given rectangle in the style of an underline used to
|
289
|
+
indicate a spelling error.
|
290
|
+
</td>
|
291
|
+
</tr>
|
292
|
+
<tr>
|
293
|
+
<td><p><span class="term"><em class="structfield"><code><a name="PangoRendererClass.draw-shape"></a>draw_shape</code></em> ()</span></p></td>
|
294
|
+
<td>draw content for a glyph shaped with <a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="struct PangoAttrShape"><span class="type">PangoAttrShape</span></a>.
|
295
|
+
<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em> are the coordinates of the left edge of the baseline,
|
296
|
+
in user coordinates.
|
297
|
+
</td>
|
298
|
+
</tr>
|
299
|
+
<tr>
|
300
|
+
<td><p><span class="term"><em class="structfield"><code><a name="PangoRendererClass.draw-trapezoid"></a>draw_trapezoid</code></em> ()</span></p></td>
|
301
|
+
<td>draws a trapezoidal filled area
|
302
|
+
</td>
|
303
|
+
</tr>
|
304
|
+
<tr>
|
305
|
+
<td><p><span class="term"><em class="structfield"><code><a name="PangoRendererClass.draw-glyph"></a>draw_glyph</code></em> ()</span></p></td>
|
306
|
+
<td>draws a single glyph
|
307
|
+
</td>
|
308
|
+
</tr>
|
309
|
+
<tr>
|
310
|
+
<td><p><span class="term"><em class="structfield"><code><a name="PangoRendererClass.part-changed"></a>part_changed</code></em> ()</span></p></td>
|
311
|
+
<td>do renderer specific processing when rendering
|
312
|
+
attributes change
|
313
|
+
</td>
|
314
|
+
</tr>
|
315
|
+
<tr>
|
316
|
+
<td><p><span class="term"><em class="structfield"><code><a name="PangoRendererClass.begin"></a>begin</code></em> ()</span></p></td>
|
317
|
+
<td>Do renderer-specific initialization before drawing
|
318
|
+
</td>
|
319
|
+
</tr>
|
320
|
+
<tr>
|
321
|
+
<td><p><span class="term"><em class="structfield"><code><a name="PangoRendererClass.end"></a>end</code></em> ()</span></p></td>
|
322
|
+
<td>Do renderer-specific cleanup after drawing
|
323
|
+
</td>
|
324
|
+
</tr>
|
325
|
+
<tr>
|
326
|
+
<td><p><span class="term"><em class="structfield"><code><a name="PangoRendererClass.prepare-run"></a>prepare_run</code></em> ()</span></p></td>
|
327
|
+
<td>updates the renderer for a new run
|
328
|
+
</td>
|
329
|
+
</tr>
|
330
|
+
<tr>
|
331
|
+
<td><p><span class="term"><em class="structfield"><code><a name="PangoRendererClass.draw-glyph-item"></a>draw_glyph_item</code></em> ()</span></p></td>
|
332
|
+
<td>draws a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>
|
333
|
+
</td>
|
334
|
+
</tr>
|
335
|
+
</tbody>
|
336
|
+
</table></div>
|
337
|
+
<p class="since">Since 1.8</p>
|
338
|
+
</div>
|
339
|
+
<hr>
|
340
|
+
<div class="refsect2">
|
341
|
+
<a name="pango-renderer-draw-layout"></a><h3>pango_renderer_draw_layout ()</h3>
|
342
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_renderer_draw_layout (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
343
|
+
<em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
|
344
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
345
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
346
|
+
<p>
|
347
|
+
Draws <em class="parameter"><code>layout</code></em> with the specified <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>.
|
348
|
+
</p>
|
349
|
+
<div class="variablelist"><table border="0">
|
350
|
+
<col align="left" valign="top">
|
351
|
+
<tbody>
|
352
|
+
<tr>
|
353
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
354
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
355
|
+
</td>
|
356
|
+
</tr>
|
357
|
+
<tr>
|
358
|
+
<td><p><span class="term"><em class="parameter"><code>layout</code></em> :</span></p></td>
|
359
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>
|
360
|
+
</td>
|
361
|
+
</tr>
|
362
|
+
<tr>
|
363
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
364
|
+
<td>X position of left edge of baseline, in user space coordinates
|
365
|
+
in Pango units.
|
366
|
+
</td>
|
367
|
+
</tr>
|
368
|
+
<tr>
|
369
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
370
|
+
<td>Y position of left edge of baseline, in user space coordinates
|
371
|
+
in Pango units.
|
372
|
+
</td>
|
373
|
+
</tr>
|
374
|
+
</tbody>
|
375
|
+
</table></div>
|
376
|
+
<p class="since">Since 1.8</p>
|
377
|
+
</div>
|
378
|
+
<hr>
|
379
|
+
<div class="refsect2">
|
380
|
+
<a name="pango-renderer-draw-layout-line"></a><h3>pango_renderer_draw_layout_line ()</h3>
|
381
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_renderer_draw_layout_line (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
382
|
+
<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>,
|
383
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
384
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
385
|
+
<p>
|
386
|
+
Draws <em class="parameter"><code>line</code></em> with the specified <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>.
|
387
|
+
</p>
|
388
|
+
<div class="variablelist"><table border="0">
|
389
|
+
<col align="left" valign="top">
|
390
|
+
<tbody>
|
391
|
+
<tr>
|
392
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
393
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
394
|
+
</td>
|
395
|
+
</tr>
|
396
|
+
<tr>
|
397
|
+
<td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td>
|
398
|
+
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
|
399
|
+
</td>
|
400
|
+
</tr>
|
401
|
+
<tr>
|
402
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
403
|
+
<td>X position of left edge of baseline, in user space coordinates
|
404
|
+
in Pango units.
|
405
|
+
</td>
|
406
|
+
</tr>
|
407
|
+
<tr>
|
408
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
409
|
+
<td>Y position of left edge of baseline, in user space coordinates
|
410
|
+
in Pango units.
|
411
|
+
</td>
|
412
|
+
</tr>
|
413
|
+
</tbody>
|
414
|
+
</table></div>
|
415
|
+
<p class="since">Since 1.8</p>
|
416
|
+
</div>
|
417
|
+
<hr>
|
418
|
+
<div class="refsect2">
|
419
|
+
<a name="pango-renderer-draw-glyphs"></a><h3>pango_renderer_draw_glyphs ()</h3>
|
420
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_renderer_draw_glyphs (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
421
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
422
|
+
<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>,
|
423
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
424
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
425
|
+
<p>
|
426
|
+
Draws the glyphs in <em class="parameter"><code>glyphs</code></em> with the specified <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>.
|
427
|
+
</p>
|
428
|
+
<div class="variablelist"><table border="0">
|
429
|
+
<col align="left" valign="top">
|
430
|
+
<tbody>
|
431
|
+
<tr>
|
432
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
433
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
434
|
+
</td>
|
435
|
+
</tr>
|
436
|
+
<tr>
|
437
|
+
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
438
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
439
|
+
</td>
|
440
|
+
</tr>
|
441
|
+
<tr>
|
442
|
+
<td><p><span class="term"><em class="parameter"><code>glyphs</code></em> :</span></p></td>
|
443
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString" title="struct PangoGlyphString"><span class="type">PangoGlyphString</span></a>
|
444
|
+
</td>
|
445
|
+
</tr>
|
446
|
+
<tr>
|
447
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
448
|
+
<td>X position of left edge of baseline, in user space coordinates
|
449
|
+
in Pango units.
|
450
|
+
</td>
|
451
|
+
</tr>
|
452
|
+
<tr>
|
453
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
454
|
+
<td>Y position of left edge of baseline, in user space coordinates
|
455
|
+
in Pango units.
|
456
|
+
</td>
|
457
|
+
</tr>
|
458
|
+
</tbody>
|
459
|
+
</table></div>
|
460
|
+
<p class="since">Since 1.8</p>
|
461
|
+
</div>
|
462
|
+
<hr>
|
463
|
+
<div class="refsect2">
|
464
|
+
<a name="pango-renderer-draw-glyph-item"></a><h3>pango_renderer_draw_glyph_item ()</h3>
|
465
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_renderer_draw_glyph_item (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
466
|
+
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
|
467
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
|
468
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
469
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
|
470
|
+
<p>
|
471
|
+
Draws the glyphs in <em class="parameter"><code>glyph_item</code></em> with the specified <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>,
|
472
|
+
embedding the text associated with the glyphs in the output if the
|
473
|
+
output format supports it (PDF for example).
|
474
|
+
</p>
|
475
|
+
<p>
|
476
|
+
Note that <em class="parameter"><code>text</code></em> is the start of the text for layout, which is then
|
477
|
+
indexed by <code class="literal"><em class="parameter"><code>glyph_item->item->offset</code></em></code>.
|
478
|
+
</p>
|
479
|
+
<p>
|
480
|
+
If <em class="parameter"><code>text</code></em> is <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, this simply calls <a class="link" href="pango-pango-renderer.html#pango-renderer-draw-glyphs" title="pango_renderer_draw_glyphs ()"><code class="function">pango_renderer_draw_glyphs()</code></a>.
|
481
|
+
</p>
|
482
|
+
<p>
|
483
|
+
The default implementation of this method simply falls back to
|
484
|
+
<a class="link" href="pango-pango-renderer.html#pango-renderer-draw-glyphs" title="pango_renderer_draw_glyphs ()"><code class="function">pango_renderer_draw_glyphs()</code></a>.
|
485
|
+
</p>
|
486
|
+
<div class="variablelist"><table border="0">
|
487
|
+
<col align="left" valign="top">
|
488
|
+
<tbody>
|
489
|
+
<tr>
|
490
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
491
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
492
|
+
</td>
|
493
|
+
</tr>
|
494
|
+
<tr>
|
495
|
+
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
|
496
|
+
<td>the UTF-8 text that <em class="parameter"><code>glyph_item</code></em> refers to, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
497
|
+
</td>
|
498
|
+
</tr>
|
499
|
+
<tr>
|
500
|
+
<td><p><span class="term"><em class="parameter"><code>glyph_item</code></em> :</span></p></td>
|
501
|
+
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem" title="struct PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>
|
502
|
+
</td>
|
503
|
+
</tr>
|
504
|
+
<tr>
|
505
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
506
|
+
<td>X position of left edge of baseline, in user space coordinates
|
507
|
+
in Pango units.
|
508
|
+
</td>
|
509
|
+
</tr>
|
510
|
+
<tr>
|
511
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
512
|
+
<td>Y position of left edge of baseline, in user space coordinates
|
513
|
+
in Pango units.
|
514
|
+
</td>
|
515
|
+
</tr>
|
516
|
+
</tbody>
|
517
|
+
</table></div>
|
518
|
+
<p class="since">Since 1.22</p>
|
519
|
+
</div>
|
520
|
+
<hr>
|
521
|
+
<div class="refsect2">
|
522
|
+
<a name="pango-renderer-draw-rectangle"></a><h3>pango_renderer_draw_rectangle ()</h3>
|
523
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_renderer_draw_rectangle (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
524
|
+
<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
|
525
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
526
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
527
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
528
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
|
529
|
+
<p>
|
530
|
+
Draws an axis-aligned rectangle in user space coordinates with the
|
531
|
+
specified <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>.
|
532
|
+
</p>
|
533
|
+
<p>
|
534
|
+
This should be called while <em class="parameter"><code>renderer</code></em> is already active. Use
|
535
|
+
<a class="link" href="pango-pango-renderer.html#pango-renderer-activate" title="pango_renderer_activate ()"><code class="function">pango_renderer_activate()</code></a> to activate a renderer.
|
536
|
+
</p>
|
537
|
+
<div class="variablelist"><table border="0">
|
538
|
+
<col align="left" valign="top">
|
539
|
+
<tbody>
|
540
|
+
<tr>
|
541
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
542
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
543
|
+
</td>
|
544
|
+
</tr>
|
545
|
+
<tr>
|
546
|
+
<td><p><span class="term"><em class="parameter"><code>part</code></em> :</span></p></td>
|
547
|
+
<td>type of object this rectangle is part of
|
548
|
+
</td>
|
549
|
+
</tr>
|
550
|
+
<tr>
|
551
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
552
|
+
<td>X position at which to draw rectangle, in user space coordinates in Pango units
|
553
|
+
</td>
|
554
|
+
</tr>
|
555
|
+
<tr>
|
556
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
557
|
+
<td>Y position at which to draw rectangle, in user space coordinates in Pango units
|
558
|
+
</td>
|
559
|
+
</tr>
|
560
|
+
<tr>
|
561
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
562
|
+
<td>width of rectangle in Pango units in user space coordinates
|
563
|
+
</td>
|
564
|
+
</tr>
|
565
|
+
<tr>
|
566
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
567
|
+
<td>height of rectangle in Pango units in user space coordinates
|
568
|
+
</td>
|
569
|
+
</tr>
|
570
|
+
</tbody>
|
571
|
+
</table></div>
|
572
|
+
<p class="since">Since 1.8</p>
|
573
|
+
</div>
|
574
|
+
<hr>
|
575
|
+
<div class="refsect2">
|
576
|
+
<a name="pango-renderer-draw-error-underline"></a><h3>pango_renderer_draw_error_underline ()</h3>
|
577
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_renderer_draw_error_underline (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
578
|
+
<em class="parameter"><code><span class="type">int</span> x</code></em>,
|
579
|
+
<em class="parameter"><code><span class="type">int</span> y</code></em>,
|
580
|
+
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
581
|
+
<em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
|
582
|
+
<p>
|
583
|
+
Draw a squiggly line that approximately covers the given rectangle
|
584
|
+
in the style of an underline used to indicate a spelling error.
|
585
|
+
(The width of the underline is rounded to an integer number
|
586
|
+
of up/down segments and the resulting rectangle is centered
|
587
|
+
in the original rectangle)
|
588
|
+
</p>
|
589
|
+
<p>
|
590
|
+
This should be called while <em class="parameter"><code>renderer</code></em> is already active. Use
|
591
|
+
<a class="link" href="pango-pango-renderer.html#pango-renderer-activate" title="pango_renderer_activate ()"><code class="function">pango_renderer_activate()</code></a> to activate a renderer.
|
592
|
+
</p>
|
593
|
+
<div class="variablelist"><table border="0">
|
594
|
+
<col align="left" valign="top">
|
595
|
+
<tbody>
|
596
|
+
<tr>
|
597
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
598
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
599
|
+
</td>
|
600
|
+
</tr>
|
601
|
+
<tr>
|
602
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
603
|
+
<td>X coordinate of underline, in Pango units in user coordinate system
|
604
|
+
</td>
|
605
|
+
</tr>
|
606
|
+
<tr>
|
607
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
608
|
+
<td>Y coordinate of underline, in Pango units in user coordinate system
|
609
|
+
</td>
|
610
|
+
</tr>
|
611
|
+
<tr>
|
612
|
+
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
613
|
+
<td>width of underline, in Pango units in user coordinate system
|
614
|
+
</td>
|
615
|
+
</tr>
|
616
|
+
<tr>
|
617
|
+
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
618
|
+
<td>height of underline, in Pango units in user coordinate system
|
619
|
+
</td>
|
620
|
+
</tr>
|
621
|
+
</tbody>
|
622
|
+
</table></div>
|
623
|
+
<p class="since">Since 1.8</p>
|
624
|
+
</div>
|
625
|
+
<hr>
|
626
|
+
<div class="refsect2">
|
627
|
+
<a name="pango-renderer-draw-trapezoid"></a><h3>pango_renderer_draw_trapezoid ()</h3>
|
628
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_renderer_draw_trapezoid (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
629
|
+
<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
|
630
|
+
<em class="parameter"><code><span class="type">double</span> y1_</code></em>,
|
631
|
+
<em class="parameter"><code><span class="type">double</span> x11</code></em>,
|
632
|
+
<em class="parameter"><code><span class="type">double</span> x21</code></em>,
|
633
|
+
<em class="parameter"><code><span class="type">double</span> y2</code></em>,
|
634
|
+
<em class="parameter"><code><span class="type">double</span> x12</code></em>,
|
635
|
+
<em class="parameter"><code><span class="type">double</span> x22</code></em>);</pre>
|
636
|
+
<p>
|
637
|
+
Draws a trapezoid with the parallel sides aligned with the X axis
|
638
|
+
using the given <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>; coordinates are in device space.
|
639
|
+
</p>
|
640
|
+
<div class="variablelist"><table border="0">
|
641
|
+
<col align="left" valign="top">
|
642
|
+
<tbody>
|
643
|
+
<tr>
|
644
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
645
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
646
|
+
</td>
|
647
|
+
</tr>
|
648
|
+
<tr>
|
649
|
+
<td><p><span class="term"><em class="parameter"><code>part</code></em> :</span></p></td>
|
650
|
+
<td>type of object this trapezoid is part of
|
651
|
+
</td>
|
652
|
+
</tr>
|
653
|
+
<tr>
|
654
|
+
<td><p><span class="term"><em class="parameter"><code>y1_</code></em> :</span></p></td>
|
655
|
+
<td>Y coordinate of top of trapezoid
|
656
|
+
</td>
|
657
|
+
</tr>
|
658
|
+
<tr>
|
659
|
+
<td><p><span class="term"><em class="parameter"><code>x11</code></em> :</span></p></td>
|
660
|
+
<td>X coordinate of left end of top of trapezoid
|
661
|
+
</td>
|
662
|
+
</tr>
|
663
|
+
<tr>
|
664
|
+
<td><p><span class="term"><em class="parameter"><code>x21</code></em> :</span></p></td>
|
665
|
+
<td>X coordinate of right end of top of trapezoid
|
666
|
+
</td>
|
667
|
+
</tr>
|
668
|
+
<tr>
|
669
|
+
<td><p><span class="term"><em class="parameter"><code>y2</code></em> :</span></p></td>
|
670
|
+
<td>Y coordinate of bottom of trapezoid
|
671
|
+
</td>
|
672
|
+
</tr>
|
673
|
+
<tr>
|
674
|
+
<td><p><span class="term"><em class="parameter"><code>x12</code></em> :</span></p></td>
|
675
|
+
<td>X coordinate of left end of bottom of trapezoid
|
676
|
+
</td>
|
677
|
+
</tr>
|
678
|
+
<tr>
|
679
|
+
<td><p><span class="term"><em class="parameter"><code>x22</code></em> :</span></p></td>
|
680
|
+
<td>X coordinate of right end of bottom of trapezoid
|
681
|
+
</td>
|
682
|
+
</tr>
|
683
|
+
</tbody>
|
684
|
+
</table></div>
|
685
|
+
<p class="since">Since 1.8</p>
|
686
|
+
</div>
|
687
|
+
<hr>
|
688
|
+
<div class="refsect2">
|
689
|
+
<a name="pango-renderer-draw-glyph"></a><h3>pango_renderer_draw_glyph ()</h3>
|
690
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_renderer_draw_glyph (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
691
|
+
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a> *font</code></em>,
|
692
|
+
<em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyph" title="PangoGlyph"><span class="type">PangoGlyph</span></a> glyph</code></em>,
|
693
|
+
<em class="parameter"><code><span class="type">double</span> x</code></em>,
|
694
|
+
<em class="parameter"><code><span class="type">double</span> y</code></em>);</pre>
|
695
|
+
<p>
|
696
|
+
Draws a single glyph with coordinates in device space.
|
697
|
+
</p>
|
698
|
+
<div class="variablelist"><table border="0">
|
699
|
+
<col align="left" valign="top">
|
700
|
+
<tbody>
|
701
|
+
<tr>
|
702
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
703
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
704
|
+
</td>
|
705
|
+
</tr>
|
706
|
+
<tr>
|
707
|
+
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
|
708
|
+
<td>a <a class="link" href="pango-Fonts.html#PangoFont"><span class="type">PangoFont</span></a>
|
709
|
+
</td>
|
710
|
+
</tr>
|
711
|
+
<tr>
|
712
|
+
<td><p><span class="term"><em class="parameter"><code>glyph</code></em> :</span></p></td>
|
713
|
+
<td>the glyph index of a single glyph
|
714
|
+
</td>
|
715
|
+
</tr>
|
716
|
+
<tr>
|
717
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
718
|
+
<td>X coordinate of left edge of baseline of glyph
|
719
|
+
</td>
|
720
|
+
</tr>
|
721
|
+
<tr>
|
722
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
723
|
+
<td>Y coordinate of left edge of baseline of glyph
|
724
|
+
</td>
|
725
|
+
</tr>
|
726
|
+
</tbody>
|
727
|
+
</table></div>
|
728
|
+
<p class="since">Since 1.8</p>
|
729
|
+
</div>
|
730
|
+
<hr>
|
731
|
+
<div class="refsect2">
|
732
|
+
<a name="pango-renderer-activate"></a><h3>pango_renderer_activate ()</h3>
|
733
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_renderer_activate (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);</pre>
|
734
|
+
<p>
|
735
|
+
Does initial setup before rendering operations on <em class="parameter"><code>renderer</code></em>.
|
736
|
+
<a class="link" href="pango-pango-renderer.html#pango-renderer-deactivate" title="pango_renderer_deactivate ()"><code class="function">pango_renderer_deactivate()</code></a> should be called when done drawing.
|
737
|
+
Calls such as <a class="link" href="pango-pango-renderer.html#pango-renderer-draw-layout" title="pango_renderer_draw_layout ()"><code class="function">pango_renderer_draw_layout()</code></a> automatically
|
738
|
+
activate the layout before drawing on it. Calls to
|
739
|
+
<a class="link" href="pango-pango-renderer.html#pango-renderer-activate" title="pango_renderer_activate ()"><code class="function">pango_renderer_activate()</code></a> and <a class="link" href="pango-pango-renderer.html#pango-renderer-deactivate" title="pango_renderer_deactivate ()"><code class="function">pango_renderer_deactivate()</code></a> can
|
740
|
+
be nested and the renderer will only be initialized and
|
741
|
+
deinitialized once.
|
742
|
+
</p>
|
743
|
+
<div class="variablelist"><table border="0">
|
744
|
+
<col align="left" valign="top">
|
745
|
+
<tbody><tr>
|
746
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
747
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
748
|
+
</td>
|
749
|
+
</tr></tbody>
|
750
|
+
</table></div>
|
751
|
+
<p class="since">Since 1.8</p>
|
752
|
+
</div>
|
753
|
+
<hr>
|
754
|
+
<div class="refsect2">
|
755
|
+
<a name="pango-renderer-deactivate"></a><h3>pango_renderer_deactivate ()</h3>
|
756
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_renderer_deactivate (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);</pre>
|
757
|
+
<p>
|
758
|
+
Cleans up after rendering operations on <em class="parameter"><code>renderer</code></em>. See
|
759
|
+
docs for <a class="link" href="pango-pango-renderer.html#pango-renderer-activate" title="pango_renderer_activate ()"><code class="function">pango_renderer_activate()</code></a>.
|
760
|
+
</p>
|
761
|
+
<div class="variablelist"><table border="0">
|
762
|
+
<col align="left" valign="top">
|
763
|
+
<tbody><tr>
|
764
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
765
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
766
|
+
</td>
|
767
|
+
</tr></tbody>
|
768
|
+
</table></div>
|
769
|
+
<p class="since">Since 1.8</p>
|
770
|
+
</div>
|
771
|
+
<hr>
|
772
|
+
<div class="refsect2">
|
773
|
+
<a name="pango-renderer-part-changed"></a><h3>pango_renderer_part_changed ()</h3>
|
774
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_renderer_part_changed (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
775
|
+
<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>);</pre>
|
776
|
+
<p>
|
777
|
+
Informs Pango that the way that the rendering is done
|
778
|
+
for <em class="parameter"><code>part</code></em> has changed in a way that would prevent multiple
|
779
|
+
pieces being joined together into one drawing call. For
|
780
|
+
instance, if a subclass of <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> was to add a stipple
|
781
|
+
option for drawing underlines, it needs to call
|
782
|
+
</p>
|
783
|
+
<p>
|
784
|
+
</p>
|
785
|
+
<div class="informalexample">
|
786
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
787
|
+
<tbody>
|
788
|
+
<tr>
|
789
|
+
<td class="listing_lines" align="right"><pre>1</pre></td>
|
790
|
+
<td class="listing_code"><pre class="programlisting">pango_renderer_part_changed (render, PANGO_RENDER_PART_UNDERLINE);</pre></td>
|
791
|
+
</tr>
|
792
|
+
</tbody>
|
793
|
+
</table>
|
794
|
+
</div>
|
795
|
+
|
796
|
+
<p>
|
797
|
+
</p>
|
798
|
+
<p>
|
799
|
+
When the stipple changes or underlines with different stipples
|
800
|
+
might be joined together. Pango automatically calls this for
|
801
|
+
changes to colors. (See <a class="link" href="pango-pango-renderer.html#pango-renderer-set-color" title="pango_renderer_set_color ()"><code class="function">pango_renderer_set_color()</code></a>)
|
802
|
+
</p>
|
803
|
+
<div class="variablelist"><table border="0">
|
804
|
+
<col align="left" valign="top">
|
805
|
+
<tbody>
|
806
|
+
<tr>
|
807
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
808
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
809
|
+
</td>
|
810
|
+
</tr>
|
811
|
+
<tr>
|
812
|
+
<td><p><span class="term"><em class="parameter"><code>part</code></em> :</span></p></td>
|
813
|
+
<td>the part for which rendering has changed.
|
814
|
+
</td>
|
815
|
+
</tr>
|
816
|
+
</tbody>
|
817
|
+
</table></div>
|
818
|
+
<p class="since">Since 1.8</p>
|
819
|
+
</div>
|
820
|
+
<hr>
|
821
|
+
<div class="refsect2">
|
822
|
+
<a name="pango-renderer-set-color"></a><h3>pango_renderer_set_color ()</h3>
|
823
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_renderer_set_color (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
824
|
+
<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
|
825
|
+
<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);</pre>
|
826
|
+
<p>
|
827
|
+
Sets the color for part of the rendering.
|
828
|
+
</p>
|
829
|
+
<div class="variablelist"><table border="0">
|
830
|
+
<col align="left" valign="top">
|
831
|
+
<tbody>
|
832
|
+
<tr>
|
833
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
834
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
835
|
+
</td>
|
836
|
+
</tr>
|
837
|
+
<tr>
|
838
|
+
<td><p><span class="term"><em class="parameter"><code>part</code></em> :</span></p></td>
|
839
|
+
<td>the part to change the color of
|
840
|
+
</td>
|
841
|
+
</tr>
|
842
|
+
<tr>
|
843
|
+
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
844
|
+
<td>the new color or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to unset the current color
|
845
|
+
</td>
|
846
|
+
</tr>
|
847
|
+
</tbody>
|
848
|
+
</table></div>
|
849
|
+
<p class="since">Since 1.8</p>
|
850
|
+
</div>
|
851
|
+
<hr>
|
852
|
+
<div class="refsect2">
|
853
|
+
<a name="pango-renderer-get-color"></a><h3>pango_renderer_get_color ()</h3>
|
854
|
+
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoColor" title="struct PangoColor"><span class="returnvalue">PangoColor</span></a> * pango_renderer_get_color (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
855
|
+
<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart" title="enum PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>);</pre>
|
856
|
+
<p>
|
857
|
+
Gets the current rendering color for the specified part.
|
858
|
+
</p>
|
859
|
+
<div class="variablelist"><table border="0">
|
860
|
+
<col align="left" valign="top">
|
861
|
+
<tbody>
|
862
|
+
<tr>
|
863
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
864
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
865
|
+
</td>
|
866
|
+
</tr>
|
867
|
+
<tr>
|
868
|
+
<td><p><span class="term"><em class="parameter"><code>part</code></em> :</span></p></td>
|
869
|
+
<td>the part to get the color for
|
870
|
+
</td>
|
871
|
+
</tr>
|
872
|
+
<tr>
|
873
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
874
|
+
<td> the color for the specified part, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
875
|
+
if it hasn't been set and should be inherited from the
|
876
|
+
environment.
|
877
|
+
|
878
|
+
</td>
|
879
|
+
</tr>
|
880
|
+
</tbody>
|
881
|
+
</table></div>
|
882
|
+
<p class="since">Since 1.8</p>
|
883
|
+
</div>
|
884
|
+
<hr>
|
885
|
+
<div class="refsect2">
|
886
|
+
<a name="pango-renderer-set-matrix"></a><h3>pango_renderer_set_matrix ()</h3>
|
887
|
+
<pre class="programlisting"><span class="returnvalue">void</span> pango_renderer_set_matrix (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>,
|
888
|
+
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
|
889
|
+
<p>
|
890
|
+
Sets the transformation matrix that will be applied when rendering.
|
891
|
+
</p>
|
892
|
+
<div class="variablelist"><table border="0">
|
893
|
+
<col align="left" valign="top">
|
894
|
+
<tbody>
|
895
|
+
<tr>
|
896
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
897
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
898
|
+
</td>
|
899
|
+
</tr>
|
900
|
+
<tr>
|
901
|
+
<td><p><span class="term"><em class="parameter"><code>matrix</code></em> :</span></p></td>
|
902
|
+
<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 unset any existing matrix.
|
903
|
+
(No matrix set is the same as setting the identity matrix.)
|
904
|
+
</td>
|
905
|
+
</tr>
|
906
|
+
</tbody>
|
907
|
+
</table></div>
|
908
|
+
<p class="since">Since 1.8</p>
|
909
|
+
</div>
|
910
|
+
<hr>
|
911
|
+
<div class="refsect2">
|
912
|
+
<a name="pango-renderer-get-matrix"></a><h3>pango_renderer_get_matrix ()</h3>
|
913
|
+
<pre class="programlisting">const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix" title="struct PangoMatrix"><span class="returnvalue">PangoMatrix</span></a> * pango_renderer_get_matrix (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);</pre>
|
914
|
+
<p>
|
915
|
+
Gets the transformation matrix that will be applied when
|
916
|
+
rendering. See <a class="link" href="pango-pango-renderer.html#pango-renderer-set-matrix" title="pango_renderer_set_matrix ()"><code class="function">pango_renderer_set_matrix()</code></a>.
|
917
|
+
</p>
|
918
|
+
<div class="variablelist"><table border="0">
|
919
|
+
<col align="left" valign="top">
|
920
|
+
<tbody>
|
921
|
+
<tr>
|
922
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
923
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
924
|
+
</td>
|
925
|
+
</tr>
|
926
|
+
<tr>
|
927
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
928
|
+
<td> the matrix, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if no matrix has been set
|
929
|
+
(which is the same as the identity matrix). The returned
|
930
|
+
matrix is owned by Pango and must not be modified or
|
931
|
+
freed.
|
932
|
+
|
933
|
+
</td>
|
934
|
+
</tr>
|
935
|
+
</tbody>
|
936
|
+
</table></div>
|
937
|
+
<p class="since">Since 1.8</p>
|
938
|
+
</div>
|
939
|
+
<hr>
|
940
|
+
<div class="refsect2">
|
941
|
+
<a name="pango-renderer-get-layout"></a><h3>pango_renderer_get_layout ()</h3>
|
942
|
+
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="returnvalue">PangoLayout</span></a> * pango_renderer_get_layout (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);</pre>
|
943
|
+
<p>
|
944
|
+
Gets the layout currently being rendered using <em class="parameter"><code>renderer</code></em>.
|
945
|
+
Calling this function only makes sense from inside a subclass's
|
946
|
+
methods, like in its draw_shape() for example.
|
947
|
+
</p>
|
948
|
+
<p>
|
949
|
+
The returned layout should not be modified while still being
|
950
|
+
rendered.
|
951
|
+
</p>
|
952
|
+
<div class="variablelist"><table border="0">
|
953
|
+
<col align="left" valign="top">
|
954
|
+
<tbody>
|
955
|
+
<tr>
|
956
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
957
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
958
|
+
</td>
|
959
|
+
</tr>
|
960
|
+
<tr>
|
961
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
962
|
+
<td> the layout, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if no layout is being
|
963
|
+
rendered using <em class="parameter"><code>renderer</code></em> at this time.
|
964
|
+
|
965
|
+
</td>
|
966
|
+
</tr>
|
967
|
+
</tbody>
|
968
|
+
</table></div>
|
969
|
+
<p class="since">Since 1.20</p>
|
970
|
+
</div>
|
971
|
+
<hr>
|
972
|
+
<div class="refsect2">
|
973
|
+
<a name="pango-renderer-get-layout-line"></a><h3>pango_renderer_get_layout_line ()</h3>
|
974
|
+
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine" title="struct PangoLayoutLine"><span class="returnvalue">PangoLayoutLine</span></a> * pango_renderer_get_layout_line (<em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a> *renderer</code></em>);</pre>
|
975
|
+
<p>
|
976
|
+
Gets the layout line currently being rendered using <em class="parameter"><code>renderer</code></em>.
|
977
|
+
Calling this function only makes sense from inside a subclass's
|
978
|
+
methods, like in its draw_shape() for example.
|
979
|
+
</p>
|
980
|
+
<p>
|
981
|
+
The returned layout line should not be modified while still being
|
982
|
+
rendered.
|
983
|
+
</p>
|
984
|
+
<div class="variablelist"><table border="0">
|
985
|
+
<col align="left" valign="top">
|
986
|
+
<tbody>
|
987
|
+
<tr>
|
988
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
989
|
+
<td>a <a class="link" href="pango-pango-renderer.html#PangoRenderer"><span class="type">PangoRenderer</span></a>
|
990
|
+
</td>
|
991
|
+
</tr>
|
992
|
+
<tr>
|
993
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
994
|
+
<td> the layout line, or <a href="/gnome/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if no layout line is being
|
995
|
+
rendered using <em class="parameter"><code>renderer</code></em> at this time.
|
996
|
+
|
997
|
+
</td>
|
998
|
+
</tr>
|
999
|
+
</tbody>
|
1000
|
+
</table></div>
|
1001
|
+
<p class="since">Since 1.20</p>
|
1002
|
+
</div>
|
1003
|
+
</div>
|
1004
|
+
</div>
|
1005
|
+
<div class="footer">
|
1006
|
+
<hr>
|
1007
|
+
Generated by GTK-Doc V1.15.1</div>
|
1008
|
+
</body>
|
1009
|
+
</html>
|