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

« back to all changes in this revision

Viewing changes to pango/PangoCairo-1.0.gir

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2010-10-19 23:37:45 UTC
  • mfrom: (1.5.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20101019233745-xey8xlf91rpkth51
Tags: 1.28.3-1
* New upstream stable release.
  + Fixes SIGFPE in opentype renderer. Closes: #598166.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!-- This file was automatically generated from C sources - DO NOT EDIT!
3
3
To affect the contents of this file, edit the original C definitions,
4
4
and/or use gtk-doc annotations.  -->
5
 
<repository version="1.0"
 
5
<repository version="1.2"
6
6
            xmlns="http://www.gtk.org/introspection/core/1.0"
7
7
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
8
8
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
18
18
  <namespace name="PangoCairo"
19
19
             version="1.0"
20
20
             shared-library="libpangocairo-1.0.so.0"
21
 
             c:prefix="PangoCairo">
 
21
             c:identifier-prefixes="PangoCairo"
 
22
             c:symbol-prefixes="pango_cairo">
22
23
    <class name="FcFontMap"
 
24
           c:symbol-prefix="fc_font_map"
23
25
           c:type="PangoCairoFcFontMap"
24
 
           parent="PangoFT2.PangoFcFontMap"
 
26
           parent="Pango.FontMap"
25
27
           glib:type-name="PangoCairoFcFontMap"
26
28
           glib:get-type="pango_cairo_fc_font_map_get_type">
27
29
      <implements name="FontMap"/>
28
 
      <field name="parent_instance">
29
 
        <type name="PangoFT2.PangoFcFontMap" c:type="PangoFcFontMap"/>
 
30
      <field name="parent_instance" introspectable="0">
 
31
        <type c:type="PangoFcFontMap"/>
30
32
      </field>
31
33
      <field name="dpi">
32
 
        <type name="double" c:type="double"/>
 
34
        <type name="gdouble" c:type="double"/>
33
35
      </field>
34
36
      <field name="library">
35
37
        <type name="freetype2.Library" c:type="FT_Library"/>
36
38
      </field>
37
39
    </class>
38
40
    <interface name="Font"
 
41
               c:symbol-prefix="font"
39
42
               c:type="PangoCairoFont"
40
 
               doc="#PangoCairoFont is an interface exported by fonts for
41
 
use with Cairo. The actual type of the font will depend
42
 
on the particular font technology Cairo was compiled to use."
43
43
               version="1.18"
44
44
               glib:type-name="PangoCairoFont"
45
 
               glib:get-type="pango_cairo_font_get_type"
46
 
               glib:type-struct="FontIface">
 
45
               glib:get-type="pango_cairo_font_get_type">
 
46
      <doc xml:whitespace="preserve">#PangoCairoFont is an interface exported by fonts for
 
47
use with Cairo. The actual type of the font will depend
 
48
on the particular font technology Cairo was compiled to use.</doc>
47
49
      <prerequisite name="Pango.Font"/>
48
 
      <virtual-method name="create_font_face">
49
 
        <return-value transfer-ownership="full">
50
 
          <type name="cairo.FontFace" c:type="cairo_font_face_t*"/>
51
 
        </return-value>
52
 
      </virtual-method>
53
 
      <virtual-method name="create_base_metrics_for_context">
54
 
        <return-value transfer-ownership="full">
55
 
          <type name="Pango.FontMetrics" c:type="PangoFontMetrics*"/>
56
 
        </return-value>
57
 
        <parameters>
58
 
          <parameter name="context" transfer-ownership="none">
59
 
            <type name="Pango.Context" c:type="PangoContext*"/>
60
 
          </parameter>
61
 
        </parameters>
62
 
      </virtual-method>
63
50
      <method name="get_scaled_font"
64
51
              c:identifier="pango_cairo_font_get_scaled_font"
65
 
              doc="Gets the #cairo_scaled_font_t used by @font.
 
52
              version="1.18">
 
53
        <doc xml:whitespace="preserve">Gets the #cairo_scaled_font_t used by @font.
66
54
The scaled font can be referenced and kept using
67
55
cairo_scaled_font_reference().
68
 
or %NULL if @font is %NULL."
69
 
              version="1.18">
 
56
or %NULL if @font is %NULL.</doc>
70
57
        <return-value transfer-ownership="full">
 
58
          <doc xml:whitespace="preserve">the #cairo_scaled_font_t used by @font,</doc>
71
59
          <type name="cairo.ScaledFont" c:type="cairo_scaled_font_t*"/>
72
60
        </return-value>
73
61
      </method>
74
62
    </interface>
75
 
    <record name="FontGlyphExtentsCacheEntry"
76
 
            c:type="PangoCairoFontGlyphExtentsCacheEntry">
77
 
    </record>
78
 
    <record name="FontHexBoxInfo" c:type="PangoCairoFontHexBoxInfo">
79
 
      <field name="font" writable="1">
80
 
        <type name="Font" c:type="PangoCairoFont*"/>
81
 
      </field>
82
 
      <field name="rows" writable="1">
83
 
        <type name="int" c:type="int"/>
84
 
      </field>
85
 
      <field name="digit_width" writable="1">
86
 
        <type name="double" c:type="double"/>
87
 
      </field>
88
 
      <field name="digit_height" writable="1">
89
 
        <type name="double" c:type="double"/>
90
 
      </field>
91
 
      <field name="pad_x" writable="1">
92
 
        <type name="double" c:type="double"/>
93
 
      </field>
94
 
      <field name="pad_y" writable="1">
95
 
        <type name="double" c:type="double"/>
96
 
      </field>
97
 
      <field name="line_width" writable="1">
98
 
        <type name="double" c:type="double"/>
99
 
      </field>
100
 
      <field name="box_descent" writable="1">
101
 
        <type name="double" c:type="double"/>
102
 
      </field>
103
 
      <field name="box_height" writable="1">
104
 
        <type name="double" c:type="double"/>
105
 
      </field>
106
 
    </record>
107
 
    <record name="FontIface"
108
 
            c:type="PangoCairoFontIface"
109
 
            glib:is-gtype-struct-for="Font">
110
 
      <field name="g_iface">
111
 
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
112
 
      </field>
113
 
      <field name="create_font_face">
114
 
        <callback name="create_font_face" c:type="create_font_face">
115
 
          <return-value transfer-ownership="full">
116
 
            <type name="cairo.FontFace" c:type="cairo_font_face_t*"/>
117
 
          </return-value>
118
 
          <parameters>
119
 
            <parameter name="cfont" transfer-ownership="none">
120
 
              <type name="Font" c:type="PangoCairoFont*"/>
121
 
            </parameter>
122
 
          </parameters>
123
 
        </callback>
124
 
      </field>
125
 
      <field name="create_base_metrics_for_context">
126
 
        <callback name="create_base_metrics_for_context"
127
 
                  c:type="create_base_metrics_for_context">
128
 
          <return-value transfer-ownership="full">
129
 
            <type name="Pango.FontMetrics" c:type="PangoFontMetrics*"/>
130
 
          </return-value>
131
 
          <parameters>
132
 
            <parameter name="cfont" transfer-ownership="none">
133
 
              <type name="Font" c:type="PangoCairoFont*"/>
134
 
            </parameter>
135
 
            <parameter name="context" transfer-ownership="none">
136
 
              <type name="Pango.Context" c:type="PangoContext*"/>
137
 
            </parameter>
138
 
          </parameters>
139
 
        </callback>
140
 
      </field>
141
 
      <field name="cf_priv_offset">
142
 
        <type name="ssize_t" c:type="gssize"/>
143
 
      </field>
144
 
    </record>
145
63
    <interface name="FontMap"
 
64
               c:symbol-prefix="font_map"
146
65
               c:type="PangoCairoFontMap"
147
 
               doc="#PangoCairoFontMap is an interface exported by font maps for
148
 
use with Cairo. The actual type of the font map will depend
149
 
on the particular font technology Cairo was compiled to use."
150
66
               version="1.10"
151
67
               glib:type-name="PangoCairoFontMap"
152
 
               glib:get-type="pango_cairo_font_map_get_type"
153
 
               glib:type-struct="FontMapIface">
 
68
               glib:get-type="pango_cairo_font_map_get_type">
 
69
      <doc xml:whitespace="preserve">#PangoCairoFontMap is an interface exported by font maps for
 
70
use with Cairo. The actual type of the font map will depend
 
71
on the particular font technology Cairo was compiled to use.</doc>
154
72
      <prerequisite name="Pango.FontMap"/>
155
 
      <virtual-method name="set_resolution" invoker="set_resolution">
156
 
        <return-value transfer-ownership="none">
157
 
          <type name="none" c:type="void"/>
158
 
        </return-value>
159
 
        <parameters>
160
 
          <parameter name="dpi" transfer-ownership="none">
161
 
            <type name="double" c:type="double"/>
162
 
          </parameter>
163
 
        </parameters>
164
 
      </virtual-method>
165
 
      <virtual-method name="get_resolution" invoker="get_resolution">
166
 
        <return-value transfer-ownership="none">
167
 
          <type name="double" c:type="double"/>
168
 
        </return-value>
169
 
      </virtual-method>
170
 
      <virtual-method name="get_font_type" invoker="get_font_type">
 
73
      <method name="create_context"
 
74
              c:identifier="pango_cairo_font_map_create_context"
 
75
              version="1.10"
 
76
              introspectable="0"
 
77
              deprecated="Use pango_font_map_create_context() instead."
 
78
              deprecated-version="1.22">
 
79
        <doc xml:whitespace="preserve">Create a #PangoContext for the given fontmap.</doc>
 
80
        <return-value>
 
81
          <doc xml:whitespace="preserve">the newly created context; free with g_object_unref().</doc>
 
82
          <type name="Pango.Context" c:type="PangoContext*"/>
 
83
        </return-value>
 
84
      </method>
 
85
      <method name="get_font_type"
 
86
              c:identifier="pango_cairo_font_map_get_font_type"
 
87
              version="1.18">
 
88
        <doc xml:whitespace="preserve">Gets the type of Cairo font backend that @fontmap uses.</doc>
171
89
        <return-value transfer-ownership="full">
 
90
          <doc xml:whitespace="preserve">the #cairo_font_type_t cairo font backend type</doc>
172
91
          <type name="cairo.FontType" c:type="cairo_font_type_t"/>
173
92
        </return-value>
174
 
      </virtual-method>
 
93
      </method>
 
94
      <method name="get_resolution"
 
95
              c:identifier="pango_cairo_font_map_get_resolution"
 
96
              version="1.10">
 
97
        <doc xml:whitespace="preserve">Gets the resolution for the fontmap. See pango_cairo_font_map_set_resolution()</doc>
 
98
        <return-value transfer-ownership="none">
 
99
          <doc xml:whitespace="preserve">the resolution in "dots per inch"</doc>
 
100
          <type name="gdouble" c:type="double"/>
 
101
        </return-value>
 
102
      </method>
175
103
      <method name="set_default"
176
104
              c:identifier="pango_cairo_font_map_set_default"
177
 
              doc="Sets a default #PangoCairoFontMap to use with Cairo.
 
105
              version="1.22">
 
106
        <doc xml:whitespace="preserve">Sets a default #PangoCairoFontMap to use with Cairo.
178
107
This can be used to change the Cairo font backend that the
179
108
default fontmap uses for example.  The old default font map
180
109
is unreffed and the new font map referenced.
181
110
A value of %NULL for @fontmap will cause the current default
182
111
font map to be released and a new default font
183
 
map to be created on demand, using pango_cairo_font_map_new()."
184
 
              version="1.22">
 
112
map to be created on demand, using pango_cairo_font_map_new().</doc>
185
113
        <return-value transfer-ownership="none">
186
114
          <type name="none" c:type="void"/>
187
115
        </return-value>
188
116
      </method>
189
 
      <method name="get_font_type"
190
 
              c:identifier="pango_cairo_font_map_get_font_type"
191
 
              doc="Gets the type of Cairo font backend that @fontmap uses."
192
 
              version="1.18">
193
 
        <return-value transfer-ownership="full">
194
 
          <type name="cairo.FontType" c:type="cairo_font_type_t"/>
195
 
        </return-value>
196
 
      </method>
197
117
      <method name="set_resolution"
198
118
              c:identifier="pango_cairo_font_map_set_resolution"
199
 
              doc="involved; the terminology is conventional.)
200
 
Sets the resolution for the fontmap. This is a scale factor between
 
119
              version="1.10">
 
120
        <doc xml:whitespace="preserve">Sets the resolution for the fontmap. This is a scale factor between
201
121
points specified in a #PangoFontDescription and Cairo units. The
202
122
default value is 96, meaning that a 10 point font will be 13
203
 
units high. (10 * 96. / 72. = 13.3)."
204
 
              version="1.10">
 
123
units high. (10 * 96. / 72. = 13.3).</doc>
205
124
        <return-value transfer-ownership="none">
206
125
          <type name="none" c:type="void"/>
207
126
        </return-value>
208
127
        <parameters>
209
128
          <parameter name="dpi" transfer-ownership="none">
210
 
            <type name="double" c:type="double"/>
 
129
            <doc xml:whitespace="preserve">the resolution in "dots per inch". (Physical inches aren't actually involved; the terminology is conventional.)</doc>
 
130
            <type name="gdouble" c:type="double"/>
211
131
          </parameter>
212
132
        </parameters>
213
133
      </method>
214
 
      <method name="get_resolution"
215
 
              c:identifier="pango_cairo_font_map_get_resolution"
216
 
              doc="Gets the resolution for the fontmap. See pango_cairo_font_map_set_resolution()"
217
 
              version="1.10">
218
 
        <return-value transfer-ownership="none">
219
 
          <type name="double" c:type="double"/>
220
 
        </return-value>
221
 
      </method>
222
 
      <method name="create_context"
223
 
              c:identifier="pango_cairo_font_map_create_context"
224
 
              doc="Create a #PangoContext for the given fontmap."
225
 
              version="1.10"
226
 
              deprecated="Use pango_font_map_create_context() instead."
227
 
              deprecated-version="1.22">
228
 
        <return-value transfer-ownership="full">
229
 
          <type name="Pango.Context" c:type="PangoContext*"/>
230
 
        </return-value>
231
 
      </method>
232
134
    </interface>
233
 
    <record name="FontMapIface"
234
 
            c:type="PangoCairoFontMapIface"
235
 
            glib:is-gtype-struct-for="FontMap">
236
 
      <field name="g_iface">
237
 
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
238
 
      </field>
239
 
      <field name="set_resolution">
240
 
        <callback name="set_resolution" c:type="set_resolution">
241
 
          <return-value transfer-ownership="none">
242
 
            <type name="none" c:type="void"/>
243
 
          </return-value>
244
 
          <parameters>
245
 
            <parameter name="fontmap" transfer-ownership="none">
246
 
              <type name="FontMap" c:type="PangoCairoFontMap*"/>
247
 
            </parameter>
248
 
            <parameter name="dpi" transfer-ownership="none">
249
 
              <type name="double" c:type="double"/>
250
 
            </parameter>
251
 
          </parameters>
252
 
        </callback>
253
 
      </field>
254
 
      <field name="get_resolution">
255
 
        <callback name="get_resolution" c:type="get_resolution">
256
 
          <return-value transfer-ownership="none">
257
 
            <type name="double" c:type="double"/>
258
 
          </return-value>
259
 
          <parameters>
260
 
            <parameter name="fontmap" transfer-ownership="none">
261
 
              <type name="FontMap" c:type="PangoCairoFontMap*"/>
262
 
            </parameter>
263
 
          </parameters>
264
 
        </callback>
265
 
      </field>
266
 
      <field name="get_font_type">
267
 
        <callback name="get_font_type" c:type="get_font_type">
268
 
          <return-value transfer-ownership="full">
269
 
            <type name="cairo.FontType" c:type="cairo_font_type_t"/>
270
 
          </return-value>
271
 
          <parameters>
272
 
            <parameter name="fontmap" transfer-ownership="none">
273
 
              <type name="FontMap" c:type="PangoCairoFontMap*"/>
274
 
            </parameter>
275
 
          </parameters>
276
 
        </callback>
277
 
      </field>
278
 
    </record>
279
 
    <record name="FontPrivate" c:type="PangoCairoFontPrivate">
280
 
      <field name="cfont" writable="1">
281
 
        <type name="Font" c:type="PangoCairoFont*"/>
282
 
      </field>
283
 
      <field name="data" writable="1">
284
 
        <type name="FontPrivateScaledFontData"
285
 
              c:type="PangoCairoFontPrivateScaledFontData*"/>
286
 
      </field>
287
 
      <field name="scaled_font" writable="1">
288
 
        <type name="cairo.ScaledFont" c:type="cairo_scaled_font_t*"/>
289
 
      </field>
290
 
      <field name="hbi" writable="1">
291
 
        <type name="FontHexBoxInfo" c:type="PangoCairoFontHexBoxInfo*"/>
292
 
      </field>
293
 
      <field name="is_hinted" writable="1">
294
 
        <type name="boolean" c:type="gboolean"/>
295
 
      </field>
296
 
      <field name="gravity" writable="1">
297
 
        <type name="Pango.Gravity" c:type="PangoGravity"/>
298
 
      </field>
299
 
      <field name="font_extents" writable="1">
300
 
        <type name="Pango.Rectangle" c:type="PangoRectangle"/>
301
 
      </field>
302
 
      <field name="glyph_extents_cache" writable="1">
303
 
        <type name="FontGlyphExtentsCacheEntry"
304
 
              c:type="PangoCairoFontGlyphExtentsCacheEntry*"/>
305
 
      </field>
306
 
      <field name="metrics_by_lang" writable="1">
307
 
        <type name="GLib.SList" c:type="GSList*"/>
308
 
      </field>
309
 
    </record>
310
 
    <record name="FontPrivateScaledFontData"
311
 
            c:type="PangoCairoFontPrivateScaledFontData">
312
 
      <field name="font_matrix" writable="1">
313
 
        <type name="cairo.Matrix" c:type="cairo_matrix_t"/>
314
 
      </field>
315
 
      <field name="ctm" writable="1">
316
 
        <type name="cairo.Matrix" c:type="cairo_matrix_t"/>
317
 
      </field>
318
 
      <field name="options" writable="1">
319
 
        <type name="cairo.FontOptions" c:type="cairo_font_options_t*"/>
320
 
      </field>
321
 
    </record>
322
 
    <constant name="HEIGHT_SQUARES" value="2.5">
323
 
      <type name="double"/>
324
 
    </constant>
325
 
    <class name="Renderer"
326
 
           c:type="PangoCairoRenderer"
327
 
           parent="Pango.Renderer"
328
 
           glib:type-name="PangoCairoRenderer"
329
 
           glib:get-type="pango_cairo_renderer_get_type">
330
 
    </class>
331
135
    <callback name="ShapeRendererFunc" c:type="PangoCairoShapeRendererFunc">
332
136
      <return-value transfer-ownership="none">
333
137
        <type name="none" c:type="void"/>
340
144
          <type name="Pango.AttrShape" c:type="PangoAttrShape*"/>
341
145
        </parameter>
342
146
        <parameter name="do_path" transfer-ownership="none">
343
 
          <type name="boolean" c:type="gboolean"/>
 
147
          <type name="gboolean" c:type="gboolean"/>
344
148
        </parameter>
345
149
        <parameter name="data" transfer-ownership="none">
346
 
          <type name="any" c:type="gpointer"/>
 
150
          <type name="gpointer" c:type="gpointer"/>
347
151
        </parameter>
348
152
      </parameters>
349
153
    </callback>
350
154
    <function name="context_get_font_options"
351
155
              c:identifier="pango_cairo_context_get_font_options"
352
 
              doc="Retrieves any font rendering options previously set with
 
156
              version="1.10">
 
157
      <doc xml:whitespace="preserve">Retrieves any font rendering options previously set with
353
158
pango_cairo_font_map_set_font_options(). This function does not report options
354
159
that are derived from the target surface by pango_cairo_update_context()
355
160
if no options have been set. This value is owned by the context
356
 
and must not be modified or freed."
357
 
              version="1.10">
 
161
and must not be modified or freed.</doc>
358
162
      <return-value transfer-ownership="none">
 
163
        <doc xml:whitespace="preserve">the font options previously set on the context, or %NULL</doc>
359
164
        <type name="cairo.FontOptions" c:type="cairo_font_options_t*"/>
360
165
      </return-value>
361
166
      <parameters>
362
167
        <parameter name="context" transfer-ownership="none">
 
168
          <doc xml:whitespace="preserve">a #PangoContext, from a pangocairo font map</doc>
363
169
          <type name="Pango.Context" c:type="PangoContext*"/>
364
170
        </parameter>
365
171
      </parameters>
366
172
    </function>
367
173
    <function name="context_get_resolution"
368
174
              c:identifier="pango_cairo_context_get_resolution"
369
 
              doc="Gets the resolution for the context. See pango_cairo_context_set_resolution()
370
 
be returned if no resolution has previously been set."
371
175
              version="1.10">
 
176
      <doc xml:whitespace="preserve">Gets the resolution for the context. See pango_cairo_context_set_resolution()
 
177
be returned if no resolution has previously been set.</doc>
372
178
      <return-value transfer-ownership="none">
373
 
        <type name="double" c:type="double"/>
 
179
        <doc xml:whitespace="preserve">the resolution in "dots per inch". A negative value will</doc>
 
180
        <type name="gdouble" c:type="double"/>
374
181
      </return-value>
375
182
      <parameters>
376
183
        <parameter name="context" transfer-ownership="none">
 
184
          <doc xml:whitespace="preserve">a #PangoContext, from a pangocairo font map</doc>
377
185
          <type name="Pango.Context" c:type="PangoContext*"/>
378
186
        </parameter>
379
187
      </parameters>
380
188
    </function>
381
189
    <function name="context_get_shape_renderer"
382
190
              c:identifier="pango_cairo_context_get_shape_renderer"
383
 
              doc="Sets callback function for context to use for rendering attributes
 
191
              version="1.18"
 
192
              introspectable="0">
 
193
      <doc xml:whitespace="preserve">Sets callback function for context to use for rendering attributes
384
194
of type %PANGO_ATTR_SHAPE.  See #PangoCairoShapeRendererFunc for
385
195
details.
386
196
Retrieves callback function and associated user data for rendering
387
197
attributes of type %PANGO_ATTR_SHAPE as set by
388
198
pango_cairo_context_set_shape_renderer(), if any.
389
 
if no shape rendering callback have been set."
390
 
              version="1.18">
391
 
      <return-value transfer-ownership="full">
 
199
if no shape rendering callback have been set.</doc>
 
200
      <return-value>
 
201
        <doc xml:whitespace="preserve">the shape rendering callback previously set on the context, or %NULL</doc>
392
202
        <type name="ShapeRendererFunc" c:type="PangoCairoShapeRendererFunc"/>
393
203
      </return-value>
394
204
      <parameters>
395
205
        <parameter name="context" transfer-ownership="none">
 
206
          <doc xml:whitespace="preserve">a #PangoContext, from a pangocairo font map</doc>
396
207
          <type name="Pango.Context" c:type="PangoContext*"/>
397
208
        </parameter>
398
209
        <parameter name="data" transfer-ownership="none">
399
 
          <type name="any" c:type="gpointer*"/>
 
210
          <doc xml:whitespace="preserve">Pointer to #gpointer to return user data</doc>
 
211
          <type name="gpointer" c:type="gpointer*"/>
400
212
        </parameter>
401
213
      </parameters>
402
214
    </function>
403
215
    <function name="context_set_font_options"
404
216
              c:identifier="pango_cairo_context_set_font_options"
405
 
              doc="options. A copy is made.
406
 
Sets the font options used when rendering text with this context.
 
217
              version="1.10">
 
218
      <doc xml:whitespace="preserve">Sets the font options used when rendering text with this context.
407
219
These options override any options that pango_cairo_update_context()
408
 
derives from the target surface."
409
 
              version="1.10">
 
220
derives from the target surface.</doc>
410
221
      <return-value transfer-ownership="none">
411
222
        <type name="none" c:type="void"/>
412
223
      </return-value>
413
224
      <parameters>
414
225
        <parameter name="context" transfer-ownership="none">
 
226
          <doc xml:whitespace="preserve">a #PangoContext, from a pangocairo font map</doc>
415
227
          <type name="Pango.Context" c:type="PangoContext*"/>
416
228
        </parameter>
417
229
        <parameter name="options" transfer-ownership="none">
 
230
          <doc xml:whitespace="preserve">a #cairo_font_options_t, or %NULL to unset any previously set options. A copy is made.</doc>
418
231
          <type name="cairo.FontOptions" c:type="cairo_font_options_t*"/>
419
232
        </parameter>
420
233
      </parameters>
421
234
    </function>
422
235
    <function name="context_set_resolution"
423
236
              c:identifier="pango_cairo_context_set_resolution"
424
 
              doc="involved; the terminology is conventional.) A 0 or negative value
425
 
means to use the resolution from the font map.
426
 
Sets the resolution for the context. This is a scale factor between
 
237
              version="1.10">
 
238
      <doc xml:whitespace="preserve">Sets the resolution for the context. This is a scale factor between
427
239
points specified in a #PangoFontDescription and Cairo units. The
428
240
default value is 96, meaning that a 10 point font will be 13
429
 
units high. (10 * 96. / 72. = 13.3)."
430
 
              version="1.10">
 
241
units high. (10 * 96. / 72. = 13.3).</doc>
431
242
      <return-value transfer-ownership="none">
432
243
        <type name="none" c:type="void"/>
433
244
      </return-value>
434
245
      <parameters>
435
246
        <parameter name="context" transfer-ownership="none">
 
247
          <doc xml:whitespace="preserve">a #PangoContext, from a pangocairo font map</doc>
436
248
          <type name="Pango.Context" c:type="PangoContext*"/>
437
249
        </parameter>
438
250
        <parameter name="dpi" transfer-ownership="none">
439
 
          <type name="double" c:type="double"/>
 
251
          <doc xml:whitespace="preserve">the resolution in "dots per inch". (Physical inches aren't actually involved; the terminology is conventional.) A 0 or negative value means to use the resolution from the font map.</doc>
 
252
          <type name="gdouble" c:type="double"/>
440
253
        </parameter>
441
254
      </parameters>
442
255
    </function>
443
256
    <function name="context_set_shape_renderer"
444
257
              c:identifier="pango_cairo_context_set_shape_renderer"
445
 
              doc="%PANGO_ATTR_SHAPE, or %NULL to disable shape rendering.
446
 
context is freed to release @data, or %NULL.
447
 
Sets callback function for context to use for rendering attributes
 
258
              version="1.18">
 
259
      <doc xml:whitespace="preserve">Sets callback function for context to use for rendering attributes
448
260
of type %PANGO_ATTR_SHAPE.  See #PangoCairoShapeRendererFunc for
449
 
details."
450
 
              version="1.18">
 
261
details.</doc>
451
262
      <return-value transfer-ownership="none">
452
263
        <type name="none" c:type="void"/>
453
264
      </return-value>
454
265
      <parameters>
455
266
        <parameter name="context" transfer-ownership="none">
 
267
          <doc xml:whitespace="preserve">a #PangoContext, from a pangocairo font map</doc>
456
268
          <type name="Pango.Context" c:type="PangoContext*"/>
457
269
        </parameter>
458
270
        <parameter name="func"
460
272
                   scope="notified"
461
273
                   closure="2"
462
274
                   destroy="3">
 
275
          <doc xml:whitespace="preserve">Callback function for rendering attributes of type %PANGO_ATTR_SHAPE, or %NULL to disable shape rendering.</doc>
463
276
          <type name="ShapeRendererFunc" c:type="PangoCairoShapeRendererFunc"/>
464
277
        </parameter>
465
278
        <parameter name="data" transfer-ownership="none">
466
 
          <type name="any" c:type="gpointer"/>
 
279
          <doc xml:whitespace="preserve">User data that will be passed to @func.</doc>
 
280
          <type name="gpointer" c:type="gpointer"/>
467
281
        </parameter>
468
 
        <parameter name="dnotify" transfer-ownership="none" scope="call">
 
282
        <parameter name="dnotify" transfer-ownership="none" scope="async">
 
283
          <doc xml:whitespace="preserve">Callback that will be called when the context is freed to release @data, or %NULL.</doc>
469
284
          <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
470
285
        </parameter>
471
286
      </parameters>
472
287
    </function>
473
288
    <function name="create_context"
474
289
              c:identifier="pango_cairo_create_context"
475
 
              doc="Creates a context object set up to match the current transformation
 
290
              version="1.22"
 
291
              introspectable="0">
 
292
      <doc xml:whitespace="preserve">Creates a context object set up to match the current transformation
476
293
and target surface of the Cairo context.  This context can then be
477
294
used to create a layout using pango_layout_new().
478
295
This function is a convenience function that creates a context using
479
296
the default font map, then updates it to @cr.  If you just need to
480
297
create a layout for use with @cr and do not need to access #PangoContext
481
298
directly, you can use pango_cairo_create_layout() instead.
482
 
g_object_unref()."
483
 
              version="1.22">
484
 
      <return-value transfer-ownership="full">
 
299
g_object_unref().</doc>
 
300
      <return-value>
 
301
        <doc xml:whitespace="preserve">the newly created #PangoContext. Free with</doc>
485
302
        <type name="Pango.Context" c:type="PangoContext*"/>
486
303
      </return-value>
487
304
      <parameters>
488
305
        <parameter name="cr" transfer-ownership="none">
 
306
          <doc xml:whitespace="preserve">a Cairo context</doc>
489
307
          <type name="cairo.Context" c:type="cairo_t*"/>
490
308
        </parameter>
491
309
      </parameters>
492
310
    </function>
493
311
    <function name="create_layout"
494
312
              c:identifier="pango_cairo_create_layout"
495
 
              doc="Creates a layout object set up to match the current transformation
 
313
              version="1.10"
 
314
              introspectable="0">
 
315
      <doc xml:whitespace="preserve">Creates a layout object set up to match the current transformation
496
316
and target surface of the Cairo context.  This layout can then be
497
317
used for text measurement with functions like
498
318
pango_layout_get_size() or drawing with functions like
502
322
however it is slightly inefficient since it creates a separate
503
323
#PangoContext object for each layout. This might matter in an
504
324
application that was laying out large amounts of text.
505
 
g_object_unref()."
506
 
              version="1.10">
507
 
      <return-value transfer-ownership="full">
 
325
g_object_unref().</doc>
 
326
      <return-value>
 
327
        <doc xml:whitespace="preserve">the newly created #PangoLayout. Free with</doc>
508
328
        <type name="Pango.Layout" c:type="PangoLayout*"/>
509
329
      </return-value>
510
330
      <parameters>
511
331
        <parameter name="cr" transfer-ownership="none">
 
332
          <doc xml:whitespace="preserve">a Cairo context</doc>
512
333
          <type name="cairo.Context" c:type="cairo_t*"/>
513
334
        </parameter>
514
335
      </parameters>
515
336
    </function>
516
337
    <function name="error_underline_path"
517
338
              c:identifier="pango_cairo_error_underline_path"
518
 
              doc="Add a squiggly line to the current path in the specified cairo context that
 
339
              version="1.14">
 
340
      <doc xml:whitespace="preserve">Add a squiggly line to the current path in the specified cairo context that
519
341
approximately covers the given rectangle in the style of an underline used
520
342
to indicate a spelling error.  (The width of the underline is rounded to an
521
343
integer number of up/down segments and the resulting rectangle is centered
522
 
in the original rectangle)"
523
 
              version="1.14">
 
344
in the original rectangle)</doc>
524
345
      <return-value transfer-ownership="none">
525
346
        <type name="none" c:type="void"/>
526
347
      </return-value>
527
348
      <parameters>
528
349
        <parameter name="cr" transfer-ownership="none">
 
350
          <doc xml:whitespace="preserve">a Cairo context</doc>
529
351
          <type name="cairo.Context" c:type="cairo_t*"/>
530
352
        </parameter>
531
353
        <parameter name="x" transfer-ownership="none">
532
 
          <type name="double" c:type="double"/>
 
354
          <doc xml:whitespace="preserve">The X coordinate of one corner of the rectangle</doc>
 
355
          <type name="gdouble" c:type="double"/>
533
356
        </parameter>
534
357
        <parameter name="y" transfer-ownership="none">
535
 
          <type name="double" c:type="double"/>
 
358
          <doc xml:whitespace="preserve">The Y coordinate of one corner of the rectangle</doc>
 
359
          <type name="gdouble" c:type="double"/>
536
360
        </parameter>
537
361
        <parameter name="width" transfer-ownership="none">
538
 
          <type name="double" c:type="double"/>
 
362
          <doc xml:whitespace="preserve">Non-negative width of the rectangle</doc>
 
363
          <type name="gdouble" c:type="double"/>
539
364
        </parameter>
540
365
        <parameter name="height" transfer-ownership="none">
541
 
          <type name="double" c:type="double"/>
 
366
          <doc xml:whitespace="preserve">Non-negative height of the rectangle</doc>
 
367
          <type name="gdouble" c:type="double"/>
542
368
        </parameter>
543
369
      </parameters>
544
370
    </function>
545
371
    <function name="font_map_get_default"
546
372
              c:identifier="pango_cairo_font_map_get_default"
547
 
              doc="Gets a default #PangoCairoFontMap to use with Cairo.
 
373
              version="1.10"
 
374
              introspectable="0">
 
375
      <doc xml:whitespace="preserve">Gets a default #PangoCairoFontMap to use with Cairo.
548
376
Note that the type of the returned object will depend
549
377
on the particular font backend Cairo was compiled to use;
550
378
You generally should only use the #PangoFontMap and
553
381
pango_cairo_font_map_set_default().  This can be used to
554
382
change the Cairo font backend that the default fontmap
555
383
uses for example.
556
 
object is owned by Pango and must not be freed."
557
 
              version="1.10">
558
 
      <return-value transfer-ownership="full">
 
384
object is owned by Pango and must not be freed.</doc>
 
385
      <return-value>
 
386
        <doc xml:whitespace="preserve">the default Cairo fontmap for Pango. This</doc>
559
387
        <type name="Pango.FontMap" c:type="PangoFontMap*"/>
560
388
      </return-value>
561
389
    </function>
562
390
    <function name="font_map_new"
563
391
              c:identifier="pango_cairo_font_map_new"
564
 
              doc="Creates a new #PangoCairoFontMap object; a fontmap is used
 
392
              version="1.10"
 
393
              introspectable="0">
 
394
      <doc xml:whitespace="preserve">Creates a new #PangoCairoFontMap object; a fontmap is used
565
395
to cache information about available fonts, and holds
566
396
certain global parameters such as the resolution.
567
397
In most cases, you can use pango_cairo_font_map_get_default()
570
400
on the particular font backend Cairo was compiled to use;
571
401
You generally should only use the #PangoFontMap and
572
402
#PangoCairoFontMap interfaces on the returned object.
573
 
be freed with g_object_unref()."
574
 
              version="1.10">
575
 
      <return-value transfer-ownership="full">
 
403
be freed with g_object_unref().</doc>
 
404
      <return-value>
 
405
        <doc xml:whitespace="preserve">the newly allocated #PangoFontMap, which should</doc>
576
406
        <type name="Pango.FontMap" c:type="PangoFontMap*"/>
577
407
      </return-value>
578
408
    </function>
579
409
    <function name="font_map_new_for_font_type"
580
410
              c:identifier="pango_cairo_font_map_new_for_font_type"
581
 
              doc="Creates a new #PangoCairoFontMap object of the type suitable
 
411
              version="1.18"
 
412
              introspectable="0">
 
413
      <doc xml:whitespace="preserve">Creates a new #PangoCairoFontMap object of the type suitable
582
414
to be used with cairo font backend of type @fonttype.
583
415
In most cases one should simply use @pango_cairo_font_map_new(),
584
416
or in fact in most of those cases, just use
585
417
which should be freed with g_object_unref(),
586
418
or %NULL if the requested cairo font backend is
587
 
not supported / compiled in."
588
 
              version="1.18">
589
 
      <return-value transfer-ownership="full">
 
419
not supported / compiled in.</doc>
 
420
      <return-value>
 
421
        <doc xml:whitespace="preserve">the newly allocated #PangoFontMap of suitable type</doc>
590
422
        <type name="Pango.FontMap" c:type="PangoFontMap*"/>
591
423
      </return-value>
592
424
      <parameters>
593
425
        <parameter name="fonttype" transfer-ownership="none">
 
426
          <doc xml:whitespace="preserve">desired #cairo_font_type_t</doc>
594
427
          <type name="cairo.FontType" c:type="cairo_font_type_t"/>
595
428
        </parameter>
596
429
      </parameters>
614
447
    </function>
615
448
    <function name="layout_line_path"
616
449
              c:identifier="pango_cairo_layout_line_path"
617
 
              doc="Adds the text in #PangoLayoutLine to the current path in the
 
450
              version="1.10">
 
451
      <doc xml:whitespace="preserve">Adds the text in #PangoLayoutLine to the current path in the
618
452
specified cairo context.  The origin of the glyphs (the left edge
619
 
of the line) will be at the current point of the cairo context."
620
 
              version="1.10">
 
453
of the line) will be at the current point of the cairo context.</doc>
621
454
      <return-value transfer-ownership="none">
622
455
        <type name="none" c:type="void"/>
623
456
      </return-value>
624
457
      <parameters>
625
458
        <parameter name="cr" transfer-ownership="none">
 
459
          <doc xml:whitespace="preserve">a Cairo context</doc>
626
460
          <type name="cairo.Context" c:type="cairo_t*"/>
627
461
        </parameter>
628
462
        <parameter name="line" transfer-ownership="none">
 
463
          <doc xml:whitespace="preserve">a #PangoLayoutLine</doc>
629
464
          <type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/>
630
465
        </parameter>
631
466
      </parameters>
632
467
    </function>
633
468
    <function name="layout_path"
634
469
              c:identifier="pango_cairo_layout_path"
635
 
              doc="Adds the text in a #PangoLayout to the current path in the
 
470
              version="1.10">
 
471
      <doc xml:whitespace="preserve">Adds the text in a #PangoLayout to the current path in the
636
472
specified cairo context.  The top-left corner of the #PangoLayout
637
 
will be at the current point of the cairo context."
638
 
              version="1.10">
 
473
will be at the current point of the cairo context.</doc>
639
474
      <return-value transfer-ownership="none">
640
475
        <type name="none" c:type="void"/>
641
476
      </return-value>
642
477
      <parameters>
643
478
        <parameter name="cr" transfer-ownership="none">
 
479
          <doc xml:whitespace="preserve">a Cairo context</doc>
644
480
          <type name="cairo.Context" c:type="cairo_t*"/>
645
481
        </parameter>
646
482
        <parameter name="layout" transfer-ownership="none">
 
483
          <doc xml:whitespace="preserve">a Pango layout</doc>
647
484
          <type name="Pango.Layout" c:type="PangoLayout*"/>
648
485
        </parameter>
649
486
      </parameters>
650
487
    </function>
651
488
    <function name="show_error_underline"
652
489
              c:identifier="pango_cairo_show_error_underline"
653
 
              doc="Draw a squiggly line in the specified cairo context that approximately
 
490
              version="1.14">
 
491
      <doc xml:whitespace="preserve">Draw a squiggly line in the specified cairo context that approximately
654
492
covers the given rectangle in the style of an underline used to indicate a
655
493
spelling error.  (The width of the underline is rounded to an integer
656
494
number of up/down segments and the resulting rectangle is centered in the
657
 
original rectangle)"
658
 
              version="1.14">
 
495
original rectangle)</doc>
659
496
      <return-value transfer-ownership="none">
