~ubuntu-branches/ubuntu/trusty/pango1.0/trusty-proposed

« back to all changes in this revision

Viewing changes to docs/html/pango-pango-renderer.html

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2012-03-09 10:39:11 UTC
  • mfrom: (1.6.4) (63.3.30 sid)
  • Revision ID: package-import@ubuntu.com-20120309103911-0jpxqwnix351v3se
Tags: 1.29.5-1
* New upstream release.
  - Fix GI annotation syntax. Closes: #640855
* debian/control.in: Bump Build-Depends on libglib2.0-dev to (>= 2.31.0).
* debian/patches/00git_transfer_annotations.patch: Removed, merged upstream.
* Set pkg-gnome-maintainers@lists.alioth.debian.org as Maintainer.

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>PangoRenderer</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
7
<link rel="home" href="index.html" title="Pango Reference Manual">
8
8
<link rel="up" href="lowlevel.html" title="Low Level Functionality">
9
9
<link rel="prev" href="lowlevel.html" title="Low Level Functionality">
10
10
<link rel="next" href="PangoFcFontMap.html" title="PangoFcFontMap">
11
 
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
39
39
</tr></table></div>
40
40
<div class="refsynopsisdiv">
41
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>;
 
42
<a name="PangoRenderer"></a><a name="PangoRenderPart"></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-enum" title="enum PangoRenderPart">PangoRenderPart</a>;
44
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
45
struct              <a class="link" href="pango-pango-renderer.html#PangoRendererClass" title="struct PangoRendererClass">PangoRendererClass</a>;
46
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>,
48
48
                                                         <em class="parameter"><code><span class="type">int</span> x</code></em>,
49
49
                                                         <em class="parameter"><code><span class="type">int</span> y</code></em>);
50
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>,
 
51
                                                         <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
52
52
                                                         <em class="parameter"><code><span class="type">int</span> x</code></em>,
53
53
                                                         <em class="parameter"><code><span class="type">int</span> y</code></em>);
54
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
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>,
 
56
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
57
57
                                                         <em class="parameter"><code><span class="type">int</span> x</code></em>,
58
58
                                                         <em class="parameter"><code><span class="type">int</span> y</code></em>);
59
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
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>,
 
61
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
62
62
                                                         <em class="parameter"><code><span class="type">int</span> x</code></em>,
63
63
                                                         <em class="parameter"><code><span class="type">int</span> y</code></em>);
64
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>,
 
65
                                                         <em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
66
66
                                                         <em class="parameter"><code><span class="type">int</span> x</code></em>,
67
67
                                                         <em class="parameter"><code><span class="type">int</span> y</code></em>,
68
68
                                                         <em class="parameter"><code><span class="type">int</span> width</code></em>,
73
73
                                                         <em class="parameter"><code><span class="type">int</span> width</code></em>,
74
74
                                                         <em class="parameter"><code><span class="type">int</span> height</code></em>);
75
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>,
 
76
                                                         <em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
77
77
                                                         <em class="parameter"><code><span class="type">double</span> y1_</code></em>,
78
78
                                                         <em class="parameter"><code><span class="type">double</span> x11</code></em>,
79
79
                                                         <em class="parameter"><code><span class="type">double</span> x21</code></em>,
88
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
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
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>);
 
91
                                                         <em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>);
92
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>);
 
93
                                                         <em class="parameter"><code><a class="link" href="pango-pango-renderer.html#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"><span class="type">PangoColor</span></a> *color</code></em>);
 
95
<a class="link" href="pango-Text-Attributes.html#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"><span class="type">PangoRenderPart</span></a> part</code></em>);
97
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>);
 
98
                                                         <em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);
 
99
const <a class="link" href="pango-Glyph-Storage.html#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
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>);
 
101
<a class="link" href="pango-Layout-Objects.html#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
102
</pre>
103
103
</div>
104
104
<div class="refsect1">
105
105
<a name="pango-pango-renderer.object-hierarchy"></a><h2>Object Hierarchy</h2>
106
106
<pre class="synopsis">
107
 
  GObject
 
107
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
108
108
   +----PangoRenderer
109
109
         +----<a class="link" href="pango-Xft-Fonts-and-Rendering.html#PangoXftRenderer">PangoXftRenderer</a>
110
110
</pre>
 
111
<pre class="synopsis">
 
112
  GEnum
 
