pango 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -3
- data/ext/pango/rbpangoattribute.c +7 -0
- data/ext/pango/rbpangoattrlist.c +2 -2
- data/ext/pango/rbpangocontext.c +49 -14
- data/ext/pango/rbpangoglyphinfo.c +5 -5
- data/lib/2.2/pango.so +0 -0
- data/lib/2.3/pango.so +0 -0
- data/test/test-context.rb +113 -0
- data/vendor/local/bin/derb.exe +0 -0
- data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
- data/vendor/local/bin/hb-shape.exe +0 -0
- data/vendor/local/bin/hb-view.exe +0 -0
- data/vendor/local/bin/libharfbuzz-0.dll +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/include/harfbuzz/hb-common.h +16 -6
- data/vendor/local/include/harfbuzz/hb-unicode.h +0 -15
- data/vendor/local/include/harfbuzz/hb-version.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
- data/vendor/local/lib/icudt.dll +0 -0
- data/vendor/local/lib/icudt57.dll +0 -0
- data/vendor/local/lib/libharfbuzz-icu.a +0 -0
- data/vendor/local/lib/libharfbuzz-icu.la +3 -3
- data/vendor/local/lib/libharfbuzz.dll.a +0 -0
- data/vendor/local/lib/libharfbuzz.la +3 -3
- data/vendor/local/lib/libicudt.dll.a +0 -0
- data/vendor/local/lib/libicuin.dll.a +0 -0
- data/vendor/local/lib/libicuio.dll.a +0 -0
- data/vendor/local/lib/libicule.dll.a +0 -0
- data/vendor/local/lib/libiculx.dll.a +0 -0
- data/vendor/local/lib/libicutest.dll.a +0 -0
- data/vendor/local/lib/libicutu.dll.a +0 -0
- data/vendor/local/lib/libicuuc.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +1 -1
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +1 -1
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangoft2-1.0.la +1 -1
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +1 -1
- data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
- data/vendor/local/lib/pkgconfig/pango.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gtk-doc/html/harfbuzz/adding-text-to-the-buffer.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +7 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-10.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-11.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-2.html +32 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-20.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-22.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-28.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-30.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-31.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-38.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-39.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-41.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-42.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-5.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-7.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-0-9-8.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-0-5.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-2.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-1-1-3.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/building.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/ch07.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/customizing-unicode-functions.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/fonts-and-faces.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Buffers.html +27 -26
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-Shaping.html +17 -21
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +10 -9
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +43 -12
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +11 -10
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +61 -54
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-font.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-shape.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +9 -8
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +9 -8
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +7 -6
- data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +7 -261
- data/vendor/local/share/gtk-doc/html/harfbuzz/hello-harfbuzz.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +3 -2
- data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +601 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/install-harfbuzz.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +8 -7
- data/vendor/local/share/gtk-doc/html/harfbuzz/plans-and-caching.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt01.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/pt02.html +6 -5
- data/vendor/local/share/gtk-doc/html/harfbuzz/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/setting-buffer-properties.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/shaping-and-shape-plans.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +142 -160
- data/vendor/local/share/gtk-doc/html/harfbuzz/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/harfbuzz/using-harfbuzzs-native-opentype-implementation.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/using-your-own-font-functions.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/what-about-the-other-scripts.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/what-is-harfbuzz.html +5 -4
- data/vendor/local/share/gtk-doc/html/harfbuzz/why-is-it-called-harfbuzz.html +5 -4
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +10 -10
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +8 -8
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +9 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +27 -27
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +57 -57
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +53 -53
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-40.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +24 -24
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +107 -107
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +5 -5
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +31 -31
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +15 -15
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +380 -390
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +37 -37
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +219 -219
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +295 -295
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +108 -108
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +15 -15
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +142 -142
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +85 -85
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +63 -63
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +340 -340
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +163 -163
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +11 -11
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +24 -24
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +54 -54
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +57 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +7 -7
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +200 -41
- data/vendor/local/share/gtk-doc/html/pango/pango.html +2 -2
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +2 -2
- data/vendor/local/share/man/man1/pango-view.1 +1 -1
- metadata +7 -6
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +0 -1204
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
|
9
9
|
<link rel="prev" href="pango-Fonts.html" title="Fonts">
|
10
10
|
<link rel="next" href="pango-Tab-Stops.html" title="Tab Stops">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.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">
|
@@ -41,12 +41,8 @@
|
|
41
41
|
</colgroup>
|
42
42
|
<tbody>
|
43
43
|
<tr>
|
44
|
-
<td class="define_keyword">#define</td>
|
45
|
-
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-ATTR-TYPE:CAPS" title="PANGO_TYPE_ATTR_TYPE">PANGO_TYPE_ATTR_TYPE</a></td>
|
46
|
-
</tr>
|
47
|
-
<tr>
|
48
44
|
<td class="function_type">
|
49
|
-
<a href="
|
45
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
50
46
|
</td>
|
51
47
|
<td class="function_name">
|
52
48
|
<a class="link" href="pango-Text-Attributes.html#pango-parse-markup" title="pango_parse_markup ()">pango_parse_markup</a> <span class="c_punctuation">()</span>
|
@@ -54,7 +50,7 @@
|
|
54
50
|
</tr>
|
55
51
|
<tr>
|
56
52
|
<td class="function_type">
|
57
|
-
<a href="
|
53
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Simple-XML-Subset-Parser.html#GMarkupParseContext"><span class="returnvalue">GMarkupParseContext</span></a> *
|
58
54
|
</td>
|
59
55
|
<td class="function_name">
|
60
56
|
<a class="link" href="pango-Text-Attributes.html#pango-markup-parser-new" title="pango_markup_parser_new ()">pango_markup_parser_new</a> <span class="c_punctuation">()</span>
|
@@ -62,7 +58,7 @@
|
|
62
58
|
</tr>
|
63
59
|
<tr>
|
64
60
|
<td class="function_type">
|
65
|
-
<a href="
|
61
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
66
62
|
</td>
|
67
63
|
<td class="function_name">
|
68
64
|
<a class="link" href="pango-Text-Attributes.html#pango-markup-parser-finish" title="pango_markup_parser_finish ()">pango_markup_parser_finish</a> <span class="c_punctuation">()</span>
|
@@ -101,7 +97,7 @@
|
|
101
97
|
</tr>
|
102
98
|
<tr>
|
103
99
|
<td class="function_type">
|
104
|
-
<a href="
|
100
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
105
101
|
</td>
|
106
102
|
<td class="function_name">
|
107
103
|
<a class="link" href="pango-Text-Attributes.html#pango-attribute-equal" title="pango_attribute_equal ()">pango_attribute_equal</a> <span class="c_punctuation">()</span>
|
@@ -236,10 +232,6 @@
|
|
236
232
|
</td>
|
237
233
|
</tr>
|
238
234
|
<tr>
|
239
|
-
<td class="define_keyword">#define</td>
|
240
|
-
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-UNDERLINE:CAPS" title="PANGO_TYPE_UNDERLINE">PANGO_TYPE_UNDERLINE</a></td>
|
241
|
-
</tr>
|
242
|
-
<tr>
|
243
235
|
<td class="function_type">
|
244
236
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *
|
245
237
|
</td>
|
@@ -257,7 +249,7 @@
|
|
257
249
|
</tr>
|
258
250
|
<tr>
|
259
251
|
<td class="function_type">
|
260
|
-
<a href="
|
252
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
261
253
|
</td>
|
262
254
|
<td class="function_name">
|
263
255
|
<span class="c_punctuation">(</span><a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()">*PangoAttrDataCopyFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
@@ -272,34 +264,6 @@
|
|
272
264
|
</td>
|
273
265
|
</tr>
|
274
266
|
<tr>
|
275
|
-
<td class="define_keyword">#define</td>
|
276
|
-
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-XX-SMALL:CAPS" title="PANGO_SCALE_XX_SMALL">PANGO_SCALE_XX_SMALL</a></td>
|
277
|
-
</tr>
|
278
|
-
<tr>
|
279
|
-
<td class="define_keyword">#define</td>
|
280
|
-
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-X-SMALL:CAPS" title="PANGO_SCALE_X_SMALL">PANGO_SCALE_X_SMALL</a></td>
|
281
|
-
</tr>
|
282
|
-
<tr>
|
283
|
-
<td class="define_keyword">#define</td>
|
284
|
-
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-SMALL:CAPS" title="PANGO_SCALE_SMALL">PANGO_SCALE_SMALL</a></td>
|
285
|
-
</tr>
|
286
|
-
<tr>
|
287
|
-
<td class="define_keyword">#define</td>
|
288
|
-
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-MEDIUM:CAPS" title="PANGO_SCALE_MEDIUM">PANGO_SCALE_MEDIUM</a></td>
|
289
|
-
</tr>
|
290
|
-
<tr>
|
291
|
-
<td class="define_keyword">#define</td>
|
292
|
-
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-LARGE:CAPS" title="PANGO_SCALE_LARGE">PANGO_SCALE_LARGE</a></td>
|
293
|
-
</tr>
|
294
|
-
<tr>
|
295
|
-
<td class="define_keyword">#define</td>
|
296
|
-
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-X-LARGE:CAPS" title="PANGO_SCALE_X_LARGE">PANGO_SCALE_X_LARGE</a></td>
|
297
|
-
</tr>
|
298
|
-
<tr>
|
299
|
-
<td class="define_keyword">#define</td>
|
300
|
-
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-XX-LARGE:CAPS" title="PANGO_SCALE_XX_LARGE">PANGO_SCALE_XX_LARGE</a></td>
|
301
|
-
</tr>
|
302
|
-
<tr>
|
303
267
|
<td class="function_type">
|
304
268
|
<a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *
|
305
269
|
</td>
|
@@ -365,7 +329,7 @@
|
|
365
329
|
</tr>
|
366
330
|
<tr>
|
367
331
|
<td class="function_type">
|
368
|
-
<a href="
|
332
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
369
333
|
</td>
|
370
334
|
<td class="function_name">
|
371
335
|
<a class="link" href="pango-Text-Attributes.html#pango-color-parse" title="pango_color_parse ()">pango_color_parse</a> <span class="c_punctuation">()</span>
|
@@ -389,7 +353,7 @@
|
|
389
353
|
</tr>
|
390
354
|
<tr>
|
391
355
|
<td class="function_type">
|
392
|
-
<a href="
|
356
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
393
357
|
</td>
|
394
358
|
<td class="function_name">
|
395
359
|
<a class="link" href="pango-Text-Attributes.html#pango-color-to-string" title="pango_color_to_string ()">pango_color_to_string</a> <span class="c_punctuation">()</span>
|
@@ -469,7 +433,7 @@
|
|
469
433
|
</tr>
|
470
434
|
<tr>
|
471
435
|
<td class="function_type">
|
472
|
-
<a href="
|
436
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
473
437
|
</td>
|
474
438
|
<td class="function_name">
|
475
439
|
<span class="c_punctuation">(</span><a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()">*PangoAttrFilterFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
@@ -493,7 +457,7 @@
|
|
493
457
|
</tr>
|
494
458
|
<tr>
|
495
459
|
<td class="function_type">
|
496
|
-
<a href="
|
460
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
497
461
|
</td>
|
498
462
|
<td class="function_name">
|
499
463
|
<a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-next" title="pango_attr_iterator_next ()">pango_attr_iterator_next</a> <span class="c_punctuation">()</span>
|
@@ -525,7 +489,7 @@
|
|
525
489
|
</tr>
|
526
490
|
<tr>
|
527
491
|
<td class="function_type">
|
528
|
-
<a href="
|
492
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
529
493
|
</td>
|
530
494
|
<td class="function_name">
|
531
495
|
<a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-get-attrs" title="pango_attr_iterator_get_attrs ()">pango_attr_iterator_get_attrs</a> <span class="c_punctuation">()</span>
|
@@ -555,6 +519,10 @@
|
|
555
519
|
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType">PangoAttrType</a></td>
|
556
520
|
</tr>
|
557
521
|
<tr>
|
522
|
+
<td class="define_keyword">#define</td>
|
523
|
+
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-ATTR-TYPE:CAPS" title="PANGO_TYPE_ATTR_TYPE">PANGO_TYPE_ATTR_TYPE</a></td>
|
524
|
+
</tr>
|
525
|
+
<tr>
|
558
526
|
<td class="datatype_keyword">struct</td>
|
559
527
|
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PangoAttrClass" title="struct PangoAttrClass">PangoAttrClass</a></td>
|
560
528
|
</tr>
|
@@ -611,6 +579,38 @@
|
|
611
579
|
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PangoUnderline" title="enum PangoUnderline">PangoUnderline</a></td>
|
612
580
|
</tr>
|
613
581
|
<tr>
|
582
|
+
<td class="define_keyword">#define</td>
|
583
|
+
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-TYPE-UNDERLINE:CAPS" title="PANGO_TYPE_UNDERLINE">PANGO_TYPE_UNDERLINE</a></td>
|
584
|
+
</tr>
|
585
|
+
<tr>
|
586
|
+
<td class="define_keyword">#define</td>
|
587
|
+
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-XX-SMALL:CAPS" title="PANGO_SCALE_XX_SMALL">PANGO_SCALE_XX_SMALL</a></td>
|
588
|
+
</tr>
|
589
|
+
<tr>
|
590
|
+
<td class="define_keyword">#define</td>
|
591
|
+
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-X-SMALL:CAPS" title="PANGO_SCALE_X_SMALL">PANGO_SCALE_X_SMALL</a></td>
|
592
|
+
</tr>
|
593
|
+
<tr>
|
594
|
+
<td class="define_keyword">#define</td>
|
595
|
+
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-SMALL:CAPS" title="PANGO_SCALE_SMALL">PANGO_SCALE_SMALL</a></td>
|
596
|
+
</tr>
|
597
|
+
<tr>
|
598
|
+
<td class="define_keyword">#define</td>
|
599
|
+
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-MEDIUM:CAPS" title="PANGO_SCALE_MEDIUM">PANGO_SCALE_MEDIUM</a></td>
|
600
|
+
</tr>
|
601
|
+
<tr>
|
602
|
+
<td class="define_keyword">#define</td>
|
603
|
+
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-LARGE:CAPS" title="PANGO_SCALE_LARGE">PANGO_SCALE_LARGE</a></td>
|
604
|
+
</tr>
|
605
|
+
<tr>
|
606
|
+
<td class="define_keyword">#define</td>
|
607
|
+
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-X-LARGE:CAPS" title="PANGO_SCALE_X_LARGE">PANGO_SCALE_X_LARGE</a></td>
|
608
|
+
</tr>
|
609
|
+
<tr>
|
610
|
+
<td class="define_keyword">#define</td>
|
611
|
+
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PANGO-SCALE-XX-LARGE:CAPS" title="PANGO_SCALE_XX_LARGE">PANGO_SCALE_XX_LARGE</a></td>
|
612
|
+
</tr>
|
613
|
+
<tr>
|
614
614
|
<td class="datatype_keyword">struct</td>
|
615
615
|
<td class="function_name"><a class="link" href="pango-Text-Attributes.html#PangoColor-struct" title="struct PangoColor">PangoColor</a></td>
|
616
616
|
</tr>
|
@@ -635,10 +635,10 @@
|
|
635
635
|
</div>
|
636
636
|
<div class="refsect1">
|
637
637
|
<a name="pango-Text-Attributes.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
638
|
-
<pre class="screen"> <a href="
|
638
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Boxed-Types.html">GBoxed</a>
|
639
639
|
<span class="lineart">├──</span> PangoAttrList
|
640
640
|
<span class="lineart">╰──</span> PangoColor
|
641
|
-
<a href="
|
641
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
|
642
642
|
<span class="lineart">├──</span> PangoAttrType
|
643
643
|
<span class="lineart">╰──</span> PangoUnderline
|
644
644
|
</pre>
|
@@ -654,23 +654,17 @@ of attributes applied to a portion of text.</p>
|
|
654
654
|
<div class="refsect1">
|
655
655
|
<a name="pango-Text-Attributes.functions_details"></a><h2>Functions</h2>
|
656
656
|
<div class="refsect2">
|
657
|
-
<a name="PANGO-TYPE-ATTR-TYPE:CAPS"></a><h3>PANGO_TYPE_ATTR_TYPE</h3>
|
658
|
-
<pre class="programlisting">#define PANGO_TYPE_ATTR_TYPE (pango_attr_type_get_type ())
|
659
|
-
</pre>
|
660
|
-
</div>
|
661
|
-
<hr>
|
662
|
-
<div class="refsect2">
|
663
657
|
<a name="pango-parse-markup"></a><h3>pango_parse_markup ()</h3>
|
664
|
-
<pre class="programlisting"><a href="
|
658
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
665
659
|
pango_parse_markup (<em class="parameter"><code>const <span class="type">char</span> *markup_text</code></em>,
|
666
660
|
<em class="parameter"><code><span class="type">int</span> length</code></em>,
|
667
|
-
<em class="parameter"><code><a href="
|
661
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> accel_marker</code></em>,
|
668
662
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> **attr_list</code></em>,
|
669
663
|
<em class="parameter"><code><span class="type">char</span> **text</code></em>,
|
670
|
-
<em class="parameter"><code><a href="
|
671
|
-
<em class="parameter"><code><a href="
|
664
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> *accel_char</code></em>,
|
665
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
672
666
|
<p>Parses marked-up text (see</p>
|
673
|
-
|
667
|
+
markup format) to create
|
674
668
|
<p>a plain-text string and an attribute list.</p>
|
675
669
|
<p>If <em class="parameter"><code>accel_marker</code></em>
|
676
670
|
is nonzero, the given character will mark the
|
@@ -689,7 +683,7 @@ literal <em class="parameter"><code>accel_marker</code></em>
|
|
689
683
|
for <em class="parameter"><code>error</code></em>
|
690
684
|
.</p>
|
691
685
|
<div class="refsect3">
|
692
|
-
<a name="
|
686
|
+
<a name="pango-parse-markup.parameters"></a><h4>Parameters</h4>
|
693
687
|
<div class="informaltable"><table width="100%" border="0">
|
694
688
|
<colgroup>
|
695
689
|
<col width="150px" class="parameters_name">
|
@@ -699,7 +693,7 @@ for <em class="parameter"><code>error</code></em>
|
|
699
693
|
<tbody>
|
700
694
|
<tr>
|
701
695
|
<td class="parameter_name"><p>markup_text</p></td>
|
702
|
-
<td class="parameter_description"><p>markup to parse (see
|
696
|
+
<td class="parameter_description"><p>markup to parse (see markup format)</p></td>
|
703
697
|
<td class="parameter_annotations"> </td>
|
704
698
|
</tr>
|
705
699
|
<tr>
|
@@ -715,40 +709,40 @@ for <em class="parameter"><code>error</code></em>
|
|
715
709
|
</tr>
|
716
710
|
<tr>
|
717
711
|
<td class="parameter_name"><p>attr_list</p></td>
|
718
|
-
<td class="parameter_description"><p> address of return location for a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, or <a href="
|
712
|
+
<td class="parameter_description"><p> address of return location for a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
719
713
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
720
714
|
</tr>
|
721
715
|
<tr>
|
722
716
|
<td class="parameter_name"><p>text</p></td>
|
723
|
-
<td class="parameter_description"><p> address of return location for text with tags stripped, or <a href="
|
717
|
+
<td class="parameter_description"><p> address of return location for text with tags stripped, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
724
718
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
725
719
|
</tr>
|
726
720
|
<tr>
|
727
721
|
<td class="parameter_name"><p>accel_char</p></td>
|
728
|
-
<td class="parameter_description"><p> address of return location for accelerator char, or <a href="
|
722
|
+
<td class="parameter_description"><p> address of return location for accelerator char, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
729
723
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
730
724
|
</tr>
|
731
725
|
<tr>
|
732
726
|
<td class="parameter_name"><p>error</p></td>
|
733
|
-
<td class="parameter_description"><p>address of return location for errors, or <a href="
|
727
|
+
<td class="parameter_description"><p>address of return location for errors, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
734
728
|
<td class="parameter_annotations"> </td>
|
735
729
|
</tr>
|
736
730
|
</tbody>
|
737
731
|
</table></div>
|
738
732
|
</div>
|
739
733
|
<div class="refsect3">
|
740
|
-
<a name="
|
741
|
-
<p> <a href="
|
742
|
-
is set, otherwise <a href="
|
734
|
+
<a name="pango-parse-markup.returns"></a><h4>Returns</h4>
|
735
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em>
|
736
|
+
is set, otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a></p>
|
743
737
|
</div>
|
744
738
|
</div>
|
745
739
|
<hr>
|
746
740
|
<div class="refsect2">
|
747
741
|
<a name="pango-markup-parser-new"></a><h3>pango_markup_parser_new ()</h3>
|
748
|
-
<pre class="programlisting"><a href="
|
749
|
-
pango_markup_parser_new (<em class="parameter"><code><a href="
|
742
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Simple-XML-Subset-Parser.html#GMarkupParseContext"><span class="returnvalue">GMarkupParseContext</span></a> *
|
743
|
+
pango_markup_parser_new (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> accel_marker</code></em>);</pre>
|
750
744
|
<p>Parses marked-up text (see</p>
|
751
|
-
|
745
|
+
markup format) to create
|
752
746
|
<p>a plain-text string and an attribute list.</p>
|
753
747
|
<p>If <em class="parameter"><code>accel_marker</code></em>
|
754
748
|
is nonzero, the given character will mark the
|
@@ -762,15 +756,15 @@ when calling <code class="function">finish()</code>. Two <em class="parameter"><
|
|
762
756
|
characters following each
|
763
757
|
other produce a single literal <em class="parameter"><code>accel_marker</code></em>
|
764
758
|
character.</p>
|
765
|
-
<p>To feed markup to the parser, use <a href="
|
766
|
-
on the returned <a href="
|
759
|
+
<p>To feed markup to the parser, use <a href="https://developer.gnome.org/glib/unstable/glib-Simple-XML-Subset-Parser.html#g-markup-parse-context-parse"><code class="function">g_markup_parse_context_parse()</code></a>
|
760
|
+
on the returned <a href="https://developer.gnome.org/glib/unstable/glib-Simple-XML-Subset-Parser.html#GMarkupParseContext"><span class="type">GMarkupParseContext</span></a>. When done with feeding markup
|
767
761
|
to the parser, use <a class="link" href="pango-Text-Attributes.html#pango-markup-parser-finish" title="pango_markup_parser_finish ()"><code class="function">pango_markup_parser_finish()</code></a> to get the data out
|
768
|
-
of it, and then use <a href="
|
762
|
+
of it, and then use <a href="https://developer.gnome.org/glib/unstable/glib-Simple-XML-Subset-Parser.html#g-markup-parse-context-free"><code class="function">g_markup_parse_context_free()</code></a> to free it.</p>
|
769
763
|
<p>This function is designed for applications that read pango markup
|
770
764
|
from streams. To simply parse a string containing pango markup,
|
771
765
|
the simpler <a class="link" href="pango-Text-Attributes.html#pango-parse-markup" title="pango_parse_markup ()"><code class="function">pango_parse_markup()</code></a> API is recommended instead.</p>
|
772
766
|
<div class="refsect3">
|
773
|
-
<a name="
|
767
|
+
<a name="pango-markup-parser-new.parameters"></a><h4>Parameters</h4>
|
774
768
|
<div class="informaltable"><table width="100%" border="0">
|
775
769
|
<colgroup>
|
776
770
|
<col width="150px" class="parameters_name">
|
@@ -785,9 +779,9 @@ the simpler <a class="link" href="pango-Text-Attributes.html#pango-parse-markup"
|
|
785
779
|
</table></div>
|
786
780
|
</div>
|
787
781
|
<div class="refsect3">
|
788
|
-
<a name="
|
789
|
-
<p> a <a href="
|
790
|
-
destroyed with <a href="
|
782
|
+
<a name="pango-markup-parser-new.returns"></a><h4>Returns</h4>
|
783
|
+
<p> a <a href="https://developer.gnome.org/glib/unstable/glib-Simple-XML-Subset-Parser.html#GMarkupParseContext"><span class="type">GMarkupParseContext</span></a> that should be
|
784
|
+
destroyed with <a href="https://developer.gnome.org/glib/unstable/glib-Simple-XML-Subset-Parser.html#g-markup-parse-context-free"><code class="function">g_markup_parse_context_free()</code></a>. </p>
|
791
785
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
792
786
|
</div>
|
793
787
|
<p class="since">Since: <a class="link" href="api-index-1-31-0.html#api-index-1.31.0">1.31.0</a></p>
|
@@ -795,19 +789,19 @@ destroyed with <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share
|
|
795
789
|
<hr>
|
796
790
|
<div class="refsect2">
|
797
791
|
<a name="pango-markup-parser-finish"></a><h3>pango_markup_parser_finish ()</h3>
|
798
|
-
<pre class="programlisting"><a href="
|
799
|
-
pango_markup_parser_finish (<em class="parameter"><code><a href="
|
792
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
793
|
+
pango_markup_parser_finish (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Simple-XML-Subset-Parser.html#GMarkupParseContext"><span class="type">GMarkupParseContext</span></a> *context</code></em>,
|
800
794
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> **attr_list</code></em>,
|
801
795
|
<em class="parameter"><code><span class="type">char</span> **text</code></em>,
|
802
|
-
<em class="parameter"><code><a href="
|
803
|
-
<em class="parameter"><code><a href="
|
804
|
-
<p>After feeding a pango markup parser some data with <a href="
|
796
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> *accel_char</code></em>,
|
797
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
798
|
+
<p>After feeding a pango markup parser some data with <a href="https://developer.gnome.org/glib/unstable/glib-Simple-XML-Subset-Parser.html#g-markup-parse-context-parse"><code class="function">g_markup_parse_context_parse()</code></a>,
|
805
799
|
use this function to get the list of pango attributes and text out of the
|
806
800
|
markup. This function will not free <em class="parameter"><code>context</code></em>
|
807
|
-
, use <a href="
|
801
|
+
, use <a href="https://developer.gnome.org/glib/unstable/glib-Simple-XML-Subset-Parser.html#g-markup-parse-context-free"><code class="function">g_markup_parse_context_free()</code></a>
|
808
802
|
to do so.</p>
|
809
803
|
<div class="refsect3">
|
810
|
-
<a name="
|
804
|
+
<a name="pango-markup-parser-finish.parameters"></a><h4>Parameters</h4>
|
811
805
|
<div class="informaltable"><table width="100%" border="0">
|
812
806
|
<colgroup>
|
813
807
|
<col width="150px" class="parameters_name">
|
@@ -822,31 +816,31 @@ to do so.</p>
|
|
822
816
|
</tr>
|
823
817
|
<tr>
|
824
818
|
<td class="parameter_name"><p>attr_list</p></td>
|
825
|
-
<td class="parameter_description"><p> address of return location for a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, or <a href="
|
819
|
+
<td class="parameter_description"><p> address of return location for a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
826
820
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
827
821
|
</tr>
|
828
822
|
<tr>
|
829
823
|
<td class="parameter_name"><p>text</p></td>
|
830
|
-
<td class="parameter_description"><p> address of return location for text with tags stripped, or <a href="
|
824
|
+
<td class="parameter_description"><p> address of return location for text with tags stripped, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
831
825
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
832
826
|
</tr>
|
833
827
|
<tr>
|
834
828
|
<td class="parameter_name"><p>accel_char</p></td>
|
835
|
-
<td class="parameter_description"><p> address of return location for accelerator char, or <a href="
|
829
|
+
<td class="parameter_description"><p> address of return location for accelerator char, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
836
830
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
837
831
|
</tr>
|
838
832
|
<tr>
|
839
833
|
<td class="parameter_name"><p>error</p></td>
|
840
|
-
<td class="parameter_description"><p>address of return location for errors, or <a href="
|
834
|
+
<td class="parameter_description"><p>address of return location for errors, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
841
835
|
<td class="parameter_annotations"> </td>
|
842
836
|
</tr>
|
843
837
|
</tbody>
|
844
838
|
</table></div>
|
845
839
|
</div>
|
846
840
|
<div class="refsect3">
|
847
|
-
<a name="
|
848
|
-
<p> <a href="
|
849
|
-
is set, otherwise <a href="
|
841
|
+
<a name="pango-markup-parser-finish.returns"></a><h4>Returns</h4>
|
842
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em>
|
843
|
+
is set, otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a></p>
|
850
844
|
</div>
|
851
845
|
<p class="since">Since: <a class="link" href="api-index-1-31-0.html#api-index-1.31.0">1.31.0</a></p>
|
852
846
|
</div>
|
@@ -854,11 +848,11 @@ is set, otherwise <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/sh
|
|
854
848
|
<div class="refsect2">
|
855
849
|
<a name="pango-attr-type-register"></a><h3>pango_attr_type_register ()</h3>
|
856
850
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="returnvalue">PangoAttrType</span></a>
|
857
|
-
pango_attr_type_register (<em class="parameter"><code>const <a href="
|
851
|
+
pango_attr_type_register (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
858
852
|
<p>Allocate a new attribute type ID. The attribute type name can be accessed
|
859
853
|
later by using <a class="link" href="pango-Text-Attributes.html#pango-attr-type-get-name" title="pango_attr_type_get_name ()"><code class="function">pango_attr_type_get_name()</code></a>.</p>
|
860
854
|
<div class="refsect3">
|
861
|
-
<a name="
|
855
|
+
<a name="pango-attr-type-register.parameters"></a><h4>Parameters</h4>
|
862
856
|
<div class="informaltable"><table width="100%" border="0">
|
863
857
|
<colgroup>
|
864
858
|
<col width="150px" class="parameters_name">
|
@@ -873,7 +867,7 @@ later by using <a class="link" href="pango-Text-Attributes.html#pango-attr-type-
|
|
873
867
|
</table></div>
|
874
868
|
</div>
|
875
869
|
<div class="refsect3">
|
876
|
-
<a name="
|
870
|
+
<a name="pango-attr-type-register.returns"></a><h4>Returns</h4>
|
877
871
|
<p> the new type ID.</p>
|
878
872
|
</div>
|
879
873
|
</div>
|
@@ -884,10 +878,10 @@ later by using <a class="link" href="pango-Text-Attributes.html#pango-attr-type-
|
|
884
878
|
pango_attr_type_get_name (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrType" title="enum PangoAttrType"><span class="type">PangoAttrType</span></a> type</code></em>);</pre>
|
885
879
|
<p>Fetches the attribute type name passed in when registering the type using
|
886
880
|
<a class="link" href="pango-Text-Attributes.html#pango-attr-type-register" title="pango_attr_type_register ()"><code class="function">pango_attr_type_register()</code></a>.</p>
|
887
|
-
<p>The returned value is an interned string (see <a href="
|
881
|
+
<p>The returned value is an interned string (see <a href="https://developer.gnome.org/glib/unstable/glib-Quarks.html#g-intern-string"><code class="function">g_intern_string()</code></a> for what
|
888
882
|
that means) that should not be modified or freed.</p>
|
889
883
|
<div class="refsect3">
|
890
|
-
<a name="
|
884
|
+
<a name="pango-attr-type-get-name.parameters"></a><h4>Parameters</h4>
|
891
885
|
<div class="informaltable"><table width="100%" border="0">
|
892
886
|
<colgroup>
|
893
887
|
<col width="150px" class="parameters_name">
|
@@ -902,9 +896,9 @@ that means) that should not be modified or freed.</p>
|
|
902
896
|
</table></div>
|
903
897
|
</div>
|
904
898
|
<div class="refsect3">
|
905
|
-
<a name="
|
906
|
-
<p> the type ID name (which may be <a href="
|
907
|
-
<a href="
|
899
|
+
<a name="pango-attr-type-get-name.returns"></a><h4>Returns</h4>
|
900
|
+
<p> the type ID name (which may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>), or
|
901
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>type</code></em>
|
908
902
|
is a built-in Pango attribute type or invalid. </p>
|
909
903
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
910
904
|
</div>
|
@@ -924,7 +918,7 @@ and end_index to <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-IND
|
|
924
918
|
such that the attribute applies
|
925
919
|
to the entire text by default.</p>
|
926
920
|
<div class="refsect3">
|
927
|
-
<a name="
|
921
|
+
<a name="pango-attribute-init.parameters"></a><h4>Parameters</h4>
|
928
922
|
<div class="informaltable"><table width="100%" border="0">
|
929
923
|
<colgroup>
|
930
924
|
<col width="150px" class="parameters_name">
|
@@ -954,7 +948,7 @@ to the entire text by default.</p>
|
|
954
948
|
pango_attribute_copy (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);</pre>
|
955
949
|
<p>Make a copy of an attribute.</p>
|
956
950
|
<div class="refsect3">
|
957
|
-
<a name="
|
951
|
+
<a name="pango-attribute-copy.parameters"></a><h4>Parameters</h4>
|
958
952
|
<div class="informaltable"><table width="100%" border="0">
|
959
953
|
<colgroup>
|
960
954
|
<col width="150px" class="parameters_name">
|
@@ -969,7 +963,7 @@ pango_attribute_copy (<em class="parameter"><code>const <a class="link" href="pa
|
|
969
963
|
</table></div>
|
970
964
|
</div>
|
971
965
|
<div class="refsect3">
|
972
|
-
<a name="
|
966
|
+
<a name="pango-attribute-copy.returns"></a><h4>Returns</h4>
|
973
967
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
974
968
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
975
969
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -978,14 +972,14 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
978
972
|
<hr>
|
979
973
|
<div class="refsect2">
|
980
974
|
<a name="pango-attribute-equal"></a><h3>pango_attribute_equal ()</h3>
|
981
|
-
<pre class="programlisting"><a href="
|
975
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
982
976
|
pango_attribute_equal (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr1</code></em>,
|
983
977
|
<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr2</code></em>);</pre>
|
984
978
|
<p>Compare two attributes for equality. This compares only the
|
985
979
|
actual value of the two attributes and not the ranges that the
|
986
980
|
attributes apply to.</p>
|
987
981
|
<div class="refsect3">
|
988
|
-
<a name="
|
982
|
+
<a name="pango-attribute-equal.parameters"></a><h4>Parameters</h4>
|
989
983
|
<div class="informaltable"><table width="100%" border="0">
|
990
984
|
<colgroup>
|
991
985
|
<col width="150px" class="parameters_name">
|
@@ -1007,8 +1001,8 @@ attributes apply to.</p>
|
|
1007
1001
|
</table></div>
|
1008
1002
|
</div>
|
1009
1003
|
<div class="refsect3">
|
1010
|
-
<a name="
|
1011
|
-
<p> <a href="
|
1004
|
+
<a name="pango-attribute-equal.returns"></a><h4>Returns</h4>
|
1005
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the two attributes have the same value.</p>
|
1012
1006
|
</div>
|
1013
1007
|
</div>
|
1014
1008
|
<hr>
|
@@ -1018,7 +1012,7 @@ attributes apply to.</p>
|
|
1018
1012
|
pango_attribute_destroy (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attr</code></em>);</pre>
|
1019
1013
|
<p>Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> and free all associated memory.</p>
|
1020
1014
|
<div class="refsect3">
|
1021
|
-
<a name="
|
1015
|
+
<a name="pango-attribute-destroy.parameters"></a><h4>Parameters</h4>
|
1022
1016
|
<div class="informaltable"><table width="100%" border="0">
|
1023
1017
|
<colgroup>
|
1024
1018
|
<col width="150px" class="parameters_name">
|
@@ -1040,7 +1034,7 @@ pango_attribute_destroy (<em class="parameter"><code><a class="link" href="pango
|
|
1040
1034
|
pango_attr_language_new (<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> *language</code></em>);</pre>
|
1041
1035
|
<p>Create a new language tag attribute.</p>
|
1042
1036
|
<div class="refsect3">
|
1043
|
-
<a name="
|
1037
|
+
<a name="pango-attr-language-new.parameters"></a><h4>Parameters</h4>
|
1044
1038
|
<div class="informaltable"><table width="100%" border="0">
|
1045
1039
|
<colgroup>
|
1046
1040
|
<col width="150px" class="parameters_name">
|
@@ -1055,7 +1049,7 @@ pango_attr_language_new (<em class="parameter"><code><a class="link" href="pango
|
|
1055
1049
|
</table></div>
|
1056
1050
|
</div>
|
1057
1051
|
<div class="refsect3">
|
1058
|
-
<a name="
|
1052
|
+
<a name="pango-attr-language-new.returns"></a><h4>Returns</h4>
|
1059
1053
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1060
1054
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1061
1055
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1068,7 +1062,7 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1068
1062
|
pango_attr_family_new (<em class="parameter"><code>const <span class="type">char</span> *family</code></em>);</pre>
|
1069
1063
|
<p>Create a new font family attribute.</p>
|
1070
1064
|
<div class="refsect3">
|
1071
|
-
<a name="
|
1065
|
+
<a name="pango-attr-family-new.parameters"></a><h4>Parameters</h4>
|
1072
1066
|
<div class="informaltable"><table width="100%" border="0">
|
1073
1067
|
<colgroup>
|
1074
1068
|
<col width="150px" class="parameters_name">
|
@@ -1083,7 +1077,7 @@ pango_attr_family_new (<em class="parameter"><code>const <span class="type">char
|
|
1083
1077
|
</table></div>
|
1084
1078
|
</div>
|
1085
1079
|
<div class="refsect3">
|
1086
|
-
<a name="
|
1080
|
+
<a name="pango-attr-family-new.returns"></a><h4>Returns</h4>
|
1087
1081
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1088
1082
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1089
1083
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1096,7 +1090,7 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1096
1090
|
pango_attr_style_new (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStyle" title="enum PangoStyle"><span class="type">PangoStyle</span></a> style</code></em>);</pre>
|
1097
1091
|
<p>Create a new font slant style attribute.</p>
|
1098
1092
|
<div class="refsect3">
|
1099
|
-
<a name="
|
1093
|
+
<a name="pango-attr-style-new.parameters"></a><h4>Parameters</h4>
|
1100
1094
|
<div class="informaltable"><table width="100%" border="0">
|
1101
1095
|
<colgroup>
|
1102
1096
|
<col width="150px" class="parameters_name">
|
@@ -1111,7 +1105,7 @@ pango_attr_style_new (<em class="parameter"><code><a class="link" href="pango-Fo
|
|
1111
1105
|
</table></div>
|
1112
1106
|
</div>
|
1113
1107
|
<div class="refsect3">
|
1114
|
-
<a name="
|
1108
|
+
<a name="pango-attr-style-new.returns"></a><h4>Returns</h4>
|
1115
1109
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1116
1110
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1117
1111
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1124,7 +1118,7 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1124
1118
|
pango_attr_variant_new (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoVariant" title="enum PangoVariant"><span class="type">PangoVariant</span></a> variant</code></em>);</pre>
|
1125
1119
|
<p>Create a new font variant attribute (normal or small caps)</p>
|
1126
1120
|
<div class="refsect3">
|
1127
|
-
<a name="
|
1121
|
+
<a name="pango-attr-variant-new.parameters"></a><h4>Parameters</h4>
|
1128
1122
|
<div class="informaltable"><table width="100%" border="0">
|
1129
1123
|
<colgroup>
|
1130
1124
|
<col width="150px" class="parameters_name">
|
@@ -1139,7 +1133,7 @@ pango_attr_variant_new (<em class="parameter"><code><a class="link" href="pango-
|
|
1139
1133
|
</table></div>
|
1140
1134
|
</div>
|
1141
1135
|
<div class="refsect3">
|
1142
|
-
<a name="
|
1136
|
+
<a name="pango-attr-variant-new.returns"></a><h4>Returns</h4>
|
1143
1137
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1144
1138
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1145
1139
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1152,7 +1146,7 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1152
1146
|
pango_attr_stretch_new (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoStretch" title="enum PangoStretch"><span class="type">PangoStretch</span></a> stretch</code></em>);</pre>
|
1153
1147
|
<p>Create a new font stretch attribute</p>
|
1154
1148
|
<div class="refsect3">
|
1155
|
-
<a name="
|
1149
|
+
<a name="pango-attr-stretch-new.parameters"></a><h4>Parameters</h4>
|
1156
1150
|
<div class="informaltable"><table width="100%" border="0">
|
1157
1151
|
<colgroup>
|
1158
1152
|
<col width="150px" class="parameters_name">
|
@@ -1167,7 +1161,7 @@ pango_attr_stretch_new (<em class="parameter"><code><a class="link" href="pango-
|
|
1167
1161
|
</table></div>
|
1168
1162
|
</div>
|
1169
1163
|
<div class="refsect3">
|
1170
|
-
<a name="
|
1164
|
+
<a name="pango-attr-stretch-new.returns"></a><h4>Returns</h4>
|
1171
1165
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1172
1166
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1173
1167
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1180,7 +1174,7 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1180
1174
|
pango_attr_weight_new (<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoWeight" title="enum PangoWeight"><span class="type">PangoWeight</span></a> weight</code></em>);</pre>
|
1181
1175
|
<p>Create a new font weight attribute.</p>
|
1182
1176
|
<div class="refsect3">
|
1183
|
-
<a name="
|
1177
|
+
<a name="pango-attr-weight-new.parameters"></a><h4>Parameters</h4>
|
1184
1178
|
<div class="informaltable"><table width="100%" border="0">
|
1185
1179
|
<colgroup>
|
1186
1180
|
<col width="150px" class="parameters_name">
|
@@ -1195,7 +1189,7 @@ pango_attr_weight_new (<em class="parameter"><code><a class="link" href="pango-F
|
|
1195
1189
|
</table></div>
|
1196
1190
|
</div>
|
1197
1191
|
<div class="refsect3">
|
1198
|
-
<a name="
|
1192
|
+
<a name="pango-attr-weight-new.returns"></a><h4>Returns</h4>
|
1199
1193
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1200
1194
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1201
1195
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1208,7 +1202,7 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1208
1202
|
pango_attr_size_new (<em class="parameter"><code><span class="type">int</span> size</code></em>);</pre>
|
1209
1203
|
<p>Create a new font-size attribute in fractional points.</p>
|
1210
1204
|
<div class="refsect3">
|
1211
|
-
<a name="
|
1205
|
+
<a name="pango-attr-size-new.parameters"></a><h4>Parameters</h4>
|
1212
1206
|
<div class="informaltable"><table width="100%" border="0">
|
1213
1207
|
<colgroup>
|
1214
1208
|
<col width="150px" class="parameters_name">
|
@@ -1223,7 +1217,7 @@ pango_attr_size_new (<em class="parameter"><code><span class="type">int</span> s
|
|
1223
1217
|
</table></div>
|
1224
1218
|
</div>
|
1225
1219
|
<div class="refsect3">
|
1226
|
-
<a name="
|
1220
|
+
<a name="pango-attr-size-new.returns"></a><h4>Returns</h4>
|
1227
1221
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1228
1222
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1229
1223
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1236,7 +1230,7 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1236
1230
|
pango_attr_size_new_absolute (<em class="parameter"><code><span class="type">int</span> size</code></em>);</pre>
|
1237
1231
|
<p>Create a new font-size attribute in device units.</p>
|
1238
1232
|
<div class="refsect3">
|
1239
|
-
<a name="
|
1233
|
+
<a name="pango-attr-size-new-absolute.parameters"></a><h4>Parameters</h4>
|
1240
1234
|
<div class="informaltable"><table width="100%" border="0">
|
1241
1235
|
<colgroup>
|
1242
1236
|
<col width="150px" class="parameters_name">
|
@@ -1251,7 +1245,7 @@ pango_attr_size_new_absolute (<em class="parameter"><code><span class="type">int
|
|
1251
1245
|
</table></div>
|
1252
1246
|
</div>
|
1253
1247
|
<div class="refsect3">
|
1254
|
-
<a name="
|
1248
|
+
<a name="pango-attr-size-new-absolute.returns"></a><h4>Returns</h4>
|
1255
1249
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1256
1250
|
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>.</p>
|
1257
1251
|
</div>
|
@@ -1266,7 +1260,7 @@ pango_attr_font_desc_new (<em class="parameter"><code>const <a class="link" href
|
|
1266
1260
|
allows setting family, style, weight, variant, stretch,
|
1267
1261
|
and size simultaneously.</p>
|
1268
1262
|
<div class="refsect3">
|
1269
|
-
<a name="
|
1263
|
+
<a name="pango-attr-font-desc-new.parameters"></a><h4>Parameters</h4>
|
1270
1264
|
<div class="informaltable"><table width="100%" border="0">
|
1271
1265
|
<colgroup>
|
1272
1266
|
<col width="150px" class="parameters_name">
|
@@ -1281,7 +1275,7 @@ and size simultaneously.</p>
|
|
1281
1275
|
</table></div>
|
1282
1276
|
</div>
|
1283
1277
|
<div class="refsect3">
|
1284
|
-
<a name="
|
1278
|
+
<a name="pango-attr-font-desc-new.returns"></a><h4>Returns</h4>
|
1285
1279
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1286
1280
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1287
1281
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1291,12 +1285,12 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1291
1285
|
<div class="refsect2">
|
1292
1286
|
<a name="pango-attr-foreground-new"></a><h3>pango_attr_foreground_new ()</h3>
|
1293
1287
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *
|
1294
|
-
pango_attr_foreground_new (<em class="parameter"><code><a href="
|
1295
|
-
<em class="parameter"><code><a href="
|
1296
|
-
<em class="parameter"><code><a href="
|
1288
|
+
pango_attr_foreground_new (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
|
1289
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
|
1290
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);</pre>
|
1297
1291
|
<p>Create a new foreground color attribute.</p>
|
1298
1292
|
<div class="refsect3">
|
1299
|
-
<a name="
|
1293
|
+
<a name="pango-attr-foreground-new.parameters"></a><h4>Parameters</h4>
|
1300
1294
|
<div class="informaltable"><table width="100%" border="0">
|
1301
1295
|
<colgroup>
|
1302
1296
|
<col width="150px" class="parameters_name">
|
@@ -1323,7 +1317,7 @@ pango_attr_foreground_new (<em class="parameter"><code><a href="/home/vagrant/ru
|
|
1323
1317
|
</table></div>
|
1324
1318
|
</div>
|
1325
1319
|
<div class="refsect3">
|
1326
|
-
<a name="
|
1320
|
+
<a name="pango-attr-foreground-new.returns"></a><h4>Returns</h4>
|
1327
1321
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1328
1322
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1329
1323
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1333,12 +1327,12 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1333
1327
|
<div class="refsect2">
|
1334
1328
|
<a name="pango-attr-background-new"></a><h3>pango_attr_background_new ()</h3>
|
1335
1329
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *
|
1336
|
-
pango_attr_background_new (<em class="parameter"><code><a href="
|
1337
|
-
<em class="parameter"><code><a href="
|
1338
|
-
<em class="parameter"><code><a href="
|
1330
|
+
pango_attr_background_new (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
|
1331
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
|
1332
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);</pre>
|
1339
1333
|
<p>Create a new background color attribute.</p>
|
1340
1334
|
<div class="refsect3">
|
1341
|
-
<a name="
|
1335
|
+
<a name="pango-attr-background-new.parameters"></a><h4>Parameters</h4>
|
1342
1336
|
<div class="informaltable"><table width="100%" border="0">
|
1343
1337
|
<colgroup>
|
1344
1338
|
<col width="150px" class="parameters_name">
|
@@ -1365,7 +1359,7 @@ pango_attr_background_new (<em class="parameter"><code><a href="/home/vagrant/ru
|
|
1365
1359
|
</table></div>
|
1366
1360
|
</div>
|
1367
1361
|
<div class="refsect3">
|
1368
|
-
<a name="
|
1362
|
+
<a name="pango-attr-background-new.returns"></a><h4>Returns</h4>
|
1369
1363
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1370
1364
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1371
1365
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1375,10 +1369,10 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1375
1369
|
<div class="refsect2">
|
1376
1370
|
<a name="pango-attr-strikethrough-new"></a><h3>pango_attr_strikethrough_new ()</h3>
|
1377
1371
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *
|
1378
|
-
pango_attr_strikethrough_new (<em class="parameter"><code><a href="
|
1372
|
+
pango_attr_strikethrough_new (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> strikethrough</code></em>);</pre>
|
1379
1373
|
<p>Create a new strike-through attribute.</p>
|
1380
1374
|
<div class="refsect3">
|
1381
|
-
<a name="
|
1375
|
+
<a name="pango-attr-strikethrough-new.parameters"></a><h4>Parameters</h4>
|
1382
1376
|
<div class="informaltable"><table width="100%" border="0">
|
1383
1377
|
<colgroup>
|
1384
1378
|
<col width="150px" class="parameters_name">
|
@@ -1387,13 +1381,13 @@ pango_attr_strikethrough_new (<em class="parameter"><code><a href="/home/vagrant
|
|
1387
1381
|
</colgroup>
|
1388
1382
|
<tbody><tr>
|
1389
1383
|
<td class="parameter_name"><p>strikethrough</p></td>
|
1390
|
-
<td class="parameter_description"><p><a href="
|
1384
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the text should be struck-through.</p></td>
|
1391
1385
|
<td class="parameter_annotations"> </td>
|
1392
1386
|
</tr></tbody>
|
1393
1387
|
</table></div>
|
1394
1388
|
</div>
|
1395
1389
|
<div class="refsect3">
|
1396
|
-
<a name="
|
1390
|
+
<a name="pango-attr-strikethrough-new.returns"></a><h4>Returns</h4>
|
1397
1391
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1398
1392
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1399
1393
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1403,14 +1397,14 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1403
1397
|
<div class="refsect2">
|
1404
1398
|
<a name="pango-attr-strikethrough-color-new"></a><h3>pango_attr_strikethrough_color_new ()</h3>
|
1405
1399
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *
|
1406
|
-
pango_attr_strikethrough_color_new (<em class="parameter"><code><a href="
|
1407
|
-
<em class="parameter"><code><a href="
|
1408
|
-
<em class="parameter"><code><a href="
|
1400
|
+
pango_attr_strikethrough_color_new (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
|
1401
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
|
1402
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);</pre>
|
1409
1403
|
<p>Create a new strikethrough color attribute. This attribute
|
1410
1404
|
modifies the color of strikethrough lines. If not set, strikethrough
|
1411
1405
|
lines will use the foreground color.</p>
|
1412
1406
|
<div class="refsect3">
|
1413
|
-
<a name="
|
1407
|
+
<a name="pango-attr-strikethrough-color-new.parameters"></a><h4>Parameters</h4>
|
1414
1408
|
<div class="informaltable"><table width="100%" border="0">
|
1415
1409
|
<colgroup>
|
1416
1410
|
<col width="150px" class="parameters_name">
|
@@ -1437,7 +1431,7 @@ lines will use the foreground color.</p>
|
|
1437
1431
|
</table></div>
|
1438
1432
|
</div>
|
1439
1433
|
<div class="refsect3">
|
1440
|
-
<a name="
|
1434
|
+
<a name="pango-attr-strikethrough-color-new.returns"></a><h4>Returns</h4>
|
1441
1435
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1442
1436
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1443
1437
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1451,7 +1445,7 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1451
1445
|
pango_attr_underline_new (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoUnderline" title="enum PangoUnderline"><span class="type">PangoUnderline</span></a> underline</code></em>);</pre>
|
1452
1446
|
<p>Create a new underline-style attribute.</p>
|
1453
1447
|
<div class="refsect3">
|
1454
|
-
<a name="
|
1448
|
+
<a name="pango-attr-underline-new.parameters"></a><h4>Parameters</h4>
|
1455
1449
|
<div class="informaltable"><table width="100%" border="0">
|
1456
1450
|
<colgroup>
|
1457
1451
|
<col width="150px" class="parameters_name">
|
@@ -1466,7 +1460,7 @@ pango_attr_underline_new (<em class="parameter"><code><a class="link" href="pang
|
|
1466
1460
|
</table></div>
|
1467
1461
|
</div>
|
1468
1462
|
<div class="refsect3">
|
1469
|
-
<a name="
|
1463
|
+
<a name="pango-attr-underline-new.returns"></a><h4>Returns</h4>
|
1470
1464
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1471
1465
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1472
1466
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1476,14 +1470,14 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1476
1470
|
<div class="refsect2">
|
1477
1471
|
<a name="pango-attr-underline-color-new"></a><h3>pango_attr_underline_color_new ()</h3>
|
1478
1472
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *
|
1479
|
-
pango_attr_underline_color_new (<em class="parameter"><code><a href="
|
1480
|
-
<em class="parameter"><code><a href="
|
1481
|
-
<em class="parameter"><code><a href="
|
1473
|
+
pango_attr_underline_color_new (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> red</code></em>,
|
1474
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> green</code></em>,
|
1475
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> blue</code></em>);</pre>
|
1482
1476
|
<p>Create a new underline color attribute. This attribute
|
1483
1477
|
modifies the color of underlines. If not set, underlines
|
1484
1478
|
will use the foreground color.</p>
|
1485
1479
|
<div class="refsect3">
|
1486
|
-
<a name="
|
1480
|
+
<a name="pango-attr-underline-color-new.parameters"></a><h4>Parameters</h4>
|
1487
1481
|
<div class="informaltable"><table width="100%" border="0">
|
1488
1482
|
<colgroup>
|
1489
1483
|
<col width="150px" class="parameters_name">
|
@@ -1510,7 +1504,7 @@ will use the foreground color.</p>
|
|
1510
1504
|
</table></div>
|
1511
1505
|
</div>
|
1512
1506
|
<div class="refsect3">
|
1513
|
-
<a name="
|
1507
|
+
<a name="pango-attr-underline-color-new.returns"></a><h4>Returns</h4>
|
1514
1508
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1515
1509
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1516
1510
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1519,12 +1513,6 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1519
1513
|
</div>
|
1520
1514
|
<hr>
|
1521
1515
|
<div class="refsect2">
|
1522
|
-
<a name="PANGO-TYPE-UNDERLINE:CAPS"></a><h3>PANGO_TYPE_UNDERLINE</h3>
|
1523
|
-
<pre class="programlisting">#define PANGO_TYPE_UNDERLINE (pango_underline_get_type ())
|
1524
|
-
</pre>
|
1525
|
-
</div>
|
1526
|
-
<hr>
|
1527
|
-
<div class="refsect2">
|
1528
1516
|
<a name="pango-attr-shape-new"></a><h3>pango_attr_shape_new ()</h3>
|
1529
1517
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *
|
1530
1518
|
pango_attr_shape_new (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
@@ -1534,7 +1522,7 @@ particular ink and logical rectangle on the result of shaping a
|
|
1534
1522
|
particular glyph. This might be used, for instance, for
|
1535
1523
|
embedding a picture or a widget inside a <a class="link" href="pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a>.</p>
|
1536
1524
|
<div class="refsect3">
|
1537
|
-
<a name="
|
1525
|
+
<a name="pango-attr-shape-new.parameters"></a><h4>Parameters</h4>
|
1538
1526
|
<div class="informaltable"><table width="100%" border="0">
|
1539
1527
|
<colgroup>
|
1540
1528
|
<col width="150px" class="parameters_name">
|
@@ -1556,7 +1544,7 @@ embedding a picture or a widget inside a <a class="link" href="pango-Layout-Obje
|
|
1556
1544
|
</table></div>
|
1557
1545
|
</div>
|
1558
1546
|
<div class="refsect3">
|
1559
|
-
<a name="
|
1547
|
+
<a name="pango-attr-shape-new.returns"></a><h4>Returns</h4>
|
1560
1548
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1561
1549
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1562
1550
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1568,14 +1556,14 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1568
1556
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *
|
1569
1557
|
pango_attr_shape_new_with_data (<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *ink_rect</code></em>,
|
1570
1558
|
<em class="parameter"><code>const <a class="link" href="pango-Glyph-Storage.html#PangoRectangle" title="struct PangoRectangle"><span class="type">PangoRectangle</span></a> *logical_rect</code></em>,
|
1571
|
-
<em class="parameter"><code><a href="
|
1559
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1572
1560
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrDataCopyFunc" title="PangoAttrDataCopyFunc ()"><span class="type">PangoAttrDataCopyFunc</span></a> copy_func</code></em>,
|
1573
|
-
<em class="parameter"><code><a href="
|
1561
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_func</code></em>);</pre>
|
1574
1562
|
<p>Like <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new" title="pango_attr_shape_new ()"><code class="function">pango_attr_shape_new()</code></a>, but a user data pointer is also
|
1575
1563
|
provided; this pointer can be accessed when later
|
1576
1564
|
rendering the glyph.</p>
|
1577
1565
|
<div class="refsect3">
|
1578
|
-
<a name="
|
1566
|
+
<a name="pango-attr-shape-new-with-data.parameters"></a><h4>Parameters</h4>
|
1579
1567
|
<div class="informaltable"><table width="100%" border="0">
|
1580
1568
|
<colgroup>
|
1581
1569
|
<col width="150px" class="parameters_name">
|
@@ -1602,7 +1590,7 @@ rendering the glyph.</p>
|
|
1602
1590
|
<td class="parameter_name"><p>copy_func</p></td>
|
1603
1591
|
<td class="parameter_description"><p> function to copy <em class="parameter"><code>data</code></em>
|
1604
1592
|
when the
|
1605
|
-
attribute is copied. If <a href="
|
1593
|
+
attribute is copied. If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, <em class="parameter"><code>data</code></em>
|
1606
1594
|
is simply
|
1607
1595
|
copied as a pointer. </p></td>
|
1608
1596
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
@@ -1611,14 +1599,14 @@ copied as a pointer. </p></td>
|
|
1611
1599
|
<td class="parameter_name"><p>destroy_func</p></td>
|
1612
1600
|
<td class="parameter_description"><p> function to free <em class="parameter"><code>data</code></em>
|
1613
1601
|
when the
|
1614
|
-
attribute is freed, or <a href="
|
1602
|
+
attribute is freed, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1615
1603
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1616
1604
|
</tr>
|
1617
1605
|
</tbody>
|
1618
1606
|
</table></div>
|
1619
1607
|
</div>
|
1620
1608
|
<div class="refsect3">
|
1621
|
-
<a name="
|
1609
|
+
<a name="pango-attr-shape-new-with-data.returns"></a><h4>Returns</h4>
|
1622
1610
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>, which should be
|
1623
1611
|
freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>.</p>
|
1624
1612
|
</div>
|
@@ -1627,11 +1615,11 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1627
1615
|
<hr>
|
1628
1616
|
<div class="refsect2">
|
1629
1617
|
<a name="PangoAttrDataCopyFunc"></a><h3>PangoAttrDataCopyFunc ()</h3>
|
1630
|
-
<pre class="programlisting"><a href="
|
1631
|
-
<span class="c_punctuation">(</span>*PangoAttrDataCopyFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="
|
1618
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
1619
|
+
<span class="c_punctuation">(</span>*PangoAttrDataCopyFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> user_data</code></em>);</pre>
|
1632
1620
|
<p>Type of a function that can duplicate user data for an attribute.</p>
|
1633
1621
|
<div class="refsect3">
|
1634
|
-
<a name="
|
1622
|
+
<a name="PangoAttrDataCopyFunc.parameters"></a><h4>Parameters</h4>
|
1635
1623
|
<div class="informaltable"><table width="100%" border="0">
|
1636
1624
|
<colgroup>
|
1637
1625
|
<col width="150px" class="parameters_name">
|
@@ -1646,7 +1634,7 @@ freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-dest
|
|
1646
1634
|
</table></div>
|
1647
1635
|
</div>
|
1648
1636
|
<div class="refsect3">
|
1649
|
-
<a name="
|
1637
|
+
<a name="PangoAttrDataCopyFunc.returns"></a><h4>Returns</h4>
|
1650
1638
|
<p> new copy of <em class="parameter"><code>user_data</code></em>
|
1651
1639
|
.</p>
|
1652
1640
|
</div>
|
@@ -1660,7 +1648,7 @@ pango_attr_scale_new (<em class="parameter"><code><span class="type">double</spa
|
|
1660
1648
|
affected text will have its size multiplied by <em class="parameter"><code>scale_factor</code></em>
|
1661
1649
|
.</p>
|
1662
1650
|
<div class="refsect3">
|
1663
|
-
<a name="
|
1651
|
+
<a name="pango-attr-scale-new.parameters"></a><h4>Parameters</h4>
|
1664
1652
|
<div class="informaltable"><table width="100%" border="0">
|
1665
1653
|
<colgroup>
|
1666
1654
|
<col width="150px" class="parameters_name">
|
@@ -1675,7 +1663,7 @@ affected text will have its size multiplied by <em class="parameter"><code>scale
|
|
1675
1663
|
</table></div>
|
1676
1664
|
</div>
|
1677
1665
|
<div class="refsect3">
|
1678
|
-
<a name="
|
1666
|
+
<a name="pango-attr-scale-new.returns"></a><h4>Returns</h4>
|
1679
1667
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1680
1668
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1681
1669
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1683,61 +1671,12 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1683
1671
|
</div>
|
1684
1672
|
<hr>
|
1685
1673
|
<div class="refsect2">
|
1686
|
-
<a name="PANGO-SCALE-XX-SMALL:CAPS"></a><h3>PANGO_SCALE_XX_SMALL</h3>
|
1687
|
-
<pre class="programlisting">#define PANGO_SCALE_XX_SMALL ((double)0.5787037037037)
|
1688
|
-
</pre>
|
1689
|
-
<p>The scale factor for three shrinking steps (1 / (1.2 * 1.2 * 1.2)).</p>
|
1690
|
-
</div>
|
1691
|
-
<hr>
|
1692
|
-
<div class="refsect2">
|
1693
|
-
<a name="PANGO-SCALE-X-SMALL:CAPS"></a><h3>PANGO_SCALE_X_SMALL</h3>
|
1694
|
-
<pre class="programlisting">#define PANGO_SCALE_X_SMALL ((double)0.6444444444444)
|
1695
|
-
</pre>
|
1696
|
-
<p>The scale factor for two shrinking steps (1 / (1.2 * 1.2)).</p>
|
1697
|
-
</div>
|
1698
|
-
<hr>
|
1699
|
-
<div class="refsect2">
|
1700
|
-
<a name="PANGO-SCALE-SMALL:CAPS"></a><h3>PANGO_SCALE_SMALL</h3>
|
1701
|
-
<pre class="programlisting">#define PANGO_SCALE_SMALL ((double)0.8333333333333)
|
1702
|
-
</pre>
|
1703
|
-
<p>The scale factor for one shrinking step (1 / 1.2).</p>
|
1704
|
-
</div>
|
1705
|
-
<hr>
|
1706
|
-
<div class="refsect2">
|
1707
|
-
<a name="PANGO-SCALE-MEDIUM:CAPS"></a><h3>PANGO_SCALE_MEDIUM</h3>
|
1708
|
-
<pre class="programlisting">#define PANGO_SCALE_MEDIUM ((double)1.0)
|
1709
|
-
</pre>
|
1710
|
-
<p>The scale factor for normal size (1.0).</p>
|
1711
|
-
</div>
|
1712
|
-
<hr>
|
1713
|
-
<div class="refsect2">
|
1714
|
-
<a name="PANGO-SCALE-LARGE:CAPS"></a><h3>PANGO_SCALE_LARGE</h3>
|
1715
|
-
<pre class="programlisting">#define PANGO_SCALE_LARGE ((double)1.2)
|
1716
|
-
</pre>
|
1717
|
-
<p>The scale factor for one magnification step (1.2).</p>
|
1718
|
-
</div>
|
1719
|
-
<hr>
|
1720
|
-
<div class="refsect2">
|
1721
|
-
<a name="PANGO-SCALE-X-LARGE:CAPS"></a><h3>PANGO_SCALE_X_LARGE</h3>
|
1722
|
-
<pre class="programlisting">#define PANGO_SCALE_X_LARGE ((double)1.4399999999999)
|
1723
|
-
</pre>
|
1724
|
-
<p>The scale factor for two magnification steps (1.2 * 1.2).</p>
|
1725
|
-
</div>
|
1726
|
-
<hr>
|
1727
|
-
<div class="refsect2">
|
1728
|
-
<a name="PANGO-SCALE-XX-LARGE:CAPS"></a><h3>PANGO_SCALE_XX_LARGE</h3>
|
1729
|
-
<pre class="programlisting">#define PANGO_SCALE_XX_LARGE ((double)1.728)
|
1730
|
-
</pre>
|
1731
|
-
<p>The scale factor for three magnification steps (1.2 * 1.2 * 1.2).</p>
|
1732
|
-
</div>
|
1733
|
-
<hr>
|
1734
|
-
<div class="refsect2">
|
1735
1674
|
<a name="pango-attr-rise-new"></a><h3>pango_attr_rise_new ()</h3>
|
1736
1675
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *
|
1737
1676
|
pango_attr_rise_new (<em class="parameter"><code><span class="type">int</span> rise</code></em>);</pre>
|
1738
1677
|
<p>Create a new baseline displacement attribute.</p>
|
1739
1678
|
<div class="refsect3">
|
1740
|
-
<a name="
|
1679
|
+
<a name="pango-attr-rise-new.parameters"></a><h4>Parameters</h4>
|
1741
1680
|
<div class="informaltable"><table width="100%" border="0">
|
1742
1681
|
<colgroup>
|
1743
1682
|
<col width="150px" class="parameters_name">
|
@@ -1753,7 +1692,7 @@ in Pango units. Positive values displace the text upwards.</p></td>
|
|
1753
1692
|
</table></div>
|
1754
1693
|
</div>
|
1755
1694
|
<div class="refsect3">
|
1756
|
-
<a name="
|
1695
|
+
<a name="pango-attr-rise-new.returns"></a><h4>Returns</h4>
|
1757
1696
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1758
1697
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1759
1698
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1766,7 +1705,7 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1766
1705
|
pango_attr_letter_spacing_new (<em class="parameter"><code><span class="type">int</span> letter_spacing</code></em>);</pre>
|
1767
1706
|
<p>Create a new letter-spacing attribute.</p>
|
1768
1707
|
<div class="refsect3">
|
1769
|
-
<a name="
|
1708
|
+
<a name="pango-attr-letter-spacing-new.parameters"></a><h4>Parameters</h4>
|
1770
1709
|
<div class="informaltable"><table width="100%" border="0">
|
1771
1710
|
<colgroup>
|
1772
1711
|
<col width="150px" class="parameters_name">
|
@@ -1782,7 +1721,7 @@ of the text, in Pango units.</p></td>
|
|
1782
1721
|
</table></div>
|
1783
1722
|
</div>
|
1784
1723
|
<div class="refsect3">
|
1785
|
-
<a name="
|
1724
|
+
<a name="pango-attr-letter-spacing-new.returns"></a><h4>Returns</h4>
|
1786
1725
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1787
1726
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1788
1727
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1793,14 +1732,14 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1793
1732
|
<div class="refsect2">
|
1794
1733
|
<a name="pango-attr-fallback-new"></a><h3>pango_attr_fallback_new ()</h3>
|
1795
1734
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *
|
1796
|
-
pango_attr_fallback_new (<em class="parameter"><code><a href="
|
1735
|
+
pango_attr_fallback_new (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable_fallback</code></em>);</pre>
|
1797
1736
|
<p>Create a new font fallback attribute.</p>
|
1798
1737
|
<p>If fallback is disabled, characters will only be used from the
|
1799
1738
|
closest matching font on the system. No fallback will be done to
|
1800
1739
|
other fonts on the system that might contain the characters in the
|
1801
1740
|
text.</p>
|
1802
1741
|
<div class="refsect3">
|
1803
|
-
<a name="
|
1742
|
+
<a name="pango-attr-fallback-new.parameters"></a><h4>Parameters</h4>
|
1804
1743
|
<div class="informaltable"><table width="100%" border="0">
|
1805
1744
|
<colgroup>
|
1806
1745
|
<col width="150px" class="parameters_name">
|
@@ -1809,14 +1748,14 @@ text.</p>
|
|
1809
1748
|
</colgroup>
|
1810
1749
|
<tbody><tr>
|
1811
1750
|
<td class="parameter_name"><p>enable_fallback</p></td>
|
1812
|
-
<td class="parameter_description"><p><a href="
|
1751
|
+
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if we should fall back on other fonts
|
1813
1752
|
for characters the active font is missing.</p></td>
|
1814
1753
|
<td class="parameter_annotations"> </td>
|
1815
1754
|
</tr></tbody>
|
1816
1755
|
</table></div>
|
1817
1756
|
</div>
|
1818
1757
|
<div class="refsect3">
|
1819
|
-
<a name="
|
1758
|
+
<a name="pango-attr-fallback-new.returns"></a><h4>Returns</h4>
|
1820
1759
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1821
1760
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1822
1761
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1830,7 +1769,7 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1830
1769
|
pango_attr_gravity_new (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravity" title="enum PangoGravity"><span class="type">PangoGravity</span></a> gravity</code></em>);</pre>
|
1831
1770
|
<p>Create a new gravity attribute.</p>
|
1832
1771
|
<div class="refsect3">
|
1833
|
-
<a name="
|
1772
|
+
<a name="pango-attr-gravity-new.parameters"></a><h4>Parameters</h4>
|
1834
1773
|
<div class="informaltable"><table width="100%" border="0">
|
1835
1774
|
<colgroup>
|
1836
1775
|
<col width="150px" class="parameters_name">
|
@@ -1845,7 +1784,7 @@ pango_attr_gravity_new (<em class="parameter"><code><a class="link" href="pango-
|
|
1845
1784
|
</table></div>
|
1846
1785
|
</div>
|
1847
1786
|
<div class="refsect3">
|
1848
|
-
<a name="
|
1787
|
+
<a name="pango-attr-gravity-new.returns"></a><h4>Returns</h4>
|
1849
1788
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1850
1789
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1851
1790
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1859,7 +1798,7 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1859
1798
|
pango_attr_gravity_hint_new (<em class="parameter"><code><a class="link" href="pango-Vertical-Text.html#PangoGravityHint" title="enum PangoGravityHint"><span class="type">PangoGravityHint</span></a> hint</code></em>);</pre>
|
1860
1799
|
<p>Create a new gravity hint attribute.</p>
|
1861
1800
|
<div class="refsect3">
|
1862
|
-
<a name="
|
1801
|
+
<a name="pango-attr-gravity-hint-new.parameters"></a><h4>Parameters</h4>
|
1863
1802
|
<div class="informaltable"><table width="100%" border="0">
|
1864
1803
|
<colgroup>
|
1865
1804
|
<col width="150px" class="parameters_name">
|
@@ -1874,7 +1813,7 @@ pango_attr_gravity_hint_new (<em class="parameter"><code><a class="link" href="p
|
|
1874
1813
|
</table></div>
|
1875
1814
|
</div>
|
1876
1815
|
<div class="refsect3">
|
1877
|
-
<a name="
|
1816
|
+
<a name="pango-attr-gravity-hint-new.returns"></a><h4>Returns</h4>
|
1878
1817
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1879
1818
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1880
1819
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1885,10 +1824,10 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1885
1824
|
<div class="refsect2">
|
1886
1825
|
<a name="pango-attr-font-features-new"></a><h3>pango_attr_font_features_new ()</h3>
|
1887
1826
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *
|
1888
|
-
pango_attr_font_features_new (<em class="parameter"><code>const <a href="
|
1827
|
+
pango_attr_font_features_new (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *features</code></em>);</pre>
|
1889
1828
|
<p>Create a new font features tag attribute.</p>
|
1890
1829
|
<div class="refsect3">
|
1891
|
-
<a name="
|
1830
|
+
<a name="pango-attr-font-features-new.parameters"></a><h4>Parameters</h4>
|
1892
1831
|
<div class="informaltable"><table width="100%" border="0">
|
1893
1832
|
<colgroup>
|
1894
1833
|
<col width="150px" class="parameters_name">
|
@@ -1903,7 +1842,7 @@ pango_attr_font_features_new (<em class="parameter"><code>const <a href="/home/v
|
|
1903
1842
|
</table></div>
|
1904
1843
|
</div>
|
1905
1844
|
<div class="refsect3">
|
1906
|
-
<a name="
|
1845
|
+
<a name="pango-attr-font-features-new.returns"></a><h4>Returns</h4>
|
1907
1846
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1908
1847
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1909
1848
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1914,10 +1853,10 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1914
1853
|
<div class="refsect2">
|
1915
1854
|
<a name="pango-attr-foreground-alpha-new"></a><h3>pango_attr_foreground_alpha_new ()</h3>
|
1916
1855
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *
|
1917
|
-
pango_attr_foreground_alpha_new (<em class="parameter"><code><a href="
|
1856
|
+
pango_attr_foreground_alpha_new (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> alpha</code></em>);</pre>
|
1918
1857
|
<p>Create a new foreground alpha attribute.</p>
|
1919
1858
|
<div class="refsect3">
|
1920
|
-
<a name="
|
1859
|
+
<a name="pango-attr-foreground-alpha-new.parameters"></a><h4>Parameters</h4>
|
1921
1860
|
<div class="informaltable"><table width="100%" border="0">
|
1922
1861
|
<colgroup>
|
1923
1862
|
<col width="150px" class="parameters_name">
|
@@ -1932,7 +1871,7 @@ pango_attr_foreground_alpha_new (<em class="parameter"><code><a href="/home/vagr
|
|
1932
1871
|
</table></div>
|
1933
1872
|
</div>
|
1934
1873
|
<div class="refsect3">
|
1935
|
-
<a name="
|
1874
|
+
<a name="pango-attr-foreground-alpha-new.returns"></a><h4>Returns</h4>
|
1936
1875
|
<p> the new allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1937
1876
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1938
1877
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1943,10 +1882,10 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1943
1882
|
<div class="refsect2">
|
1944
1883
|
<a name="pango-attr-background-alpha-new"></a><h3>pango_attr_background_alpha_new ()</h3>
|
1945
1884
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="returnvalue">PangoAttribute</span></a> *
|
1946
|
-
pango_attr_background_alpha_new (<em class="parameter"><code><a href="
|
1885
|
+
pango_attr_background_alpha_new (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> alpha</code></em>);</pre>
|
1947
1886
|
<p>Create a new background alpha attribute.</p>
|
1948
1887
|
<div class="refsect3">
|
1949
|
-
<a name="
|
1888
|
+
<a name="pango-attr-background-alpha-new.parameters"></a><h4>Parameters</h4>
|
1950
1889
|
<div class="informaltable"><table width="100%" border="0">
|
1951
1890
|
<colgroup>
|
1952
1891
|
<col width="150px" class="parameters_name">
|
@@ -1961,7 +1900,7 @@ pango_attr_background_alpha_new (<em class="parameter"><code><a href="/home/vagr
|
|
1961
1900
|
</table></div>
|
1962
1901
|
</div>
|
1963
1902
|
<div class="refsect3">
|
1964
|
-
<a name="
|
1903
|
+
<a name="pango-attr-background-alpha-new.returns"></a><h4>Returns</h4>
|
1965
1904
|
<p> the new allocated <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>,
|
1966
1905
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a>. </p>
|
1967
1906
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -1971,7 +1910,7 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
1971
1910
|
<hr>
|
1972
1911
|
<div class="refsect2">
|
1973
1912
|
<a name="pango-color-parse"></a><h3>pango_color_parse ()</h3>
|
1974
|
-
<pre class="programlisting"><a href="
|
1913
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1975
1914
|
pango_color_parse (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>,
|
1976
1915
|
<em class="parameter"><code>const <span class="type">char</span> *spec</code></em>);</pre>
|
1977
1916
|
<p>Fill in the fields of a color from a string specification. The
|
@@ -1983,7 +1922,7 @@ form '#rgb' '#rrggbb' '#rrrgggbbb' or '#rrrrggggbbbb' where
|
|
1983
1922
|
components of the color, respectively. (White in the four
|
1984
1923
|
forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff')</p>
|
1985
1924
|
<div class="refsect3">
|
1986
|
-
<a name="
|
1925
|
+
<a name="pango-color-parse.parameters"></a><h4>Parameters</h4>
|
1987
1926
|
<div class="informaltable"><table width="100%" border="0">
|
1988
1927
|
<colgroup>
|
1989
1928
|
<col width="150px" class="parameters_name">
|
@@ -1994,7 +1933,7 @@ forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff')</p>
|
|
1994
1933
|
<tr>
|
1995
1934
|
<td class="parameter_name"><p>color</p></td>
|
1996
1935
|
<td class="parameter_description"><p> a <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> structure in which to store the
|
1997
|
-
result, or <a href="
|
1936
|
+
result, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1998
1937
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
1999
1938
|
</tr>
|
2000
1939
|
<tr>
|
@@ -2006,8 +1945,8 @@ result, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk
|
|
2006
1945
|
</table></div>
|
2007
1946
|
</div>
|
2008
1947
|
<div class="refsect3">
|
2009
|
-
<a name="
|
2010
|
-
<p> <a href="
|
1948
|
+
<a name="pango-color-parse.returns"></a><h4>Returns</h4>
|
1949
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if parsing of the specifier succeeded,
|
2011
1950
|
otherwise false.</p>
|
2012
1951
|
</div>
|
2013
1952
|
</div>
|
@@ -2022,7 +1961,7 @@ pango_color_copy (<em class="parameter"><code>const <a class="link" href="pango-
|
|
2022
1961
|
not that useful otherwise (since colors can just be copied
|
2023
1962
|
by assignment in C).</p>
|
2024
1963
|
<div class="refsect3">
|
2025
|
-
<a name="
|
1964
|
+
<a name="pango-color-copy.parameters"></a><h4>Parameters</h4>
|
2026
1965
|
<div class="informaltable"><table width="100%" border="0">
|
2027
1966
|
<colgroup>
|
2028
1967
|
<col width="150px" class="parameters_name">
|
@@ -2031,17 +1970,17 @@ by assignment in C).</p>
|
|
2031
1970
|
</colgroup>
|
2032
1971
|
<tbody><tr>
|
2033
1972
|
<td class="parameter_name"><p>src</p></td>
|
2034
|
-
<td class="parameter_description"><p> color to copy, may be <a href="
|
1973
|
+
<td class="parameter_description"><p> color to copy, may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2035
1974
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
2036
1975
|
</tr></tbody>
|
2037
1976
|
</table></div>
|
2038
1977
|
</div>
|
2039
1978
|
<div class="refsect3">
|
2040
|
-
<a name="
|
1979
|
+
<a name="pango-color-copy.returns"></a><h4>Returns</h4>
|
2041
1980
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>, which
|
2042
|
-
should be freed with <a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()"><code class="function">pango_color_free()</code></a>, or <a href="
|
1981
|
+
should be freed with <a class="link" href="pango-Text-Attributes.html#pango-color-free" title="pango_color_free ()"><code class="function">pango_color_free()</code></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
2043
1982
|
<em class="parameter"><code>src</code></em>
|
2044
|
-
was <a href="
|
1983
|
+
was <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
2045
1984
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
2046
1985
|
</div>
|
2047
1986
|
</div>
|
@@ -2052,7 +1991,7 @@ was <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/ht
|
|
2052
1991
|
pango_color_free (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);</pre>
|
2053
1992
|
<p>Frees a color allocated by <a class="link" href="pango-Text-Attributes.html#pango-color-copy" title="pango_color_copy ()"><code class="function">pango_color_copy()</code></a>.</p>
|
2054
1993
|
<div class="refsect3">
|
2055
|
-
<a name="
|
1994
|
+
<a name="pango-color-free.parameters"></a><h4>Parameters</h4>
|
2056
1995
|
<div class="informaltable"><table width="100%" border="0">
|
2057
1996
|
<colgroup>
|
2058
1997
|
<col width="150px" class="parameters_name">
|
@@ -2061,7 +2000,7 @@ pango_color_free (<em class="parameter"><code><a class="link" href="pango-Text-A
|
|
2061
2000
|
</colgroup>
|
2062
2001
|
<tbody><tr>
|
2063
2002
|
<td class="parameter_name"><p>color</p></td>
|
2064
|
-
<td class="parameter_description"><p> an allocated <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>, may be <a href="
|
2003
|
+
<td class="parameter_description"><p> an allocated <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>, may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2065
2004
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
2066
2005
|
</tr></tbody>
|
2067
2006
|
</table></div>
|
@@ -2070,7 +2009,7 @@ pango_color_free (<em class="parameter"><code><a class="link" href="pango-Text-A
|
|
2070
2009
|
<hr>
|
2071
2010
|
<div class="refsect2">
|
2072
2011
|
<a name="pango-color-to-string"></a><h3>pango_color_to_string ()</h3>
|
2073
|
-
<pre class="programlisting"><a href="
|
2012
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
2074
2013
|
pango_color_to_string (<em class="parameter"><code>const <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> *color</code></em>);</pre>
|
2075
2014
|
<p>Returns a textual specification of <em class="parameter"><code>color</code></em>
|
2076
2015
|
in the hexadecimal form
|
@@ -2078,7 +2017,7 @@ pango_color_to_string (<em class="parameter"><code>const <a class="link" href="p
|
|
2078
2017
|
<code class="literal">g</code> and <code class="literal">b</code> are hex digits representing
|
2079
2018
|
the red, green, and blue components respectively.</p>
|
2080
2019
|
<div class="refsect3">
|
2081
|
-
<a name="
|
2020
|
+
<a name="pango-color-to-string.parameters"></a><h4>Parameters</h4>
|
2082
2021
|
<div class="informaltable"><table width="100%" border="0">
|
2083
2022
|
<colgroup>
|
2084
2023
|
<col width="150px" class="parameters_name">
|
@@ -2093,8 +2032,8 @@ the red, green, and blue components respectively.</p>
|
|
2093
2032
|
</table></div>
|
2094
2033
|
</div>
|
2095
2034
|
<div class="refsect3">
|
2096
|
-
<a name="
|
2097
|
-
<p> a newly-allocated text string that must be freed with <a href="
|
2035
|
+
<a name="pango-color-to-string.returns"></a><h4>Returns</h4>
|
2036
|
+
<p> a newly-allocated text string that must be freed with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
2098
2037
|
</div>
|
2099
2038
|
<p class="since">Since: <a class="link" href="api-index-1-16.html#api-index-1.16">1.16</a></p>
|
2100
2039
|
</div>
|
@@ -2105,7 +2044,7 @@ the red, green, and blue components respectively.</p>
|
|
2105
2044
|
pango_attr_list_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
2106
2045
|
<p>Create a new empty attribute list with a reference count of one.</p>
|
2107
2046
|
<div class="refsect3">
|
2108
|
-
<a name="
|
2047
|
+
<a name="pango-attr-list-new.returns"></a><h4>Returns</h4>
|
2109
2048
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>,
|
2110
2049
|
which should be freed with <a class="link" href="pango-Text-Attributes.html#pango-attr-list-unref" title="pango_attr_list_unref ()"><code class="function">pango_attr_list_unref()</code></a>. </p>
|
2111
2050
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -2118,7 +2057,7 @@ which should be freed with <a class="link" href="pango-Text-Attributes.html#pang
|
|
2118
2057
|
pango_attr_list_ref (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>);</pre>
|
2119
2058
|
<p>Increase the reference count of the given attribute list by one.</p>
|
2120
2059
|
<div class="refsect3">
|
2121
|
-
<a name="
|
2060
|
+
<a name="pango-attr-list-ref.parameters"></a><h4>Parameters</h4>
|
2122
2061
|
<div class="informaltable"><table width="100%" border="0">
|
2123
2062
|
<colgroup>
|
2124
2063
|
<col width="150px" class="parameters_name">
|
@@ -2127,13 +2066,13 @@ pango_attr_list_ref (<em class="parameter"><code><a class="link" href="pango-Tex
|
|
2127
2066
|
</colgroup>
|
2128
2067
|
<tbody><tr>
|
2129
2068
|
<td class="parameter_name"><p>list</p></td>
|
2130
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="
|
2069
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2131
2070
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
2132
2071
|
</tr></tbody>
|
2133
2072
|
</table></div>
|
2134
2073
|
</div>
|
2135
2074
|
<div class="refsect3">
|
2136
|
-
<a name="
|
2075
|
+
<a name="pango-attr-list-ref.returns"></a><h4>Returns</h4>
|
2137
2076
|
<p> The attribute list passed in</p>
|
2138
2077
|
</div>
|
2139
2078
|
<p class="since">Since: <a class="link" href="api-index-1-10.html#api-index-1.10">1.10</a></p>
|
@@ -2147,7 +2086,7 @@ pango_attr_list_unref (<em class="parameter"><code><a class="link" href="pango-T
|
|
2147
2086
|
If the result is zero, free the attribute list and the attributes
|
2148
2087
|
it contains.</p>
|
2149
2088
|
<div class="refsect3">
|
2150
|
-
<a name="
|
2089
|
+
<a name="pango-attr-list-unref.parameters"></a><h4>Parameters</h4>
|
2151
2090
|
<div class="informaltable"><table width="100%" border="0">
|
2152
2091
|
<colgroup>
|
2153
2092
|
<col width="150px" class="parameters_name">
|
@@ -2156,7 +2095,7 @@ it contains.</p>
|
|
2156
2095
|
</colgroup>
|
2157
2096
|
<tbody><tr>
|
2158
2097
|
<td class="parameter_name"><p>list</p></td>
|
2159
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="
|
2098
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2160
2099
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
2161
2100
|
</tr></tbody>
|
2162
2101
|
</table></div>
|
@@ -2170,7 +2109,7 @@ pango_attr_list_copy (<em class="parameter"><code><a class="link" href="pango-Te
|
|
2170
2109
|
<p>Copy <em class="parameter"><code>list</code></em>
|
2171
2110
|
and return an identical new list.</p>
|
2172
2111
|
<div class="refsect3">
|
2173
|
-
<a name="
|
2112
|
+
<a name="pango-attr-list-copy.parameters"></a><h4>Parameters</h4>
|
2174
2113
|
<div class="informaltable"><table width="100%" border="0">
|
2175
2114
|
<colgroup>
|
2176
2115
|
<col width="150px" class="parameters_name">
|
@@ -2179,18 +2118,18 @@ pango_attr_list_copy (<em class="parameter"><code><a class="link" href="pango-Te
|
|
2179
2118
|
</colgroup>
|
2180
2119
|
<tbody><tr>
|
2181
2120
|
<td class="parameter_name"><p>list</p></td>
|
2182
|
-
<td class="parameter_description"><p> a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="
|
2121
|
+
<td class="parameter_description"><p> a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2183
2122
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
2184
2123
|
</tr></tbody>
|
2185
2124
|
</table></div>
|
2186
2125
|
</div>
|
2187
2126
|
<div class="refsect3">
|
2188
|
-
<a name="
|
2127
|
+
<a name="pango-attr-list-copy.returns"></a><h4>Returns</h4>
|
2189
2128
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>, with a
|
2190
2129
|
reference count of one, which should
|
2191
2130
|
be freed with <a class="link" href="pango-Text-Attributes.html#pango-attr-list-unref" title="pango_attr_list_unref ()"><code class="function">pango_attr_list_unref()</code></a>.
|
2192
|
-
Returns <a href="
|
2193
|
-
was <a href="
|
2131
|
+
Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>list</code></em>
|
2132
|
+
was <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
2194
2133
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
2195
2134
|
</div>
|
2196
2135
|
</div>
|
@@ -2205,7 +2144,7 @@ be inserted after all other attributes with a matching
|
|
2205
2144
|
<em class="parameter"><code>start_index</code></em>
|
2206
2145
|
.</p>
|
2207
2146
|
<div class="refsect3">
|
2208
|
-
<a name="
|
2147
|
+
<a name="pango-attr-list-insert.parameters"></a><h4>Parameters</h4>
|
2209
2148
|
<div class="informaltable"><table width="100%" border="0">
|
2210
2149
|
<colgroup>
|
2211
2150
|
<col width="150px" class="parameters_name">
|
@@ -2239,7 +2178,7 @@ be inserted before all other attributes with a matching
|
|
2239
2178
|
<em class="parameter"><code>start_index</code></em>
|
2240
2179
|
.</p>
|
2241
2180
|
<div class="refsect3">
|
2242
|
-
<a name="
|
2181
|
+
<a name="pango-attr-list-insert-before.parameters"></a><h4>Parameters</h4>
|
2243
2182
|
<div class="informaltable"><table width="100%" border="0">
|
2244
2183
|
<colgroup>
|
2245
2184
|
<col width="150px" class="parameters_name">
|
@@ -2277,7 +2216,7 @@ for large lists). However, <a class="link" href="pango-Text-Attributes.html#pang
|
|
2277
2216
|
suitable for continually changing a set of attributes
|
2278
2217
|
since it never removes or combines existing attributes.</p>
|
2279
2218
|
<div class="refsect3">
|
2280
|
-
<a name="
|
2219
|
+
<a name="pango-attr-list-change.parameters"></a><h4>Parameters</h4>
|
2281
2220
|
<div class="informaltable"><table width="100%" border="0">
|
2282
2221
|
<colgroup>
|
2283
2222
|
<col width="150px" class="parameters_name">
|
@@ -2306,8 +2245,8 @@ value is assumed by the list. </p></td>
|
|
2306
2245
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2307
2246
|
pango_attr_list_splice (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
2308
2247
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *other</code></em>,
|
2309
|
-
<em class="parameter"><code><a href="
|
2310
|
-
<em class="parameter"><code><a href="
|
2248
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> pos</code></em>,
|
2249
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> len</code></em>);</pre>
|
2311
2250
|
<p>This function opens up a hole in <em class="parameter"><code>list</code></em>
|
2312
2251
|
, fills it in with attributes from
|
2313
2252
|
the left, and then merges <em class="parameter"><code>other</code></em>
|
@@ -2324,7 +2263,7 @@ of each attribute in <em class="parameter"><code>other</code></em>
|
|
2324
2263
|
<p>This operation proves useful for, for instance, inserting
|
2325
2264
|
a pre-edit string in the middle of an edit buffer.</p>
|
2326
2265
|
<div class="refsect3">
|
2327
|
-
<a name="
|
2266
|
+
<a name="pango-attr-list-splice.parameters"></a><h4>Parameters</h4>
|
2328
2267
|
<div class="informaltable"><table width="100%" border="0">
|
2329
2268
|
<colgroup>
|
2330
2269
|
<col width="150px" class="parameters_name">
|
@@ -2366,14 +2305,14 @@ may only be present at some subsection of this range)</p></td>
|
|
2366
2305
|
<pre class="programlisting"><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="returnvalue">PangoAttrList</span></a> *
|
2367
2306
|
pango_attr_list_filter (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> *list</code></em>,
|
2368
2307
|
<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrFilterFunc" title="PangoAttrFilterFunc ()"><span class="type">PangoAttrFilterFunc</span></a> func</code></em>,
|
2369
|
-
<em class="parameter"><code><a href="
|
2308
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
2370
2309
|
<p>Given a <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> and callback function, removes any elements
|
2371
2310
|
of <em class="parameter"><code>list</code></em>
|
2372
2311
|
for which <em class="parameter"><code>func</code></em>
|
2373
|
-
returns <a href="
|
2312
|
+
returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> and inserts them into
|
2374
2313
|
a new list.</p>
|
2375
2314
|
<div class="refsect3">
|
2376
|
-
<a name="
|
2315
|
+
<a name="pango-attr-list-filter.parameters"></a><h4>Parameters</h4>
|
2377
2316
|
<div class="informaltable"><table width="100%" border="0">
|
2378
2317
|
<colgroup>
|
2379
2318
|
<col width="150px" class="parameters_name">
|
@@ -2388,7 +2327,7 @@ a new list.</p>
|
|
2388
2327
|
</tr>
|
2389
2328
|
<tr>
|
2390
2329
|
<td class="parameter_name"><p>func</p></td>
|
2391
|
-
<td class="parameter_description"><p> callback function; returns <a href="
|
2330
|
+
<td class="parameter_description"><p> callback function; returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
2392
2331
|
if an attribute should be filtered out. </p></td>
|
2393
2332
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>][<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> data]</span></td>
|
2394
2333
|
</tr>
|
@@ -2402,9 +2341,9 @@ if an attribute should be filtered out. </p></td>
|
|
2402
2341
|
</table></div>
|
2403
2342
|
</div>
|
2404
2343
|
<div class="refsect3">
|
2405
|
-
<a name="
|
2344
|
+
<a name="pango-attr-list-filter.returns"></a><h4>Returns</h4>
|
2406
2345
|
<p> the new <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> or
|
2407
|
-
<a href="
|
2346
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no attributes of the given types were found. </p>
|
2408
2347
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
2409
2348
|
</div>
|
2410
2349
|
<p class="since">Since: <a class="link" href="api-index-1-2.html#api-index-1.2">1.2</a></p>
|
@@ -2412,12 +2351,12 @@ if an attribute should be filtered out. </p></td>
|
|
2412
2351
|
<hr>
|
2413
2352
|
<div class="refsect2">
|
2414
2353
|
<a name="PangoAttrFilterFunc"></a><h3>PangoAttrFilterFunc ()</h3>
|
2415
|
-
<pre class="programlisting"><a href="
|
2354
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2416
2355
|
<span class="c_punctuation">(</span>*PangoAttrFilterFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a> *attribute</code></em>,
|
2417
|
-
<em class="parameter"><code><a href="
|
2356
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
2418
2357
|
<p>Type of a function filtering a list of attributes.</p>
|
2419
2358
|
<div class="refsect3">
|
2420
|
-
<a name="
|
2359
|
+
<a name="PangoAttrFilterFunc.parameters"></a><h4>Parameters</h4>
|
2421
2360
|
<div class="informaltable"><table width="100%" border="0">
|
2422
2361
|
<colgroup>
|
2423
2362
|
<col width="150px" class="parameters_name">
|
@@ -2439,9 +2378,9 @@ if an attribute should be filtered out. </p></td>
|
|
2439
2378
|
</table></div>
|
2440
2379
|
</div>
|
2441
2380
|
<div class="refsect3">
|
2442
|
-
<a name="
|
2443
|
-
<p> <a href="
|
2444
|
-
filtering, <a href="
|
2381
|
+
<a name="PangoAttrFilterFunc.returns"></a><h4>Returns</h4>
|
2382
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the attribute should be selected for
|
2383
|
+
filtering, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
2445
2384
|
</div>
|
2446
2385
|
</div>
|
2447
2386
|
<hr>
|
@@ -2453,7 +2392,7 @@ pango_attr_list_get_iterator (<em class="parameter"><code><a class="link" href="
|
|
2453
2392
|
<em class="parameter"><code>list</code></em>
|
2454
2393
|
must not be modified until this iterator is freed.</p>
|
2455
2394
|
<div class="refsect3">
|
2456
|
-
<a name="
|
2395
|
+
<a name="pango-attr-list-get-iterator.parameters"></a><h4>Parameters</h4>
|
2457
2396
|
<div class="informaltable"><table width="100%" border="0">
|
2458
2397
|
<colgroup>
|
2459
2398
|
<col width="150px" class="parameters_name">
|
@@ -2468,7 +2407,7 @@ pango_attr_list_get_iterator (<em class="parameter"><code><a class="link" href="
|
|
2468
2407
|
</table></div>
|
2469
2408
|
</div>
|
2470
2409
|
<div class="refsect3">
|
2471
|
-
<a name="
|
2410
|
+
<a name="pango-attr-list-get-iterator.returns"></a><h4>Returns</h4>
|
2472
2411
|
<p> the newly allocated <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>, which should
|
2473
2412
|
be freed with <a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-destroy" title="pango_attr_iterator_destroy ()"><code class="function">pango_attr_iterator_destroy()</code></a>. </p>
|
2474
2413
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -2481,7 +2420,7 @@ be freed with <a class="link" href="pango-Text-Attributes.html#pango-attr-iterat
|
|
2481
2420
|
pango_attr_iterator_copy (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);</pre>
|
2482
2421
|
<p>Copy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a></p>
|
2483
2422
|
<div class="refsect3">
|
2484
|
-
<a name="
|
2423
|
+
<a name="pango-attr-iterator-copy.parameters"></a><h4>Parameters</h4>
|
2485
2424
|
<div class="informaltable"><table width="100%" border="0">
|
2486
2425
|
<colgroup>
|
2487
2426
|
<col width="150px" class="parameters_name">
|
@@ -2496,7 +2435,7 @@ pango_attr_iterator_copy (<em class="parameter"><code><a class="link" href="pang
|
|
2496
2435
|
</table></div>
|
2497
2436
|
</div>
|
2498
2437
|
<div class="refsect3">
|
2499
|
-
<a name="
|
2438
|
+
<a name="pango-attr-iterator-copy.returns"></a><h4>Returns</h4>
|
2500
2439
|
<p> the newly allocated
|
2501
2440
|
<a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a>, which should be freed with
|
2502
2441
|
<a class="link" href="pango-Text-Attributes.html#pango-attr-iterator-destroy" title="pango_attr_iterator_destroy ()"><code class="function">pango_attr_iterator_destroy()</code></a>. </p>
|
@@ -2506,11 +2445,11 @@ pango_attr_iterator_copy (<em class="parameter"><code><a class="link" href="pang
|
|
2506
2445
|
<hr>
|
2507
2446
|
<div class="refsect2">
|
2508
2447
|
<a name="pango-attr-iterator-next"></a><h3>pango_attr_iterator_next ()</h3>
|
2509
|
-
<pre class="programlisting"><a href="
|
2448
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2510
2449
|
pango_attr_iterator_next (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);</pre>
|
2511
2450
|
<p>Advance the iterator until the next change of style.</p>
|
2512
2451
|
<div class="refsect3">
|
2513
|
-
<a name="
|
2452
|
+
<a name="pango-attr-iterator-next.parameters"></a><h4>Parameters</h4>
|
2514
2453
|
<div class="informaltable"><table width="100%" border="0">
|
2515
2454
|
<colgroup>
|
2516
2455
|
<col width="150px" class="parameters_name">
|
@@ -2525,8 +2464,8 @@ pango_attr_iterator_next (<em class="parameter"><code><a class="link" href="pang
|
|
2525
2464
|
</table></div>
|
2526
2465
|
</div>
|
2527
2466
|
<div class="refsect3">
|
2528
|
-
<a name="
|
2529
|
-
<p> <a href="
|
2467
|
+
<a name="pango-attr-iterator-next.returns"></a><h4>Returns</h4>
|
2468
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the iterator is at the end of the list, otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a></p>
|
2530
2469
|
</div>
|
2531
2470
|
</div>
|
2532
2471
|
<hr>
|
@@ -2534,15 +2473,15 @@ pango_attr_iterator_next (<em class="parameter"><code><a class="link" href="pang
|
|
2534
2473
|
<a name="pango-attr-iterator-range"></a><h3>pango_attr_iterator_range ()</h3>
|
2535
2474
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2536
2475
|
pango_attr_iterator_range (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
2537
|
-
<em class="parameter"><code><a href="
|
2538
|
-
<em class="parameter"><code><a href="
|
2476
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *start</code></em>,
|
2477
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *end</code></em>);</pre>
|
2539
2478
|
<p>Get the range of the current segment. Note that the
|
2540
2479
|
stored return values are signed, not unsigned like
|
2541
2480
|
the values in <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>. To deal with this API
|
2542
2481
|
oversight, stored return values that wouldn't fit into
|
2543
|
-
a signed integer are clamped to <a href="
|
2482
|
+
a signed integer are clamped to <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#G-MAXINT:CAPS"><code class="literal">G_MAXINT</code></a>.</p>
|
2544
2483
|
<div class="refsect3">
|
2545
|
-
<a name="
|
2484
|
+
<a name="pango-attr-iterator-range.parameters"></a><h4>Parameters</h4>
|
2546
2485
|
<div class="informaltable"><table width="100%" border="0">
|
2547
2486
|
<colgroup>
|
2548
2487
|
<col width="150px" class="parameters_name">
|
@@ -2580,7 +2519,7 @@ location. When multiple attributes of the same type overlap,
|
|
2580
2519
|
the attribute whose range starts closest to the current location
|
2581
2520
|
is used.</p>
|
2582
2521
|
<div class="refsect3">
|
2583
|
-
<a name="
|
2522
|
+
<a name="pango-attr-iterator-get.parameters"></a><h4>Parameters</h4>
|
2584
2523
|
<div class="informaltable"><table width="100%" border="0">
|
2585
2524
|
<colgroup>
|
2586
2525
|
<col width="150px" class="parameters_name">
|
@@ -2602,9 +2541,9 @@ is used.</p>
|
|
2602
2541
|
</table></div>
|
2603
2542
|
</div>
|
2604
2543
|
<div class="refsect3">
|
2605
|
-
<a name="
|
2544
|
+
<a name="pango-attr-iterator-get.returns"></a><h4>Returns</h4>
|
2606
2545
|
<p> the current attribute of the given type,
|
2607
|
-
or <a href="
|
2546
|
+
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no attribute of that type applies to the
|
2608
2547
|
current location. </p>
|
2609
2548
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
2610
2549
|
</div>
|
@@ -2616,10 +2555,10 @@ current location. </p>
|
|
2616
2555
|
pango_attr_iterator_get_font (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>,
|
2617
2556
|
<em class="parameter"><code><a class="link" href="pango-Fonts.html#PangoFontDescription"><span class="type">PangoFontDescription</span></a> *desc</code></em>,
|
2618
2557
|
<em class="parameter"><code><a class="link" href="pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a> **language</code></em>,
|
2619
|
-
<em class="parameter"><code><a href="
|
2558
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> **extra_attrs</code></em>);</pre>
|
2620
2559
|
<p>Get the font and other attributes at the current iterator position.</p>
|
2621
2560
|
<div class="refsect3">
|
2622
|
-
<a name="
|
2561
|
+
<a name="pango-attr-iterator-get-font.parameters"></a><h4>Parameters</h4>
|
2623
2562
|
<div class="informaltable"><table width="100%" border="0">
|
2624
2563
|
<colgroup>
|
2625
2564
|
<col width="150px" class="parameters_name">
|
@@ -2644,13 +2583,13 @@ so if you plan to keep it around, you must call:
|
|
2644
2583
|
</tr>
|
2645
2584
|
<tr>
|
2646
2585
|
<td class="parameter_name"><p>language</p></td>
|
2647
|
-
<td class="parameter_description"><p> if non-<a href="
|
2586
|
+
<td class="parameter_description"><p> if non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, location to store language tag for item, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2648
2587
|
if none is found. </p></td>
|
2649
2588
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2650
2589
|
</tr>
|
2651
2590
|
<tr>
|
2652
2591
|
<td class="parameter_name"><p>extra_attrs</p></td>
|
2653
|
-
<td class="parameter_description"><p> if non-<a href="
|
2592
|
+
<td class="parameter_description"><p> if non-<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
2654
2593
|
location in which to store a list of non-font
|
2655
2594
|
attributes at the the current position; only the highest priority
|
2656
2595
|
value of each attribute will be added to this list. In order
|
@@ -2665,12 +2604,12 @@ each member. </p></td>
|
|
2665
2604
|
<hr>
|
2666
2605
|
<div class="refsect2">
|
2667
2606
|
<a name="pango-attr-iterator-get-attrs"></a><h3>pango_attr_iterator_get_attrs ()</h3>
|
2668
|
-
<pre class="programlisting"><a href="
|
2607
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
2669
2608
|
pango_attr_iterator_get_attrs (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);</pre>
|
2670
2609
|
<p>Gets a list of all attributes at the current position of the
|
2671
2610
|
iterator.</p>
|
2672
2611
|
<div class="refsect3">
|
2673
|
-
<a name="
|
2612
|
+
<a name="pango-attr-iterator-get-attrs.parameters"></a><h4>Parameters</h4>
|
2674
2613
|
<div class="informaltable"><table width="100%" border="0">
|
2675
2614
|
<colgroup>
|
2676
2615
|
<col width="150px" class="parameters_name">
|
@@ -2685,11 +2624,11 @@ iterator.</p>
|
|
2685
2624
|
</table></div>
|
2686
2625
|
</div>
|
2687
2626
|
<div class="refsect3">
|
2688
|
-
<a name="
|
2627
|
+
<a name="pango-attr-iterator-get-attrs.returns"></a><h4>Returns</h4>
|
2689
2628
|
<p> a list of
|
2690
2629
|
all attributes for the current range.
|
2691
2630
|
To free this value, call <a class="link" href="pango-Text-Attributes.html#pango-attribute-destroy" title="pango_attribute_destroy ()"><code class="function">pango_attribute_destroy()</code></a> on
|
2692
|
-
each value and <a href="
|
2631
|
+
each value and <a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a> on the list. </p>
|
2693
2632
|
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Pango.Attribute][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2694
2633
|
</div>
|
2695
2634
|
<p class="since">Since: <a class="link" href="api-index-1-2.html#api-index-1.2">1.2</a></p>
|
@@ -2701,7 +2640,7 @@ each value and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share
|
|
2701
2640
|
pango_attr_iterator_destroy (<em class="parameter"><code><a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> *iterator</code></em>);</pre>
|
2702
2641
|
<p>Destroy a <a class="link" href="pango-Text-Attributes.html#PangoAttrIterator" title="PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> and free all associated memory.</p>
|
2703
2642
|
<div class="refsect3">
|
2704
|
-
<a name="
|
2643
|
+
<a name="pango-attr-iterator-destroy.parameters"></a><h4>Parameters</h4>
|
2705
2644
|
<div class="informaltable"><table width="100%" border="0">
|
2706
2645
|
<colgroup>
|
2707
2646
|
<col width="150px" class="parameters_name">
|
@@ -2728,7 +2667,7 @@ for custom attributes using <a class="link" href="pango-Text-Attributes.html#pan
|
|
2728
2667
|
values are given below. The type of structure used to store the
|
2729
2668
|
attribute is listed in parentheses after the description.</p>
|
2730
2669
|
<div class="refsect3">
|
2731
|
-
<a name="
|
2670
|
+
<a name="PangoAttrType.members"></a><h4>Members</h4>
|
2732
2671
|
<div class="informaltable"><table width="100%" border="0">
|
2733
2672
|
<colgroup>
|
2734
2673
|
<col width="300px" class="enum_members_name">
|
@@ -2924,6 +2863,12 @@ attribute is listed in parentheses after the description.</p>
|
|
2924
2863
|
</div>
|
2925
2864
|
<hr>
|
2926
2865
|
<div class="refsect2">
|
2866
|
+
<a name="PANGO-TYPE-ATTR-TYPE:CAPS"></a><h3>PANGO_TYPE_ATTR_TYPE</h3>
|
2867
|
+
<pre class="programlisting">#define PANGO_TYPE_ATTR_TYPE (pango_attr_type_get_type ())
|
2868
|
+
</pre>
|
2869
|
+
</div>
|
2870
|
+
<hr>
|
2871
|
+
<div class="refsect2">
|
2927
2872
|
<a name="PangoAttrClass"></a><h3>struct PangoAttrClass</h3>
|
2928
2873
|
<pre class="programlisting">struct PangoAttrClass {
|
2929
2874
|
PangoAttrType type;
|
@@ -2937,7 +2882,7 @@ a particular type of attribute. The functions in this structure should
|
|
2937
2882
|
not be called directly. Instead, one should use the wrapper functions
|
2938
2883
|
provided for <a class="link" href="pango-Text-Attributes.html#PangoAttribute" title="struct PangoAttribute"><span class="type">PangoAttribute</span></a>.</p>
|
2939
2884
|
<div class="refsect3">
|
2940
|
-
<a name="
|
2885
|
+
<a name="PangoAttrClass.members"></a><h4>Members</h4>
|
2941
2886
|
<div class="informaltable"><table width="100%" border="0">
|
2942
2887
|
<colgroup>
|
2943
2888
|
<col width="300px" class="struct_members_name">
|
@@ -2983,9 +2928,9 @@ attributes. Particular types of attributes include this structure
|
|
2983
2928
|
as their initial portion. The common portion of the attribute holds
|
2984
2929
|
the range to which the value in the type-specific part of the attribute
|
2985
2930
|
applies and should be initialized using <a class="link" href="pango-Text-Attributes.html#pango-attribute-init" title="pango_attribute_init ()"><code class="function">pango_attribute_init()</code></a>.
|
2986
|
-
By default an attribute will have an all-inclusive range of [0,<a href="
|
2931
|
+
By default an attribute will have an all-inclusive range of [0,<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#G-MAXUINT:CAPS"><code class="literal">G_MAXUINT</code></a>].</p>
|
2987
2932
|
<div class="refsect3">
|
2988
|
-
<a name="
|
2933
|
+
<a name="PangoAttribute.members"></a><h4>Members</h4>
|
2989
2934
|
<div class="informaltable"><table width="100%" border="0">
|
2990
2935
|
<colgroup>
|
2991
2936
|
<col width="300px" class="struct_members_name">
|
@@ -2999,12 +2944,12 @@ By default an attribute will have an all-inclusive range of [0,<a href="/home/va
|
|
2999
2944
|
<td class="struct_member_annotations"> </td>
|
3000
2945
|
</tr>
|
3001
2946
|
<tr>
|
3002
|
-
<td class="struct_member_name"><p><a href="
|
2947
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoAttribute.start-index"></a>start_index</code></em>;</p></td>
|
3003
2948
|
<td class="struct_member_description"><p>the start index of the range (in bytes).</p></td>
|
3004
2949
|
<td class="struct_member_annotations"> </td>
|
3005
2950
|
</tr>
|
3006
2951
|
<tr>
|
3007
|
-
<td class="struct_member_name"><p><a href="
|
2952
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoAttribute.end-index"></a>end_index</code></em>;</p></td>
|
3008
2953
|
<td class="struct_member_description"><p>end index of the range (in bytes). The character at this index
|
3009
2954
|
is not included in the range.</p></td>
|
3010
2955
|
<td class="struct_member_annotations"> </td>
|
@@ -3042,7 +2987,7 @@ such that the attribute covers to the end of the text.</p>
|
|
3042
2987
|
<p>The <a class="link" href="pango-Text-Attributes.html#PangoAttrString" title="struct PangoAttrString"><span class="type">PangoAttrString</span></a> structure is used to represent attributes with
|
3043
2988
|
a string value.</p>
|
3044
2989
|
<div class="refsect3">
|
3045
|
-
<a name="
|
2990
|
+
<a name="PangoAttrString.members"></a><h4>Members</h4>
|
3046
2991
|
<div class="informaltable"><table width="100%" border="0">
|
3047
2992
|
<colgroup>
|
3048
2993
|
<col width="300px" class="struct_members_name">
|
@@ -3075,7 +3020,7 @@ a string value.</p>
|
|
3075
3020
|
<p>The <a class="link" href="pango-Text-Attributes.html#PangoAttrLanguage" title="struct PangoAttrLanguage"><span class="type">PangoAttrLanguage</span></a> structure is used to represent attributes that
|
3076
3021
|
are languages.</p>
|
3077
3022
|
<div class="refsect3">
|
3078
|
-
<a name="
|
3023
|
+
<a name="PangoAttrLanguage.members"></a><h4>Members</h4>
|
3079
3024
|
<div class="informaltable"><table width="100%" border="0">
|
3080
3025
|
<colgroup>
|
3081
3026
|
<col width="300px" class="struct_members_name">
|
@@ -3108,7 +3053,7 @@ are languages.</p>
|
|
3108
3053
|
<p>The <a class="link" href="pango-Text-Attributes.html#PangoAttrColor" title="struct PangoAttrColor"><span class="type">PangoAttrColor</span></a> structure is used to represent attributes that
|
3109
3054
|
are colors.</p>
|
3110
3055
|
<div class="refsect3">
|
3111
|
-
<a name="
|
3056
|
+
<a name="PangoAttrColor.members"></a><h4>Members</h4>
|
3112
3057
|
<div class="informaltable"><table width="100%" border="0">
|
3113
3058
|
<colgroup>
|
3114
3059
|
<col width="300px" class="struct_members_name">
|
@@ -3141,7 +3086,7 @@ are colors.</p>
|
|
3141
3086
|
<p>The <a class="link" href="pango-Text-Attributes.html#PangoAttrInt" title="struct PangoAttrInt"><span class="type">PangoAttrInt</span></a> structure is used to represent attributes with
|
3142
3087
|
an integer or enumeration value.</p>
|
3143
3088
|
<div class="refsect3">
|
3144
|
-
<a name="
|
3089
|
+
<a name="PangoAttrInt.members"></a><h4>Members</h4>
|
3145
3090
|
<div class="informaltable"><table width="100%" border="0">
|
3146
3091
|
<colgroup>
|
3147
3092
|
<col width="300px" class="struct_members_name">
|
@@ -3174,7 +3119,7 @@ an integer or enumeration value.</p>
|
|
3174
3119
|
<p>The <a class="link" href="pango-Text-Attributes.html#PangoAttrFloat" title="struct PangoAttrFloat"><span class="type">PangoAttrFloat</span></a> structure is used to represent attributes with
|
3175
3120
|
a float or double value.</p>
|
3176
3121
|
<div class="refsect3">
|
3177
|
-
<a name="
|
3122
|
+
<a name="PangoAttrFloat.members"></a><h4>Members</h4>
|
3178
3123
|
<div class="informaltable"><table width="100%" border="0">
|
3179
3124
|
<colgroup>
|
3180
3125
|
<col width="300px" class="struct_members_name">
|
@@ -3207,7 +3152,7 @@ a float or double value.</p>
|
|
3207
3152
|
<p>The <a class="link" href="pango-Text-Attributes.html#PangoAttrFontDesc" title="struct PangoAttrFontDesc"><span class="type">PangoAttrFontDesc</span></a> structure is used to store an attribute that
|
3208
3153
|
sets all aspects of the font description at once.</p>
|
3209
3154
|
<div class="refsect3">
|
3210
|
-
<a name="
|
3155
|
+
<a name="PangoAttrFontDesc.members"></a><h4>Members</h4>
|
3211
3156
|
<div class="informaltable"><table width="100%" border="0">
|
3212
3157
|
<colgroup>
|
3213
3158
|
<col width="300px" class="struct_members_name">
|
@@ -3245,7 +3190,7 @@ sets all aspects of the font description at once.</p>
|
|
3245
3190
|
<p>The <a class="link" href="pango-Text-Attributes.html#PangoAttrShape" title="struct PangoAttrShape"><span class="type">PangoAttrShape</span></a> structure is used to represent attributes which
|
3246
3191
|
impose shape restrictions.</p>
|
3247
3192
|
<div class="refsect3">
|
3248
|
-
<a name="
|
3193
|
+
<a name="PangoAttrShape.members"></a><h4>Members</h4>
|
3249
3194
|
<div class="informaltable"><table width="100%" border="0">
|
3250
3195
|
<colgroup>
|
3251
3196
|
<col width="300px" class="struct_members_name">
|
@@ -3269,7 +3214,7 @@ impose shape restrictions.</p>
|
|
3269
3214
|
<td class="struct_member_annotations"> </td>
|
3270
3215
|
</tr>
|
3271
3216
|
<tr>
|
3272
|
-
<td class="struct_member_name"><p><a href="
|
3217
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="PangoAttrShape.data"></a>data</code></em>;</p></td>
|
3273
3218
|
<td class="struct_member_description"><p>user data set (see <a class="link" href="pango-Text-Attributes.html#pango-attr-shape-new-with-data" title="pango_attr_shape_new_with_data ()"><code class="function">pango_attr_shape_new_with_data()</code></a>)</p></td>
|
3274
3219
|
<td class="struct_member_annotations"> </td>
|
3275
3220
|
</tr>
|
@@ -3279,7 +3224,7 @@ impose shape restrictions.</p>
|
|
3279
3224
|
<td class="struct_member_annotations"> </td>
|
3280
3225
|
</tr>
|
3281
3226
|
<tr>
|
3282
|
-
<td class="struct_member_name"><p><a href="
|
3227
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> <em class="structfield"><code><a name="PangoAttrShape.destroy-func"></a>destroy_func</code></em>;</p></td>
|
3283
3228
|
<td class="struct_member_description"><p>destroy function for the user data</p></td>
|
3284
3229
|
<td class="struct_member_annotations"> </td>
|
3285
3230
|
</tr>
|
@@ -3299,7 +3244,7 @@ impose shape restrictions.</p>
|
|
3299
3244
|
<p>The <a class="link" href="pango-Text-Attributes.html#PangoAttrSize" title="struct PangoAttrSize"><span class="type">PangoAttrSize</span></a> structure is used to represent attributes which
|
3300
3245
|
set font size.</p>
|
3301
3246
|
<div class="refsect3">
|
3302
|
-
<a name="
|
3247
|
+
<a name="PangoAttrSize.members"></a><h4>Members</h4>
|
3303
3248
|
<div class="informaltable"><table width="100%" border="0">
|
3304
3249
|
<colgroup>
|
3305
3250
|
<col width="300px" class="struct_members_name">
|
@@ -3319,11 +3264,11 @@ set font size.</p>
|
|
3319
3264
|
<td class="struct_member_annotations"> </td>
|
3320
3265
|
</tr>
|
3321
3266
|
<tr>
|
3322
|
-
<td class="struct_member_name"><p><a href="
|
3267
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="PangoAttrSize.absolute"></a>absolute</code></em> : 1;</p></td>
|
3323
3268
|
<td class="struct_member_description"><p>whether the font size is in device units or points.
|
3324
3269
|
This field is only present for compatibility with Pango-1.8.0
|
3325
3270
|
(<a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-ABSOLUTE-SIZE:CAPS"><code class="literal">PANGO_ATTR_ABSOLUTE_SIZE</code></a> was added in 1.8.1); and always will
|
3326
|
-
be <a href="
|
3271
|
+
be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-SIZE:CAPS"><code class="literal">PANGO_ATTR_SIZE</code></a> and <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for <a class="link" href="pango-Text-Attributes.html#PANGO-ATTR-ABSOLUTE-SIZE:CAPS"><code class="literal">PANGO_ATTR_ABSOLUTE_SIZE</code></a>.</p></td>
|
3327
3272
|
<td class="struct_member_annotations"> </td>
|
3328
3273
|
</tr>
|
3329
3274
|
</tbody>
|
@@ -3341,7 +3286,7 @@ be <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/htm
|
|
3341
3286
|
<p>The <a class="link" href="pango-Text-Attributes.html#PangoAttrFontFeatures" title="struct PangoAttrFontFeatures"><span class="type">PangoAttrFontFeatures</span></a> structure is used to represent OpenType
|
3342
3287
|
font features as an attribute.</p>
|
3343
3288
|
<div class="refsect3">
|
3344
|
-
<a name="
|
3289
|
+
<a name="PangoAttrFontFeatures.members"></a><h4>Members</h4>
|
3345
3290
|
<div class="informaltable"><table width="100%" border="0">
|
3346
3291
|
<colgroup>
|
3347
3292
|
<col width="300px" class="struct_members_name">
|
@@ -3355,7 +3300,7 @@ font features as an attribute.</p>
|
|
3355
3300
|
<td class="struct_member_annotations"> </td>
|
3356
3301
|
</tr>
|
3357
3302
|
<tr>
|
3358
|
-
<td class="struct_member_name"><p><a href="
|
3303
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="PangoAttrFontFeatures.features"></a>features</code></em>;</p></td>
|
3359
3304
|
<td class="struct_member_description"><p>the featues, as a string in CSS syntax</p></td>
|
3360
3305
|
<td class="struct_member_annotations"> </td>
|
3361
3306
|
</tr>
|
@@ -3371,7 +3316,7 @@ font features as an attribute.</p>
|
|
3371
3316
|
whether text should be underlined, and if so, the type
|
3372
3317
|
of underlining.</p>
|
3373
3318
|
<div class="refsect3">
|
3374
|
-
<a name="
|
3319
|
+
<a name="PangoUnderline.members"></a><h4>Members</h4>
|
3375
3320
|
<div class="informaltable"><table width="100%" border="0">
|
3376
3321
|
<colgroup>
|
3377
3322
|
<col width="300px" class="enum_members_name">
|
@@ -3429,6 +3374,61 @@ be used. This type of underlining is available since Pango 1.4.</p>
|
|
3429
3374
|
</div>
|
3430
3375
|
<hr>
|
3431
3376
|
<div class="refsect2">
|
3377
|
+
<a name="PANGO-TYPE-UNDERLINE:CAPS"></a><h3>PANGO_TYPE_UNDERLINE</h3>
|
3378
|
+
<pre class="programlisting">#define PANGO_TYPE_UNDERLINE (pango_underline_get_type ())
|
3379
|
+
</pre>
|
3380
|
+
</div>
|
3381
|
+
<hr>
|
3382
|
+
<div class="refsect2">
|
3383
|
+
<a name="PANGO-SCALE-XX-SMALL:CAPS"></a><h3>PANGO_SCALE_XX_SMALL</h3>
|
3384
|
+
<pre class="programlisting">#define PANGO_SCALE_XX_SMALL ((double)0.5787037037037)
|
3385
|
+
</pre>
|
3386
|
+
<p>The scale factor for three shrinking steps (1 / (1.2 * 1.2 * 1.2)).</p>
|
3387
|
+
</div>
|
3388
|
+
<hr>
|
3389
|
+
<div class="refsect2">
|
3390
|
+
<a name="PANGO-SCALE-X-SMALL:CAPS"></a><h3>PANGO_SCALE_X_SMALL</h3>
|
3391
|
+
<pre class="programlisting">#define PANGO_SCALE_X_SMALL ((double)0.6444444444444)
|
3392
|
+
</pre>
|
3393
|
+
<p>The scale factor for two shrinking steps (1 / (1.2 * 1.2)).</p>
|
3394
|
+
</div>
|
3395
|
+
<hr>
|
3396
|
+
<div class="refsect2">
|
3397
|
+
<a name="PANGO-SCALE-SMALL:CAPS"></a><h3>PANGO_SCALE_SMALL</h3>
|
3398
|
+
<pre class="programlisting">#define PANGO_SCALE_SMALL ((double)0.8333333333333)
|
3399
|
+
</pre>
|
3400
|
+
<p>The scale factor for one shrinking step (1 / 1.2).</p>
|
3401
|
+
</div>
|
3402
|
+
<hr>
|
3403
|
+
<div class="refsect2">
|
3404
|
+
<a name="PANGO-SCALE-MEDIUM:CAPS"></a><h3>PANGO_SCALE_MEDIUM</h3>
|
3405
|
+
<pre class="programlisting">#define PANGO_SCALE_MEDIUM ((double)1.0)
|
3406
|
+
</pre>
|
3407
|
+
<p>The scale factor for normal size (1.0).</p>
|
3408
|
+
</div>
|
3409
|
+
<hr>
|
3410
|
+
<div class="refsect2">
|
3411
|
+
<a name="PANGO-SCALE-LARGE:CAPS"></a><h3>PANGO_SCALE_LARGE</h3>
|
3412
|
+
<pre class="programlisting">#define PANGO_SCALE_LARGE ((double)1.2)
|
3413
|
+
</pre>
|
3414
|
+
<p>The scale factor for one magnification step (1.2).</p>
|
3415
|
+
</div>
|
3416
|
+
<hr>
|
3417
|
+
<div class="refsect2">
|
3418
|
+
<a name="PANGO-SCALE-X-LARGE:CAPS"></a><h3>PANGO_SCALE_X_LARGE</h3>
|
3419
|
+
<pre class="programlisting">#define PANGO_SCALE_X_LARGE ((double)1.4399999999999)
|
3420
|
+
</pre>
|
3421
|
+
<p>The scale factor for two magnification steps (1.2 * 1.2).</p>
|
3422
|
+
</div>
|
3423
|
+
<hr>
|
3424
|
+
<div class="refsect2">
|
3425
|
+
<a name="PANGO-SCALE-XX-LARGE:CAPS"></a><h3>PANGO_SCALE_XX_LARGE</h3>
|
3426
|
+
<pre class="programlisting">#define PANGO_SCALE_XX_LARGE ((double)1.728)
|
3427
|
+
</pre>
|
3428
|
+
<p>The scale factor for three magnification steps (1.2 * 1.2 * 1.2).</p>
|
3429
|
+
</div>
|
3430
|
+
<hr>
|
3431
|
+
<div class="refsect2">
|
3432
3432
|
<a name="PangoColor-struct"></a><h3>struct PangoColor</h3>
|
3433
3433
|
<pre class="programlisting">struct PangoColor {
|
3434
3434
|
guint16 red;
|
@@ -3439,7 +3439,7 @@ be used. This type of underlining is available since Pango 1.4.</p>
|
|
3439
3439
|
<p>The <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a> structure is used to
|
3440
3440
|
represent a color in an uncalibrated RGB color-space.</p>
|
3441
3441
|
<div class="refsect3">
|
3442
|
-
<a name="
|
3442
|
+
<a name="PangoColor.members"></a><h4>Members</h4>
|
3443
3443
|
<div class="informaltable"><table width="100%" border="0">
|
3444
3444
|
<colgroup>
|
3445
3445
|
<col width="300px" class="struct_members_name">
|
@@ -3448,17 +3448,17 @@ represent a color in an uncalibrated RGB color-space.</p>
|
|
3448
3448
|
</colgroup>
|
3449
3449
|
<tbody>
|
3450
3450
|
<tr>
|
3451
|
-
<td class="struct_member_name"><p><a href="
|
3451
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="PangoColor-struct.red"></a>red</code></em>;</p></td>
|
3452
3452
|
<td class="struct_member_description"><p>value of red component</p></td>
|
3453
3453
|
<td class="struct_member_annotations"> </td>
|
3454
3454
|
</tr>
|
3455
3455
|
<tr>
|
3456
|
-
<td class="struct_member_name"><p><a href="
|
3456
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="PangoColor-struct.green"></a>green</code></em>;</p></td>
|
3457
3457
|
<td class="struct_member_description"><p>value of green component</p></td>
|
3458
3458
|
<td class="struct_member_annotations"> </td>
|
3459
3459
|
</tr>
|
3460
3460
|
<tr>
|
3461
|
-
<td class="struct_member_name"><p><a href="
|
3461
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="PangoColor-struct.blue"></a>blue</code></em>;</p></td>
|
3462
3462
|
<td class="struct_member_description"><p>value of blue component</p></td>
|
3463
3463
|
<td class="struct_member_annotations"> </td>
|
3464
3464
|
</tr>
|
@@ -3471,7 +3471,7 @@ represent a color in an uncalibrated RGB color-space.</p>
|
|
3471
3471
|
<a name="PANGO-TYPE-COLOR:CAPS"></a><h3>PANGO_TYPE_COLOR</h3>
|
3472
3472
|
<pre class="programlisting">#define PANGO_TYPE_COLOR pango_color_get_type ()
|
3473
3473
|
</pre>
|
3474
|
-
<p>The <a href="
|
3474
|
+
<p>The <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> type for <a class="link" href="pango-Text-Attributes.html#PangoColor"><span class="type">PangoColor</span></a>.</p>
|
3475
3475
|
</div>
|
3476
3476
|
<hr>
|
3477
3477
|
<div class="refsect2">
|
@@ -3492,7 +3492,7 @@ for more than one paragraph of text.</p>
|
|
3492
3492
|
<a name="PANGO-TYPE-ATTR-LIST:CAPS"></a><h3>PANGO_TYPE_ATTR_LIST</h3>
|
3493
3493
|
<pre class="programlisting">#define PANGO_TYPE_ATTR_LIST pango_attr_list_get_type ()
|
3494
3494
|
</pre>
|
3495
|
-
<p>The <a href="
|
3495
|
+
<p>The <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> type for <a class="link" href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>.</p>
|
3496
3496
|
</div>
|
3497
3497
|
<hr>
|
3498
3498
|
<div class="refsect2">
|
@@ -3509,6 +3509,6 @@ attributes currently in effect can be queried.</p>
|
|
3509
3509
|
</div>
|
3510
3510
|
</div>
|
3511
3511
|
<div class="footer">
|
3512
|
-
<hr>Generated by GTK-Doc V1.
|
3512
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
3513
3513
|
</body>
|
3514
3514
|
</html>
|