660
497
        <type name="none" c:type="void"/>
661
498
      </return-value>
662
499
      <parameters>
663
500
        <parameter name="cr" transfer-ownership="none">
 
501
          <doc xml:whitespace="preserve">a Cairo context</doc>
664
502
          <type name="cairo.Context" c:type="cairo_t*"/>
665
503
        </parameter>
666
504
        <parameter name="x" transfer-ownership="none">
667
 
          <type name="double" c:type="double"/>
 
505
          <doc xml:whitespace="preserve">The X coordinate of one corner of the rectangle</doc>
 
506
          <type name="gdouble" c:type="double"/>
668
507
        </parameter>
669
508
        <parameter name="y" transfer-ownership="none">
670
 
          <type name="double" c:type="double"/>
 
509
          <doc xml:whitespace="preserve">The Y coordinate of one corner of the rectangle</doc>
 
510
          <type name="gdouble" c:type="double"/>
671
511
        </parameter>
672
512
        <parameter name="width" transfer-ownership="none">
673
 
          <type name="double" c:type="double"/>
 
513
          <doc xml:whitespace="preserve">Non-negative width of the rectangle</doc>
 
514
          <type name="gdouble" c:type="double"/>
674
515
        </parameter>
675
516
        <parameter name="height" transfer-ownership="none">