113
   +----PangoRenderPart
 
114
</pre>
111
115
</div>
112
116
<div class="refsect1">
113
117
<a name="pango-pango-renderer.description"></a><h2>Description</h2>
114
118
<p>
115
119
<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
 
120
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"><span class="type">PangoLayoutLine</span></a>. By subclassing
117
121
<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
122
<em class="parameter"><code>draw_rectangle</code></em>, renderers for particular font backends and
119
123
destinations can be created.
129
133
</pre>
130
134
<p>
131
135
<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
 
136
render Pango objects such as <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> and
133
137
<a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.
134
138
</p>
135
139
<div class="variablelist"><table border="0">
136
140
<col align="left" valign="top">
137
141
<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>
 
142
<td><p><span class="term"><a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *<em class="structfield"><code><a name="PangoRenderer-struct.matrix"></a>matrix</code></em>;</span></p></td>
139
143
<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>
 
144
be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, which should be treated the same as the identity matrix.</td>
142
145
</tr></tbody>
143
146
</table></div>
144
147
<p class="since">Since 1.8</p>
145
148
</div>
146
149
<hr>
147
150
<div class="refsect2">
148
 
<a name="PangoRenderPart"></a><h3>enum PangoRenderPart</h3>
149
 
<pre class="programlisting">typedef enum
150
 
{
 
151
<a name="PangoRenderPart-enum"></a><h3>enum PangoRenderPart</h3>
 
152
<pre class="programlisting">typedef enum {
151
153
  PANGO_RENDER_PART_FOREGROUND,
152
154
  PANGO_RENDER_PART_BACKGROUND,
153
155
  PANGO_RENDER_PART_UNDERLINE,
155
157
} PangoRenderPart;
156
158
</pre>
157
159
<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
 
160
<a class="link" href="pango-pango-renderer.html#PangoRenderPart"><span class="type">PangoRenderPart</span></a> defines different items to render for such
159
161
purposes as setting colors.
160
162
</p>
161
163
<div class="variablelist"><table border="0">
191
193
<pre class="programlisting">#define PANGO_TYPE_RENDER_PART (pango_render_part_get_type())
192
194
</pre>
193
195
<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>.
 
196
The <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> type for <a class="link" href="pango-pango-renderer.html#PangoRenderPart"><span class="type">PangoRenderPart</span></a>.
195
197
</p>
196
198
</div>
197
199
<hr>
274
276
<tbody>
275
277
<tr>
276
278
<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>
 
279
<td>draws a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>
278
280
</td>
279
281
</tr>
280
282
<tr>
281
283
<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
<td>draws a rectangle</td>
284
285
</tr>
285
286
<tr>
286
287
<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
288
<td>draws a squiggly line that approximately
288
289
covers the given rectangle in the style of an underline used to
289
 
indicate a spelling error.
290
 
</td>
 
290
indicate a spelling error.</td>
291
291
</tr>
292
292
<tr>
293
293
<td><p><span class="term"><em class="structfield"><code><a name="PangoRendererClass.draw-shape"></a>draw_shape</code></em> ()</span></p></td>
294
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>
 
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.</td>
298
297
</tr>
299
298
<tr>
300
299
<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>
 
300
<td>draws a trapezoidal filled area</td>
303
301
</tr>
304
302
<tr>
305
303
<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>
 
304
<td>draws a single glyph</td>
308
305
</tr>
309
306
<tr>
310
307
<td><p><span class="term"><em class="structfield"><code><a name="PangoRendererClass.part-changed"></a>part_changed</code></em> ()</span></p></td>
311
308
<td>do renderer specific processing when rendering
312
 
 attributes change
313
 
</td>
 
309
attributes change</td>
314
310
</tr>
315
311
<tr>
316
312
<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>
 
313
<td>Do renderer-specific initialization before drawing</td>
319
314
</tr>
320
315
<tr>
321
316
<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>
 
317
<td>Do renderer-specific cleanup after drawing</td>
324
318
</tr>
325
319
<tr>
326
320
<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>
 
321
<td>updates the renderer for a new run</td>
329
322
</tr>
330
323
<tr>
331
324
<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>
 
325
<td>draws a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>
333
326
</td>
334
327
</tr>
335
328
</tbody>
362
355
<tr>
363
356
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
364
357
<td>X position of left edge of baseline, in user space coordinates
365
 
  in Pango units.
366
 
</td>
 
358
in Pango units.</td>
367
359
</tr>
368
360
<tr>
369
361
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
370
362
<td>Y position of left edge of baseline, in user space coordinates
371
 
   in Pango units.
372
 
</td>
 
363
in Pango units.</td>
373
364
</tr>
374
365
</tbody>
375
366
</table></div>
379
370
<div class="refsect2">
380
371
<a name="pango-renderer-draw-layout-line"></a><h3>pango_renderer_draw_layout_line ()</h3>
381
372
<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>,
 
373
                                                         <em class="parameter"><code><a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a> *line</code></em>,
383
374
                                                         <em class="parameter"><code><span class="type">int</span> x</code></em>,
384
375
                                                         <em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
385
376
<p>
395
386
</tr>
396
387
<tr>
397
388
<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>
 
389
<td>a <a class="link" href="pango-Layout-Objects.html#PangoLayoutLine"><span class="type">PangoLayoutLine</span></a>
399
390
</td>
400
391
</tr>
401
392
<tr>
402
393
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
403
394
<td>X position of left edge of baseline, in user space coordinates
404
 
  in Pango units.
405
 
</td>
 
395
in Pango units.</td>
406
396
</tr>
407
397
<tr>
408
398
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
409
399
<td>Y position of left edge of baseline, in user space coordinates
410
 
   in Pango units.
411
 
</td>
 
400
in Pango units.</td>
412
401
</tr>
413
402
</tbody>
414
403
</table></div>
419
408
<a name="pango-renderer-draw-glyphs"></a><h3>pango_renderer_draw_glyphs ()</h3>
420
409
<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
410
                                                         <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>,
 
411
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a> *glyphs</code></em>,
423
412
                                                         <em class="parameter"><code><span class="type">int</span> x</code></em>,
424
413
                                                         <em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
425
414
<p>
440
429
</tr>
441
430
<tr>
442
431
<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>
 
432
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphString"><span class="type">PangoGlyphString</span></a>
444
433
</td>
445
434
</tr>
446
435
<tr>
447
436
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
448
437
<td>X position of left edge of baseline, in user space coordinates
449
 
  in Pango units.
450
 
</td>
 
438
in Pango units.</td>
451
439
</tr>
452
440
<tr>
453
441
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
454
442
<td>Y position of left edge of baseline, in user space coordinates
455
 
   in Pango units.
456
 
</td>
 
443
in Pango units.</td>
457
444
</tr>
458
445
</tbody>
459
446
</table></div>
464
451
<a name="pango-renderer-draw-glyph-item"></a><h3>pango_renderer_draw_glyph_item ()</h3>
465
452
<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
453
                                                         <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>,
 
454
                                                         <em class="parameter"><code><a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a> *glyph_item</code></em>,
468
455
                                                         <em class="parameter"><code><span class="type">int</span> x</code></em>,
469
456
                                                         <em class="parameter"><code><span class="type">int</span> y</code></em>);</pre>