676
 
          <type name="double" c:type="double"/>
 
517
          <doc xml:whitespace="preserve">Non-negative height of the rectangle</doc>
 
518
          <type name="gdouble" c:type="double"/>
677
519
        </parameter>
678
520
      </parameters>
679
521
    </function>
680
522
    <function name="show_glyph_item"
681
523
              c:identifier="pango_cairo_show_glyph_item"
682
 
              doc="Draws the glyphs in @glyph_item in the specified cairo context,
 
524
              version="1.22">
 
525
      <doc xml:whitespace="preserve">Draws the glyphs in @glyph_item in the specified cairo context,
683
526
embedding the text associated with the glyphs in the output if the
684
527
output format supports it (PDF for example), otherwise it acts
685
528
similar to pango_cairo_show_glyph_string().
686
529
The origin of the glyphs (the left edge of the baseline) will
687
530
be drawn at the current point of the cairo context.
688
531
Note that @text is the start of the text for layout, which is then
689
 
indexed by &lt;literal&gt;@glyph_item-&gt;item-&gt;offset&lt;/literal&gt;."
690
 
              version="1.22">
 
532
indexed by &lt;literal&gt;@glyph_item-&gt;item-&gt;offset&lt;/literal&gt;.</doc>
691
533
      <return-value transfer-ownership="none">