470
457
<p>
477
464
indexed by <code class="literal"><em class="parameter"><code>glyph_item-&gt;item-&gt;offset</code></em></code>.
478
465
</p>
479
466
<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>.
 
467
If <em class="parameter"><code>text</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.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
468
</p>
482
469
<p>
483
470
The default implementation of this method simply falls back to
493
480
</tr>
494
481
<tr>
495
482
<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>
 
483
<td>the UTF-8 text that <em class="parameter"><code>glyph_item</code></em> refers to, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
497
484
</td>
498
485
</tr>
499
486
<tr>
500
487
<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>
 
488
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoGlyphItem"><span class="type">PangoGlyphItem</span></a>
502
489
</td>
503
490
</tr>
504
491
<tr>
505
492
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
506
493
<td>X position of left edge of baseline, in user space coordinates
507
 
  in Pango units.
508
 
</td>
 
494
in Pango units.</td>
509
495
</tr>
510
496
<tr>
511
497
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
512
498
<td>Y position of left edge of baseline, in user space coordinates
513
 
   in Pango units.
514
 
</td>
 
499
in Pango units.</td>
515
500
</tr>
516
501
</tbody>
517
502
</table></div>
521
506
<div class="refsect2">
522
507
<a name="pango-renderer-draw-rectangle"></a><h3>pango_renderer_draw_rectangle ()</h3>
523
508
<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>,
 