692
534
        <type name="none" c:type="void"/>
693
535
      </return-value>
694
536
      <parameters>
695
537
        <parameter name="cr" transfer-ownership="none">
 
538
          <doc xml:whitespace="preserve">a Cairo context</doc>
696
539
          <type name="cairo.Context" c:type="cairo_t*"/>
697
540
        </parameter>
698
541
        <parameter name="text" transfer-ownership="none">
 
542
          <doc xml:whitespace="preserve">the UTF-8 text that @glyph_item refers to</doc>
699
543
          <type name="utf8" c:type="char*"/>
700
544
        </parameter>
701
545
        <parameter name="glyph_item" transfer-ownership="none">
 
546
          <doc xml:whitespace="preserve">a #PangoGlyphItem</doc>
702
547
          <type name="Pango.GlyphItem" c:type="PangoGlyphItem*"/>
703
548
        </parameter>
704
549
      </parameters>
705
550
    </function>
706
551
    <function name="show_glyph_string"
707
552
              c:identifier="pango_cairo_show_glyph_string"
708
 
              doc="Draws the glyphs in @glyphs in the specified cairo context.
 
553
              version="1.10">
 
554
      <doc xml:whitespace="preserve">Draws the glyphs in @glyphs in the specified cairo context.
709
555
The origin of the glyphs (the left edge of the baseline) will
710
 