509
                                                         <em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
525
510
                                                         <em class="parameter"><code><span class="type">int</span> x</code></em>,
526
511
                                                         <em class="parameter"><code><span class="type">int</span> y</code></em>,
527
512
                                                         <em class="parameter"><code><span class="type">int</span> width</code></em>,
544
529
</tr>
545
530
<tr>
546
531
<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>
 
532
<td>type of object this rectangle is part of</td>
549
533
</tr>
550
534
<tr>
551
535
<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>
 
536
<td>X position at which to draw rectangle, in user space coordinates in Pango units</td>
554
537
</tr>
555
538
<tr>
556
539
<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>
 
540
<td>Y position at which to draw rectangle, in user space coordinates in Pango units</td>
559
541
</tr>
560
542
<tr>
561
543
<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>
 
544
<td>width of rectangle in Pango units in user space coordinates</td>
564
545
</tr>
565
546
<tr>
566
547
<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>
 
548
<td>height of rectangle in Pango units in user space coordinates</td>
569
549
</tr>
570
550
</tbody>
571
551
</table></div>
600
580
</tr>
601
581
<tr>
602
582
<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>
 
583
<td>X coordinate of underline, in Pango units in user coordinate system</td>
605
584
</tr>
606
585
<tr>
607
586
<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>
 
587
<td>Y coordinate of underline, in Pango units in user coordinate system</td>
610
588
</tr>
611
589
<tr>
612
590
<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>
 
591
<td>width of underline, in Pango units in user coordinate system</td>
615
592
</tr>
616
593
<tr>
617
594
<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>
 
595
<td>height of underline, in Pango units in user coordinate system</td>
620
596
</tr>
621
597
</tbody>
622
598
</table></div>
626
602
<div class="refsect2">
627
603
<a name="pango-renderer-draw-trapezoid"></a><h3>pango_renderer_draw_trapezoid ()</h3>
628
604
<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>,
 
605
                                                         <em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
630
606
                                                         <em class="parameter"><code><span class="type">double</span> y1_</code></em>,
631
607
                                                         <em class="parameter"><code><span class="type">double</span> x11</code></em>,
632
608
                                                         <em class="parameter"><code><span class="type">double</span> x21</code></em>,
647
623
</tr>
648
624
<tr>
649
625
<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>
 
626
<td>type of object this trapezoid is part of</td>
652
627
</tr>
653
628
<tr>
654
629
<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>
 
630
<td>Y coordinate of top of trapezoid</td>
657
631
</tr>
658
632
<tr>
659
633
<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>
 
634
<td>X coordinate of left end of top of trapezoid</td>
662
635
</tr>
663
636
<tr>
664
637
<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>
 
638
<td>X coordinate of right end of top of trapezoid</td>
667
639
</tr>
668
640
<tr>
669
641
<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>
 
642
<td>Y coordinate of bottom of trapezoid</td>
672
643
</tr>
673
644
<tr>
674
645
<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>
 
646
<td>X coordinate of left end of bottom of trapezoid</td>
677
647
</tr>
678
648
<tr>
679
649
<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>
 
650
<td>X coordinate of right end of bottom of trapezoid</td>
682
651
</tr>
683
652
</tbody>
684
653
</table></div>
710
679
</tr>
711
680
<tr>
712
681
<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>
 
682
<td>the glyph index of a single glyph</td>
715
683
</tr>
716
684
<tr>
717
685
<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>
 
686
<td>X coordinate of left edge of baseline of glyph</td>
720
687
</tr>
721
688
<tr>
722
689
<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>
 
690
<td>Y coordinate of left edge of baseline of glyph</td>
725
691
</tr>
726
692
</tbody>
727
693
</table></div>
772
738
<div class="refsect2">
773
739
<a name="pango-renderer-part-changed"></a><h3>pango_renderer_part_changed ()</h3>
774
740
<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>
 
741
                                                         <em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>);</pre>
776
742
<p>
777
743
Informs Pango that the way that the rendering is done
778
744
for <em class="parameter"><code>part</code></em> has changed in a way that would prevent multiple
787
753
    <tbody>
788
754
      <tr>
789
755
        <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>
 
756
        <td class="listing_code"><pre class="programlisting"><span class="function"><a href="pango-pango-renderer.html#pango-renderer-part-changed">pango_renderer_part_changed</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">render</span><span class="symbol">,</span><span class="normal"> <a href="pango-pango-renderer.html#PANGO-RENDER-PART-UNDERLINE:CAPS">PANGO_RENDER_PART_UNDERLINE</a></span><span class="symbol">);</span></pre></td>
791
757
      </tr>
792
758
    </tbody>
793
759
  </table>
810
776
</tr>
811
777
<tr>
812
778
<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>
 
779
<td>the part for which rendering has changed.</td>
815
780
</tr>
816
781
</tbody>
817
782
</table></div>
821
786
<div class="refsect2">
822
787
<a name="pango-renderer-set-color"></a><h3>pango_renderer_set_color ()</h3>
823
788
<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>
 
789
                                                         <em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>,
 
790
                                                         <em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);</pre>
826
791
<p>
827
792
Sets the color for part of the rendering.
828
793
</p>
836
801
</tr>
837
802
<tr>
838
803
<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>
 
804
<td>the part to change the color of</td>
841
805
</tr>
842
806
<tr>
843
807
<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
 
808
<td>the new color or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the current color. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
845
809
</td>
846
810
</tr>
847
811
</tbody>
851
815
<hr>
852
816
<div class="refsect2">
853
817
<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>
 
818
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#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>,
 
819
                                                         <em class="parameter"><code><a class="link" href="pango-pango-renderer.html#PangoRenderPart"><span class="type">PangoRenderPart</span></a> part</code></em>);</pre>
856
820
<p>
857
821
Gets the current rendering color for the specified part.
858
822
</p>
866
830
</tr>
867
831
<tr>
868
832
<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>
 
833
<td>the part to get the color for</td>
871
834
</tr>
872
835
<tr>
873
836
<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>
 
837
<td>the color for the specified part, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
838
if it hasn't been set and should be inherited from the
 
839
environment.</td>
879
840
</tr>
880
841
</tbody>
881
842
</table></div>
885
846
<div class="refsect2">
886
847
<a name="pango-renderer-set-matrix"></a><h3>pango_renderer_set_matrix ()</h3>
887
848
<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>
 
849
                                                         <em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a> *matrix</code></em>);</pre>
889
850
<p>
890
851
Sets the transformation matrix that will be applied when rendering.
891
852
</p>
899
860
</tr>
900
861
<tr>
901
862
<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.)
 
863
<td>a <a class="link" href="pango-Glyph-Storage.html#PangoMatrix"><span class="type">PangoMatrix</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset any existing matrix.
 
864
(No matrix set is the same as setting the identity matrix.). <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
904
865
</td>
905
866
</tr>
906
867
</tbody>
910
871
<hr>
911
872
<div class="refsect2">
912
873
<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>
 
874
<pre class="programlisting">const <a class="link" href="pango-Glyph-Storage.html#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
875
<p>
915
876
Gets the transformation matrix that will be applied when
916
877
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>.
925
886
</tr>
926
887
<tr>
927
888
<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>
 
889
<td>the matrix, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no matrix has been set
 
890
(which is the same as the identity matrix). The returned
 
891
matrix is owned by Pango and must not be modified or
 
892
freed.</td>
934
893
</tr>
935
894
</tbody>
936
895
</table></div>
959
918
</tr>
960
919
<tr>
961
920
<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
 
 
 
921
<td>the layout, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no layout is being
 
922
rendered using <em class="parameter"><code>renderer</code></em> at this time. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
965
923
</td>
966
924
</tr>
967
925
</tbody>
971
929
<hr>
972
930
<div class="refsect2">
973
931
<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>
 
932
<pre class="programlisting"><a class="link" href="pango-Layout-Objects.html#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
933
<p>
976
934
Gets the layout line currently being rendered using <em class="parameter"><code>renderer</code></em>.
977
935
Calling this function only makes sense from inside a subclass's
991
949
</tr>
992
950
<tr>
993
951
<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>
 
952
<td>the layout line, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no layout line is being
 
953
rendered using <em class="parameter"><code>renderer</code></em> at this time.</td>
998
954
</tr>
999
955
</tbody>
1000
956
</table></div>
1004
960
</div>
1005
961
<div class="footer">
1006
962
<hr>
1007
 
          Generated by GTK-Doc V1.15.1</div>
 
963
          Generated by GTK-Doc V1.18.1</div>
1008
964
</body>
1009
965
</html>
 
 
b'\\ No newline at end of file'