be drawn at the current point of the cairo context."
711
 
              version="1.10">
 
556
be drawn at the current point of the cairo context.</doc>
712
557
      <return-value transfer-ownership="none">
713
558
        <type name="none" c:type="void"/>
714
559
      </return-value>
715
560
      <parameters>
716
561
        <parameter name="cr" transfer-ownership="none">
 
562
          <doc xml:whitespace="preserve">a Cairo context</doc>
717
563
          <type name="cairo.Context" c:type="cairo_t*"/>
718
564
        </parameter>
719
565
        <parameter name="font" transfer-ownership="none">
 
566
          <doc xml:whitespace="preserve">a #PangoFont from a #PangoCairoFontMap</doc>
720
567
          <type name="Pango.Font" c:type="PangoFont*"/>
721
568
        </parameter>
722
569
        <parameter name="glyphs" transfer-ownership="none">
 
570
          <doc xml:whitespace="preserve">a #PangoGlyphString</doc>
723
571
          <type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
724
572
        </parameter>
725
573
      </parameters>
726
574
    </function>
727
575
    <function name="show_layout"
728
576
              c:identifier="pango_cairo_show_layout"
729
 
              doc="Draws a #PangoLayout in the specified cairo context.
 
577
              version="1.10">
 
578
      <doc xml:whitespace="preserve">Draws a #PangoLayout in the specified cairo context.
730
579
The top-left corner of the #PangoLayout will be drawn
731
 
at the current point of the cairo context."
732
 
              version="1.10">
 
580
at the current point of the cairo context.</doc>
733
581
      <return-value transfer-ownership="none">
734
582
        <type name="none" c:type="void"/>
735
583
      </return-value>
736
584
      <parameters>
737
585
        <parameter name="cr" transfer-ownership="none">
 
586
          <doc xml:whitespace="preserve">a Cairo context</doc>
738
587
          <type name="cairo.Context" c:type="cairo_t*"/>
739
588
        </parameter>
740
589
        <parameter name="layout" transfer-ownership="none">
 
590
          <doc xml:whitespace="preserve">a Pango layout</doc>
741
591
          <type name="Pango.Layout" c:type="PangoLayout*"/>
742
592
        </parameter>
743
593
      </parameters>
744
594
    </function>
745
595
    <function name="show_layout_line"
746
596
              c:identifier="pango_cairo_show_layout_line"
747
 
              doc="Draws a #PangoLayoutLine in the specified cairo context.
 
597
              version="1.10">
 
598
      <doc xml:whitespace="preserve">Draws a #PangoLayoutLine in the specified cairo context.
748
599
The origin of the glyphs (the left edge of the line) will
749
 
be drawn at the current point of the cairo context."
750
 
              version="1.10">
 
600
be drawn at the current point of the cairo context.</doc>
751
601
      <return-value transfer-ownership="none">
752
602
        <type name="none" c:type="void"/>
753
603
      </return-value>
754
604
      <parameters>
755
605
        <parameter name="cr" transfer-ownership="none">
 
606
          <doc xml:whitespace="preserve">a Cairo context</doc>
756
607
          <type name="cairo.Context" c:type="cairo_t*"/>
757
608
        </parameter>
758
609
        <parameter name="line" transfer-ownership="none">
 
610
          <doc xml:whitespace="preserve">a #PangoLayoutLine</doc>
759
611
          <type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/>
760
612
        </parameter>
761
613
      </parameters>
762
614
    </function>
763
615
    <function name="update_context"
764
616
              c:identifier="pango_cairo_update_context"
765
 
              doc="Updates a #PangoContext previously created for use with Cairo to
 
617
              version="1.10">
 
618
      <doc xml:whitespace="preserve">Updates a #PangoContext previously created for use with Cairo to
766
619
match the current transformation and target surface of a Cairo
767
620
context. If any layouts have been created for the context,
768
 
it&apos;s necessary to call pango_layout_context_changed() on those
769
 
layouts."
770
 
              version="1.10">
 
621
it's necessary to call pango_layout_context_changed() on those
 
622
layouts.</doc>
771
623
      <return-value transfer-ownership="none">
772
624
        <type name="none" c:type="void"/>
773
625
      </return-value>
774
626
      <parameters>
775
627
        <parameter name="cr" transfer-ownership="none">
 
628
          <doc xml:whitespace="preserve">a Cairo context</doc>
776
629
          <type name="cairo.Context" c:type="cairo_t*"/>
777
630
        </parameter>
778
631
        <parameter name="context" transfer-ownership="none">
 
632
          <doc xml:whitespace="preserve">a #PangoContext, from a pangocairo font map</doc>
779
633
          <type name="Pango.Context" c:type="PangoContext*"/>
780
634
        </parameter>
781
635
      </parameters>
782
636
    </function>
783
637
    <function name="update_layout"
784
638
              c:identifier="pango_cairo_update_layout"
785
 
              doc="Updates the private #PangoContext of a #PangoLayout created with
 
639
              version="1.10">
 
640
      <doc xml:whitespace="preserve">Updates the private #PangoContext of a #PangoLayout created with
786
641
pango_cairo_create_layout() to match the current transformation
787
 
and target surface of a Cairo context."
788
 
              version="1.10">
 
642
and target surface of a Cairo context.</doc>
789
643
      <return-value transfer-ownership="none">
790
644
        <type name="none" c:type="void"/>
791
645
      </return-value>
792
646
      <parameters>
793
647
        <parameter name="cr" transfer-ownership="none">
 
648
          <doc xml:whitespace="preserve">a Cairo context</doc>
794
649
          <type name="cairo.Context" c:type="cairo_t*"/>
795
650
        </parameter>
796
651
        <parameter name="layout" transfer-ownership="none">
 
652
          <doc xml:whitespace="preserve">a #PangoLayout, from pango_cairo_create_layout()</doc>
797
653
          <type name="Pango.Layout" c:type="PangoLayout*"/>
798
654
        </parameter>
799
655
      </parameters>