~ubuntu-branches/ubuntu/feisty/pango1.0/feisty

« back to all changes in this revision

Viewing changes to docs/html/pango-Text-Attributes.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-04-10 00:59:24 UTC
  • mfrom: (20.1.23 feisty)
  • Revision ID: james.westby@ubuntu.com-20070410005924-bbuu8vi6fw9f1fn1
Tags: 1.16.2-0ubuntu1
* New upstream version
  - Fixed various bug in the OpenType Layout code
  - Improved documentation
  - Improved ATSUI backend
  - Misc build system fixes
  - Bugs fixed in this release:
    - pangowin32-fontmap.c:using function without prototype
    - Don't create coverage every time it's asked for

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>Text Attributes</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" href="index.html" title="Pango Reference Manual">
8
8
<link rel="up" href="pango.html" title="Basic Pango Interfaces">
9
9
<link rel="prev" href="pango-Fonts.html" title="Fonts">
35
35
<th width="100%" align="center">Pango Reference Manual</th>
36
36
<td><a accesskey="n" href="pango-Tab-Stops.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
37
37
</tr>
38
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3046761" class="shortcut">Top</a>
 
38
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2636122" class="shortcut">Top</a>
39
39
                  &#160;|&#160;
40
 
                  <a href="#id3048547" class="shortcut">Description</a></nobr></td></tr>
 
40
                  <a href="#id2637908" class="shortcut">Description</a></nobr></td></tr>
41
41
</table>
42
42
<div class="refentry" lang="en">
43
43
<a name="pango-Text-Attributes"></a><div class="titlepage"></div>
44
44
<div class="refnamediv"><table width="100%"><tr>
45
45
<td valign="top">
46
46
<h2>
47
 
<a name="id3046761"></a><span class="refentrytitle">Text Attributes</span>
 
47
<a name="id2636122"></a><span class="refentrytitle">Text Attributes</span>
48
48
</h2>
49
49
<p>Text Attributes &#8212; Font and other attributes for annotating text</p>
50
50
</td>
262
262
</pre>
263
263
</div>
264
264
<div class="refsect1" lang="en">
265
 
<a name="id3048547"></a><h2>Description</h2>
 
265
<a name="id2637908"></a><h2>Description</h2>
266
266
<p>
267
267
Attributed text is used in a number of places in Pango. It
268
268
is used as the input to the itemization process and also when
272
272
</p>
273
273
</div>
274
274
<div class="refsect1" lang="en">
275
 
<a name="id3048574"></a><h2>Details</h2>
 
275
<a name="id2637935"></a><h2>Details</h2>
276
276
<div class="refsect2" lang="en">
277
 
<a name="id3048584"></a><h3>
 
277
<a name="id2637945"></a><h3>
278
278
<a name="PangoAttrType"></a>enum PangoAttrType</h3>
279
 
<a class="indexterm" name="id3048596"></a><pre class="programlisting">typedef enum
 
279
<a class="indexterm" name="id2637958"></a><pre class="programlisting">typedef enum
280
280
{
281
281
  PANGO_ATTR_INVALID,           /* 0 is an invalid attribute type */
282
282
  PANGO_ATTR_LANGUAGE,          /* PangoAttrLanguage */
435
435
</div>
436
436
<hr>
437
437
<div class="refsect2" lang="en">
438
 
<a name="id3049382"></a><h3>
 
438
<a name="id2638743"></a><h3>
439
439
<a name="PANGO-TYPE-ATTR-TYPE:CAPS"></a>PANGO_TYPE_ATTR_TYPE</h3>
440
 
<a class="indexterm" name="id3049395"></a><pre class="programlisting">#define PANGO_TYPE_ATTR_TYPE (pango_attr_type_get_type())
 
440
<a class="indexterm" name="id2638757"></a><pre class="programlisting">#define PANGO_TYPE_ATTR_TYPE (pango_attr_type_get_type())
441
441
</pre>
442
442
<p>
443
443
The <a
447
447
</div>
448
448
<hr>
449
449
<div class="refsect2" lang="en">
450
 
<a name="id3049427"></a><h3>
 
450
<a name="id2638789"></a><h3>
451
451
<a name="PangoAttrClass"></a>PangoAttrClass</h3>
452
 
<a class="indexterm" name="id3049440"></a><pre class="programlisting">typedef struct {
 
452
<a class="indexterm" name="id2638801"></a><pre class="programlisting">typedef struct {
453
453
  PangoAttrType type;
454
454
  PangoAttribute * (*copy) (const PangoAttribute *attr);
455
455
  void             (*destroy) (PangoAttribute *attr);
491
491
</div>
492
492
<hr>
493
493
<div class="refsect2" lang="en">
494
 
<a name="id3049579"></a><h3>
 
494
<a name="id2638941"></a><h3>
495
495
<a name="PangoAttribute"></a>PangoAttribute</h3>
496
 
<a class="indexterm" name="id3049592"></a><pre class="programlisting">typedef struct {
 
496
<a class="indexterm" name="id2638953"></a><pre class="programlisting">typedef struct {
497
497
  const PangoAttrClass *klass;
498
498
  guint start_index;    /* in bytes */
499
499
  guint end_index;      /* in bytes. The character at this index is not included */
535
535
</div>
536
536
<hr>
537
537
<div class="refsect2" lang="en">
538
 
<a name="id3049692"></a><h3>
 
538
<a name="id2639054"></a><h3>
539
539
<a name="PangoAttrString"></a>PangoAttrString</h3>
540
 
<a class="indexterm" name="id3049705"></a><pre class="programlisting">typedef struct {
 
540
<a class="indexterm" name="id2639066"></a><pre class="programlisting">typedef struct {
541
541
  PangoAttribute attr;
542
542
  char *value;
543
543
} PangoAttrString;
565
565
</div>
566
566
<hr>
567
567
<div class="refsect2" lang="en">
568
 
<a name="id3049777"></a><h3>
 
568
<a name="id2639138"></a><h3>
569
569
<a name="PangoAttrLanguage"></a>PangoAttrLanguage</h3>
570
 
<a class="indexterm" name="id3049790"></a><pre class="programlisting">typedef struct {
 
570
<a class="indexterm" name="id2639151"></a><pre class="programlisting">typedef struct {
571
571
  PangoAttribute attr;
572
572
  PangoLanguage *value;
573
573
} PangoAttrLanguage;
595
595
</div>
596
596
<hr>
597
597
<div class="refsect2" lang="en">
598
 
<a name="id3049871"></a><h3>
 
598
<a name="id2639232"></a><h3>
599
599
<a name="PangoAttrColor"></a>PangoAttrColor</h3>
600
 
<a class="indexterm" name="id3049883"></a><pre class="programlisting">typedef struct {
 
600
<a class="indexterm" name="id2639245"></a><pre class="programlisting">typedef struct {
601
601
  PangoAttribute attr;
602
602
  PangoColor color;
603
603
} PangoAttrColor;
625
625
</div>
626
626
<hr>
627
627
<div class="refsect2" lang="en">
628
 
<a name="id3049964"></a><h3>
 
628
<a name="id2639325"></a><h3>
629
629
<a name="PangoAttrInt"></a>PangoAttrInt</h3>
630
 
<a class="indexterm" name="id3049976"></a><pre class="programlisting">typedef struct {
 
630
<a class="indexterm" name="id2639338"></a><pre class="programlisting">typedef struct {
631
631
  PangoAttribute attr;
632
632
  int value;
633
633
} PangoAttrInt;
655
655
</div>
656
656
<hr>
657
657
<div class="refsect2" lang="en">
658
 
<a name="id3050048"></a><h3>
 
658
<a name="id2639410"></a><h3>
659
659
<a name="PangoAttrFloat"></a>PangoAttrFloat</h3>
660
 
<a class="indexterm" name="id3050061"></a><pre class="programlisting">typedef struct {
 
660
<a class="indexterm" name="id2639422"></a><pre class="programlisting">typedef struct {
661
661
  PangoAttribute attr;
662
662
  double value;
663
663
} PangoAttrFloat;
685
685
</div>
686
686
<hr>
687
687
<div class="refsect2" lang="en">
688
 
<a name="id3050133"></a><h3>
 
688
<a name="id2639494"></a><h3>
689
689
<a name="PangoAttrFontDesc"></a>PangoAttrFontDesc</h3>
690
 
<a class="indexterm" name="id3050145"></a><pre class="programlisting">typedef struct {
 
690
<a class="indexterm" name="id2639507"></a><pre class="programlisting">typedef struct {
691
691
  PangoAttribute attr;
692
692
  PangoFontDescription *desc;
693
693
} PangoAttrFontDesc;
715
715
</div>
716
716
<hr>
717
717
<div class="refsect2" lang="en">
718
 
<a name="id3050219"></a><h3>
 
718
<a name="id2639581"></a><h3>
719
719
<a name="PangoAttrShape"></a>PangoAttrShape</h3>
720
 
<a class="indexterm" name="id3050232"></a><pre class="programlisting">typedef struct {
 
720
<a class="indexterm" name="id2639593"></a><pre class="programlisting">typedef struct {
721
721
  PangoAttribute attr;
722
722
  PangoRectangle ink_rect;
723
723
  PangoRectangle logical_rect;
774
774
</div>
775
775
<hr>
776
776
<div class="refsect2" lang="en">
777
 
<a name="id3050402"></a><h3>
 
777
<a name="id2639764"></a><h3>
778
778
<a name="PangoAttrSize"></a>PangoAttrSize</h3>
779
 
<a class="indexterm" name="id3050415"></a><pre class="programlisting">typedef struct {
 
779
<a class="indexterm" name="id2639777"></a><pre class="programlisting">typedef struct {
780
780
  PangoAttribute attr;
781
781
  int size;
782
782
  guint absolute : 1;
820
820
</div>
821
821
<hr>
822
822
<div class="refsect2" lang="en">
823
 
<a name="id3050600"></a><h3>
 
823
<a name="id2639961"></a><h3>
824
824
<a name="pango-parse-markup"></a>pango_parse_markup ()</h3>
825
 
<a class="indexterm" name="id3050613"></a><pre class="programlisting"><a
 
825
<a class="indexterm" name="id2639975"></a><pre class="programlisting"><a
826
826
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
827
827
>gboolean</a>    pango_parse_markup              (const char *markup_text,
828
828
                                             int length,
913
913
</div>
914
914
<hr>
915
915
<div class="refsect2" lang="en">
916
 
<a name="id3050953"></a><h3>
 
916
<a name="id2640314"></a><h3>
917
917
<a name="pango-attr-type-register"></a>pango_attr_type_register ()</h3>
918
 
<a class="indexterm" name="id3050966"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttrType">PangoAttrType</a> pango_attr_type_register      (const <a
 
918
<a class="indexterm" name="id2640327"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttrType">PangoAttrType</a> pango_attr_type_register      (const <a
919
919
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
920
920
>gchar</a> *name);</pre>
921
921
<p>
941
941
</div>
942
942
<hr>
943
943
<div class="refsect2" lang="en">
944
 
<a name="id3051027"></a><h3>
 
944
<a name="id2640389"></a><h3>
945
945
<a name="pango-attribute-copy"></a>pango_attribute_copy ()</h3>
946
 
<a class="indexterm" name="id3051040"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attribute_copy        (const <a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attr);</pre>
 
946
<a class="indexterm" name="id2640402"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attribute_copy        (const <a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attr);</pre>
947
947
<p>
948
948
Make a copy of an attribute.</p>
949
949
<p>
968
968
</div>
969
969
<hr>
970
970
<div class="refsect2" lang="en">
971
 
<a name="id3051129"></a><h3>
 
971
<a name="id2640491"></a><h3>
972
972
<a name="pango-attribute-equal"></a>pango_attribute_equal ()</h3>
973
 
<a class="indexterm" name="id3051143"></a><pre class="programlisting"><a
 
973
<a class="indexterm" name="id2640504"></a><pre class="programlisting"><a
974
974
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
975
975
>gboolean</a>    pango_attribute_equal           (const <a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attr1,
976
976
                                             const <a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attr2);</pre>
1006
1006
</div>
1007
1007
<hr>
1008
1008
<div class="refsect2" lang="en">
1009
 
<a name="id3051254"></a><h3>
 
1009
<a name="id2640616"></a><h3>
1010
1010
<a name="pango-attribute-destroy"></a>pango_attribute_destroy ()</h3>
1011
 
<a class="indexterm" name="id3051267"></a><pre class="programlisting">void        pango_attribute_destroy         (<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attr);</pre>
 
1011
<a class="indexterm" name="id2640628"></a><pre class="programlisting">void        pango_attribute_destroy         (<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attr);</pre>
1012
1012
<p>
1013
1013
Destroy a <a href="pango-Text-Attributes.html#PangoAttribute"><span class="type">PangoAttribute</span></a> and free all associated memory.</p>
1014
1014
<p>
1025
1025
</div>
1026
1026
<hr>
1027
1027
<div class="refsect2" lang="en">
1028
 
<a name="id3051334"></a><h3>
 
1028
<a name="id2640695"></a><h3>
1029
1029
<a name="pango-attr-language-new"></a>pango_attr_language_new ()</h3>
1030
 
<a class="indexterm" name="id3051347"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_language_new     (<a href="pango-Text-Attributes.html#PangoLanguage">PangoLanguage</a> *language);</pre>
 
1030
<a class="indexterm" name="id2640708"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_language_new     (<a href="pango-Text-Attributes.html#PangoLanguage">PangoLanguage</a> *language);</pre>
1031
1031
<p>
1032
1032
Create a new language tag attribute.</p>
1033
1033
<p>
1052
1052
</div>
1053
1053
<hr>
1054
1054
<div class="refsect2" lang="en">
1055
 
<a name="id3051428"></a><h3>
 
1055
<a name="id2640790"></a><h3>
1056
1056
<a name="pango-attr-family-new"></a>pango_attr_family_new ()</h3>
1057
 
<a class="indexterm" name="id3051441"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_family_new       (const char *family);</pre>
 
1057
<a class="indexterm" name="id2640802"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_family_new       (const char *family);</pre>
1058
1058
<p>
1059
1059
Create a new font family attribute.</p>
1060
1060
<p>
1079
1079
</div>
1080
1080
<hr>
1081
1081
<div class="refsect2" lang="en">
1082
 
<a name="id3051523"></a><h3>
 
1082
<a name="id2640884"></a><h3>
1083
1083
<a name="pango-attr-style-new"></a>pango_attr_style_new ()</h3>
1084
 
<a class="indexterm" name="id3051536"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_style_new        (<a href="pango-Fonts.html#PangoStyle">PangoStyle</a> style);</pre>
 
1084
<a class="indexterm" name="id2640898"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_style_new        (<a href="pango-Fonts.html#PangoStyle">PangoStyle</a> style);</pre>
1085
1085
<p>
1086
1086
Create a new font slant style attribute.</p>
1087
1087
<p>
1106
1106
</div>
1107
1107
<hr>
1108
1108
<div class="refsect2" lang="en">
1109
 
<a name="id3051617"></a><h3>
 
1109
<a name="id2640979"></a><h3>
1110
1110
<a name="pango-attr-variant-new"></a>pango_attr_variant_new ()</h3>
1111
 
<a class="indexterm" name="id3051630"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_variant_new      (<a href="pango-Fonts.html#PangoVariant">PangoVariant</a> variant);</pre>
 
1111
<a class="indexterm" name="id2640992"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_variant_new      (<a href="pango-Fonts.html#PangoVariant">PangoVariant</a> variant);</pre>
1112
1112
<p>
1113
1113
Create a new font variant attribute (normal or small caps)</p>
1114
1114
<p>
1133
1133
</div>
1134
1134
<hr>
1135
1135
<div class="refsect2" lang="en">
1136
 
<a name="id3051712"></a><h3>
 
1136
<a name="id2641074"></a><h3>
1137
1137
<a name="pango-attr-stretch-new"></a>pango_attr_stretch_new ()</h3>
1138
 
<a class="indexterm" name="id3051726"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_stretch_new      (<a href="pango-Fonts.html#PangoStretch">PangoStretch</a> stretch);</pre>
 
1138
<a class="indexterm" name="id2641087"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_stretch_new      (<a href="pango-Fonts.html#PangoStretch">PangoStretch</a> stretch);</pre>
1139
1139
<p>
1140
1140
Create a new font stretch attribute</p>
1141
1141
<p>
1160
1160
</div>
1161
1161
<hr>
1162
1162
<div class="refsect2" lang="en">
1163
 
<a name="id3051807"></a><h3>
 
1163
<a name="id2641168"></a><h3>
1164
1164
<a name="pango-attr-weight-new"></a>pango_attr_weight_new ()</h3>
1165
 
<a class="indexterm" name="id3051820"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_weight_new       (<a href="pango-Fonts.html#PangoWeight">PangoWeight</a> weight);</pre>
 
1165
<a class="indexterm" name="id2641182"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_weight_new       (<a href="pango-Fonts.html#PangoWeight">PangoWeight</a> weight);</pre>
1166
1166
<p>
1167
1167
Create a new font weight attribute.</p>
1168
1168
<p>
1187
1187
</div>
1188
1188
<hr>
1189
1189
<div class="refsect2" lang="en">
1190
 
<a name="id3051901"></a><h3>
 
1190
<a name="id2641263"></a><h3>
1191
1191
<a name="pango-attr-size-new"></a>pango_attr_size_new ()</h3>
1192
 
<a class="indexterm" name="id3051915"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_size_new         (int size);</pre>
 
1192
<a class="indexterm" name="id2641276"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_size_new         (int size);</pre>
1193
1193
<p>
1194
1194
Create a new font-size attribute in fractional points.</p>
1195
1195
<p>
1214
1214
</div>
1215
1215
<hr>
1216
1216
<div class="refsect2" lang="en">
1217
 
<a name="id3052007"></a><h3>
 
1217
<a name="id2641369"></a><h3>
1218
1218
<a name="pango-attr-size-new-absolute"></a>pango_attr_size_new_absolute ()</h3>
1219
 
<a class="indexterm" name="id3052023"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_size_new_absolute
 
1219
<a class="indexterm" name="id2641385"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_size_new_absolute
1220
1220
                                            (int size);</pre>
1221
1221
<p>
1222
1222
Create a new font-size attribute in device units.</p>
1245
1245
</div>
1246
1246
<hr>
1247
1247
<div class="refsect2" lang="en">
1248
 
<a name="id3052121"></a><h3>
 
1248
<a name="id2641483"></a><h3>
1249
1249
<a name="pango-attr-font-desc-new"></a>pango_attr_font_desc_new ()</h3>
1250
 
<a class="indexterm" name="id3052135"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_font_desc_new    (const <a href="pango-Fonts.html#PangoFontDescription">PangoFontDescription</a> *desc);</pre>
 
1250
<a class="indexterm" name="id2641496"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_font_desc_new    (const <a href="pango-Fonts.html#PangoFontDescription">PangoFontDescription</a> *desc);</pre>
1251
1251
<p>
1252
1252
Create a new font description attribute. This attribute
1253
1253
allows setting family, style, weight, variant, stretch,
1274
1274
</div>
1275
1275
<hr>
1276
1276
<div class="refsect2" lang="en">
1277
 
<a name="id3052218"></a><h3>
 
1277
<a name="id2641580"></a><h3>
1278
1278
<a name="pango-attr-foreground-new"></a>pango_attr_foreground_new ()</h3>
1279
 
<a class="indexterm" name="id3052232"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_foreground_new   (<a
 
1279
<a class="indexterm" name="id2641594"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_foreground_new   (<a
1280
1280
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"
1281
1281
>guint16</a> red,
1282
1282
                                             <a
1319
1319
</div>
1320
1320
<hr>
1321
1321
<div class="refsect2" lang="en">
1322
 
<a name="id3052356"></a><h3>
 
1322
<a name="id2641718"></a><h3>
1323
1323
<a name="pango-attr-background-new"></a>pango_attr_background_new ()</h3>
1324
 
<a class="indexterm" name="id3052370"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_background_new   (<a
 
1324
<a class="indexterm" name="id2641732"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_background_new   (<a
1325
1325
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"
1326
1326
>guint16</a> red,
1327
1327
                                             <a
1364
1364
</div>
1365
1365
<hr>
1366
1366
<div class="refsect2" lang="en">
1367
 
<a name="id3052494"></a><h3>
 
1367
<a name="id2641856"></a><h3>
1368
1368
<a name="pango-attr-strikethrough-new"></a>pango_attr_strikethrough_new ()</h3>
1369
 
<a class="indexterm" name="id3052507"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_strikethrough_new
 
1369
<a class="indexterm" name="id2641869"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_strikethrough_new
1370
1370
                                            (<a
1371
1371
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
1372
1372
>gboolean</a> strikethrough);</pre>
1396
1396
</div>
1397
1397
<hr>
1398
1398
<div class="refsect2" lang="en">
1399
 
<a name="id3052600"></a><h3>
 
1399
<a name="id2641962"></a><h3>
1400
1400
<a name="pango-attr-strikethrough-color-new"></a>pango_attr_strikethrough_color_new ()</h3>
1401
 
<a class="indexterm" name="id3052617"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_strikethrough_color_new
 
1401
<a class="indexterm" name="id2641978"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_strikethrough_color_new
1402
1402
                                            (<a
1403
1403
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"
1404
1404
>guint16</a> red,
1447
1447
</div>
1448
1448
<hr>
1449
1449
<div class="refsect2" lang="en">
1450
 
<a name="id3052748"></a><h3>
 
1450
<a name="id2642109"></a><h3>
1451
1451
<a name="pango-attr-underline-new"></a>pango_attr_underline_new ()</h3>
1452
 
<a class="indexterm" name="id3052761"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_underline_new    (<a href="pango-Text-Attributes.html#PangoUnderline">PangoUnderline</a> underline);</pre>
 
1452
<a class="indexterm" name="id2642123"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_underline_new    (<a href="pango-Text-Attributes.html#PangoUnderline">PangoUnderline</a> underline);</pre>
1453
1453
<p>
1454
1454
Create a new underline-style attribute.</p>
1455
1455
<p>
1474
1474
</div>
1475
1475
<hr>
1476
1476
<div class="refsect2" lang="en">
1477
 
<a name="id3052843"></a><h3>
 
1477
<a name="id2642204"></a><h3>
1478
1478
<a name="pango-attr-underline-color-new"></a>pango_attr_underline_color_new ()</h3>
1479
 
<a class="indexterm" name="id3052859"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_underline_color_new
 
1479
<a class="indexterm" name="id2642220"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_underline_color_new
1480
1480
                                            (<a
1481
1481
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"
1482
1482
>guint16</a> red,
1525
1525
</div>
1526
1526
<hr>
1527
1527
<div class="refsect2" lang="en">
1528
 
<a name="id3052990"></a><h3>
 
1528
<a name="id2642352"></a><h3>
1529
1529
<a name="PangoUnderline"></a>enum PangoUnderline</h3>
1530
 
<a class="indexterm" name="id3053003"></a><pre class="programlisting">typedef enum {
 
1530
<a class="indexterm" name="id2642365"></a><pre class="programlisting">typedef enum {
1531
1531
  PANGO_UNDERLINE_NONE,
1532
1532
  PANGO_UNDERLINE_SINGLE,
1533
1533
  PANGO_UNDERLINE_DOUBLE,
1584
1584
</div>
1585
1585
<hr>
1586
1586
<div class="refsect2" lang="en">
1587
 
<a name="id3053171"></a><h3>
 
1587
<a name="id2642533"></a><h3>
1588
1588
<a name="PANGO-TYPE-UNDERLINE:CAPS"></a>PANGO_TYPE_UNDERLINE</h3>
1589
 
<a class="indexterm" name="id3053185"></a><pre class="programlisting">#define PANGO_TYPE_UNDERLINE (pango_underline_get_type())
 
1589
<a class="indexterm" name="id2642546"></a><pre class="programlisting">#define PANGO_TYPE_UNDERLINE (pango_underline_get_type())
1590
1590
</pre>
1591
1591
<p>
1592
1592
The <a
1596
1596
</div>
1597
1597
<hr>
1598
1598
<div class="refsect2" lang="en">
1599
 
<a name="id3053217"></a><h3>
 
1599
<a name="id2642578"></a><h3>
1600
1600
<a name="pango-attr-shape-new"></a>pango_attr_shape_new ()</h3>
1601
 
<a class="indexterm" name="id3053230"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_shape_new        (const <a href="pango-Glyph-Storage.html#PangoRectangle">PangoRectangle</a> *ink_rect,
 
1601
<a class="indexterm" name="id2642592"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_shape_new        (const <a href="pango-Glyph-Storage.html#PangoRectangle">PangoRectangle</a> *ink_rect,
1602
1602
                                             const <a href="pango-Glyph-Storage.html#PangoRectangle">PangoRectangle</a> *logical_rect);</pre>
1603
1603
<p>
1604
1604
Create a new shape attribute. A shape is used to impose a
1632
1632
</div>
1633
1633
<hr>
1634
1634
<div class="refsect2" lang="en">
1635
 
<a name="id3053346"></a><h3>
 
1635
<a name="id2642708"></a><h3>
1636
1636
<a name="pango-attr-shape-new-with-data"></a>pango_attr_shape_new_with_data ()</h3>
1637
 
<a class="indexterm" name="id3053362"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_shape_new_with_data
 
1637
<a class="indexterm" name="id2642723"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_shape_new_with_data
1638
1638
                                            (const <a href="pango-Glyph-Storage.html#PangoRectangle">PangoRectangle</a> *ink_rect,
1639
1639
                                             const <a href="pango-Glyph-Storage.html#PangoRectangle">PangoRectangle</a> *logical_rect,
1640
1640
                                             <a
1700
1700
</div>
1701
1701
<hr>
1702
1702
<div class="refsect2" lang="en">
1703
 
<a name="id3053591"></a><h3>
 
1703
<a name="id2642952"></a><h3>
1704
1704
<a name="PangoAttrDataCopyFunc"></a>PangoAttrDataCopyFunc ()</h3>
1705
 
<a class="indexterm" name="id3053604"></a><pre class="programlisting"><a
 
1705
<a class="indexterm" name="id2642966"></a><pre class="programlisting"><a
1706
1706
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
1707
1707
>gpointer</a>    (*PangoAttrDataCopyFunc)        (<a
1708
1708
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"
1731
1731
</div>
1732
1732
<hr>
1733
1733
<div class="refsect2" lang="en">
1734
 
<a name="id3053669"></a><h3>
 
1734
<a name="id2643030"></a><h3>
1735
1735
<a name="pango-attr-scale-new"></a>pango_attr_scale_new ()</h3>
1736
 
<a class="indexterm" name="id3053682"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_scale_new        (double scale_factor);</pre>
 
1736
<a class="indexterm" name="id2643043"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_scale_new        (double scale_factor);</pre>
1737
1737
<p>
1738
1738
Create a new font size scale attribute. The base font for the
1739
1739
affected text will have its size multiplied by <em class="parameter"><code>scale_factor</code></em>.</p>
1759
1759
</div>
1760
1760
<hr>
1761
1761
<div class="refsect2" lang="en">
1762
 
<a name="id3053770"></a><h3>
 
1762
<a name="id2643132"></a><h3>
1763
1763
<a name="PANGO-SCALE-XX-SMALL:CAPS"></a>PANGO_SCALE_XX_SMALL</h3>
1764
 
<a class="indexterm" name="id3053783"></a><pre class="programlisting">#define PANGO_SCALE_XX_SMALL ((double)0.5787037037037)
 
1764
<a class="indexterm" name="id2643145"></a><pre class="programlisting">#define PANGO_SCALE_XX_SMALL ((double)0.5787037037037)
1765
1765
</pre>
1766
1766
<p>
1767
1767
The scale factor for three shrinking steps (1 / (1.2 * 1.2 * 1.2)).
1769
1769
</div>
1770
1770
<hr>
1771
1771
<div class="refsect2" lang="en">
1772
 
<a name="id3053801"></a><h3>
 
1772
<a name="id2643162"></a><h3>
1773
1773
<a name="PANGO-SCALE-X-SMALL:CAPS"></a>PANGO_SCALE_X_SMALL</h3>
1774
 
<a class="indexterm" name="id3053814"></a><pre class="programlisting">#define PANGO_SCALE_X_SMALL  ((double)0.6444444444444)
 
1774
<a class="indexterm" name="id2643176"></a><pre class="programlisting">#define PANGO_SCALE_X_SMALL  ((double)0.6444444444444)
1775
1775
</pre>
1776
1776
<p>
1777
1777
The scale factor for two shrinking steps (1 / (1.2 * 1.2)).
1779
1779
</div>
1780
1780
<hr>
1781
1781
<div class="refsect2" lang="en">
1782
 
<a name="id3053831"></a><h3>
 
1782
<a name="id2643193"></a><h3>
1783
1783
<a name="PANGO-SCALE-SMALL:CAPS"></a>PANGO_SCALE_SMALL</h3>
1784
 
<a class="indexterm" name="id3053844"></a><pre class="programlisting">#define PANGO_SCALE_SMALL    ((double)0.8333333333333)
 
1784
<a class="indexterm" name="id2643205"></a><pre class="programlisting">#define PANGO_SCALE_SMALL    ((double)0.8333333333333)
1785
1785
</pre>
1786
1786
<p>
1787
1787
The scale factor for one shrinking step (1 / 1.2).
1789
1789
</div>
1790
1790
<hr>
1791
1791
<div class="refsect2" lang="en">
1792
 
<a name="id3053861"></a><h3>
 
1792
<a name="id2643222"></a><h3>
1793
1793
<a name="PANGO-SCALE-MEDIUM:CAPS"></a>PANGO_SCALE_MEDIUM</h3>
1794
 
<a class="indexterm" name="id3053874"></a><pre class="programlisting">#define PANGO_SCALE_MEDIUM   ((double)1.0)
 
1794
<a class="indexterm" name="id2643235"></a><pre class="programlisting">#define PANGO_SCALE_MEDIUM   ((double)1.0)
1795
1795
</pre>
1796
1796
<p>
1797
1797
The scale factor for normal size (1.0).
1799
1799
</div>
1800
1800
<hr>
1801
1801
<div class="refsect2" lang="en">
1802
 
<a name="id3053890"></a><h3>
 
1802
<a name="id2643252"></a><h3>
1803
1803
<a name="PANGO-SCALE-LARGE:CAPS"></a>PANGO_SCALE_LARGE</h3>
1804
 
<a class="indexterm" name="id3053903"></a><pre class="programlisting">#define PANGO_SCALE_LARGE    ((double)1.2)
 
1804
<a class="indexterm" name="id2643264"></a><pre class="programlisting">#define PANGO_SCALE_LARGE    ((double)1.2)
1805
1805
</pre>
1806
1806
<p>
1807
1807
The scale factor for one magnification step (1.2).
1809
1809
</div>
1810
1810
<hr>
1811
1811
<div class="refsect2" lang="en">
1812
 
<a name="id3053919"></a><h3>
 
1812
<a name="id2643281"></a><h3>
1813
1813
<a name="PANGO-SCALE-X-LARGE:CAPS"></a>PANGO_SCALE_X_LARGE</h3>
1814
 
<a class="indexterm" name="id3053932"></a><pre class="programlisting">#define PANGO_SCALE_X_LARGE  ((double)1.4399999999999)
 
1814
<a class="indexterm" name="id2643294"></a><pre class="programlisting">#define PANGO_SCALE_X_LARGE  ((double)1.4399999999999)
1815
1815
</pre>
1816
1816
<p>
1817
1817
The scale factor for two magnification steps (1.2 * 1.2).
1819
1819
</div>
1820
1820
<hr>
1821
1821
<div class="refsect2" lang="en">
1822
 
<a name="id3053949"></a><h3>
 
1822
<a name="id2643310"></a><h3>
1823
1823
<a name="PANGO-SCALE-XX-LARGE:CAPS"></a>PANGO_SCALE_XX_LARGE</h3>
1824
 
<a class="indexterm" name="id3053962"></a><pre class="programlisting">#define PANGO_SCALE_XX_LARGE ((double)1.728)
 
1824
<a class="indexterm" name="id2643323"></a><pre class="programlisting">#define PANGO_SCALE_XX_LARGE ((double)1.728)
1825
1825
</pre>
1826
1826
<p>
1827
1827
The scale factor for three magnification steps (1.2 * 1.2 * 1.2).
1829
1829
</div>
1830
1830
<hr>
1831
1831
<div class="refsect2" lang="en">
1832
 
<a name="id3053979"></a><h3>
 
1832
<a name="id2643340"></a><h3>
1833
1833
<a name="pango-attr-rise-new"></a>pango_attr_rise_new ()</h3>
1834
 
<a class="indexterm" name="id3053992"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_rise_new         (int rise);</pre>
 
1834
<a class="indexterm" name="id2643353"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_rise_new         (int rise);</pre>
1835
1835
<p>
1836
1836
Create a new baseline displacement attribute.</p>
1837
1837
<p>
1857
1857
</div>
1858
1858
<hr>
1859
1859
<div class="refsect2" lang="en">
1860
 
<a name="id3054074"></a><h3>
 
1860
<a name="id2643435"></a><h3>
1861
1861
<a name="pango-attr-letter-spacing-new"></a>pango_attr_letter_spacing_new ()</h3>
1862
 
<a class="indexterm" name="id3054090"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_letter_spacing_new
 
1862
<a class="indexterm" name="id2643451"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_letter_spacing_new
1863
1863
                                            (int letter_spacing);</pre>
1864
1864
<p>
1865
1865
Create a new letter-spacing attribute.</p>
1889
1889
</div>
1890
1890
<hr>
1891
1891
<div class="refsect2" lang="en">
1892
 
<a name="id3054177"></a><h3>
 
1892
<a name="id2643538"></a><h3>
1893
1893
<a name="pango-attr-fallback-new"></a>pango_attr_fallback_new ()</h3>
1894
 
<a class="indexterm" name="id3054192"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_fallback_new     (<a
 
1894
<a class="indexterm" name="id2643554"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_fallback_new     (<a
1895
1895
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
1896
1896
>gboolean</a> enable_fallback);</pre>
1897
1897
<p>
1930
1930
</div>
1931
1931
<hr>
1932
1932
<div class="refsect2" lang="en">
1933
 
<a name="id3054296"></a><h3>
 
1933
<a name="id2643658"></a><h3>
1934
1934
<a name="pango-attr-gravity-new"></a>pango_attr_gravity_new ()</h3>
1935
 
<a class="indexterm" name="id3054312"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_gravity_new      (<a href="pango-Vertical-Text.html#PangoGravity">PangoGravity</a> gravity);</pre>
 
1935
<a class="indexterm" name="id2643673"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_gravity_new      (<a href="pango-Vertical-Text.html#PangoGravity">PangoGravity</a> gravity);</pre>
1936
1936
<p>
1937
1937
Create a new gravity attribute.</p>
1938
1938
<p>
1960
1960
</div>
1961
1961
<hr>
1962
1962
<div class="refsect2" lang="en">
1963
 
<a name="id3054409"></a><h3>
 
1963
<a name="id2643770"></a><h3>
1964
1964
<a name="pango-attr-gravity-hint-new"></a>pango_attr_gravity_hint_new ()</h3>
1965
 
<a class="indexterm" name="id3054425"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_gravity_hint_new (<a href="pango-Vertical-Text.html#PangoGravityHint">PangoGravityHint</a> hint);</pre>
 
1965
<a class="indexterm" name="id2643787"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_gravity_hint_new (<a href="pango-Vertical-Text.html#PangoGravityHint">PangoGravityHint</a> hint);</pre>
1966
1966
<p>
1967
1967
Create a new gravity hint attribute.</p>
1968
1968
<p>
1990
1990
</div>
1991
1991
<hr>
1992
1992
<div class="refsect2" lang="en">
1993
 
<a name="id3054511"></a><h3>
 
1993
<a name="id2643872"></a><h3>
1994
1994
<a name="PangoColor"></a>PangoColor</h3>
1995
 
<a class="indexterm" name="id3054524"></a><pre class="programlisting">typedef struct {
 
1995
<a class="indexterm" name="id2643885"></a><pre class="programlisting">typedef struct {
1996
1996
  guint16 red;
1997
1997
  guint16 green;
1998
1998
  guint16 blue;
2035
2035
</div>
2036
2036
<hr>
2037
2037
<div class="refsect2" lang="en">
2038
 
<a name="id3054619"></a><h3>
 
2038
<a name="id2643981"></a><h3>
2039
2039
<a name="PANGO-TYPE-COLOR:CAPS"></a>PANGO_TYPE_COLOR</h3>
2040
 
<a class="indexterm" name="id3054633"></a><pre class="programlisting">#define PANGO_TYPE_COLOR pango_color_get_type ()
 
2040
<a class="indexterm" name="id2643995"></a><pre class="programlisting">#define PANGO_TYPE_COLOR pango_color_get_type ()
2041
2041
</pre>
2042
2042
<p>
2043
2043
The <a
2047
2047
</div>
2048
2048
<hr>
2049
2049
<div class="refsect2" lang="en">
2050
 
<a name="id3054665"></a><h3>
 
2050
<a name="id2644026"></a><h3>
2051
2051
<a name="pango-color-parse"></a>pango_color_parse ()</h3>
2052
 
<a class="indexterm" name="id3054678"></a><pre class="programlisting"><a
 
2052
<a class="indexterm" name="id2644039"></a><pre class="programlisting"><a
2053
2053
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
2054
2054
>gboolean</a>    pango_color_parse               (<a href="pango-Text-Attributes.html#PangoColor">PangoColor</a> *color,
2055
2055
                                             const char *spec);</pre>
2090
2090
</div>
2091
2091
<hr>
2092
2092
<div class="refsect2" lang="en">
2093
 
<a name="id3054794"></a><h3>
 
2093
<a name="id2644156"></a><h3>
2094
2094
<a name="pango-color-copy"></a>pango_color_copy ()</h3>
2095
 
<a class="indexterm" name="id3054806"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoColor">PangoColor</a>* pango_color_copy                (const <a href="pango-Text-Attributes.html#PangoColor">PangoColor</a> *src);</pre>
 
2095
<a class="indexterm" name="id2644167"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoColor">PangoColor</a>* pango_color_copy                (const <a href="pango-Text-Attributes.html#PangoColor">PangoColor</a> *src);</pre>
2096
2096
<p>
2097
2097
Creates a copy of <em class="parameter"><code>src</code></em>, which should be freed with
2098
2098
<a href="pango-Text-Attributes.html#pango-color-free"><code class="function">pango_color_free()</code></a>. Primarily used by language bindings,
2120
2120
</div>
2121
2121
<hr>
2122
2122
<div class="refsect2" lang="en">
2123
 
<a name="id3054903"></a><h3>
 
2123
<a name="id2644264"></a><h3>
2124
2124
<a name="pango-color-free"></a>pango_color_free ()</h3>
2125
 
<a class="indexterm" name="id3054917"></a><pre class="programlisting">void        pango_color_free                (<a href="pango-Text-Attributes.html#PangoColor">PangoColor</a> *color);</pre>
 
2125
<a class="indexterm" name="id2644278"></a><pre class="programlisting">void        pango_color_free                (<a href="pango-Text-Attributes.html#PangoColor">PangoColor</a> *color);</pre>
2126
2126
<p>
2127
2127
Frees a color allocated by <a href="pango-Text-Attributes.html#pango-color-copy"><code class="function">pango_color_copy()</code></a>.</p>
2128
2128
<p>
2139
2139
</div>
2140
2140
<hr>
2141
2141
<div class="refsect2" lang="en">
2142
 
<a name="id3054985"></a><h3>
 
2142
<a name="id2644346"></a><h3>
2143
2143
<a name="pango-color-to-string"></a>pango_color_to_string ()</h3>
2144
 
<a class="indexterm" name="id3055000"></a><pre class="programlisting"><a
 
2144
<a class="indexterm" name="id2644362"></a><pre class="programlisting"><a
2145
2145
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
2146
2146
>gchar</a>*      pango_color_to_string           (const <a href="pango-Text-Attributes.html#PangoColor">PangoColor</a> *color);</pre>
2147
2147
<p>
2175
2175
</div>
2176
2176
<hr>
2177
2177
<div class="refsect2" lang="en">
2178
 
<a name="id3055116"></a><h3>
 
2178
<a name="id2644478"></a><h3>
2179
2179
<a name="PangoLanguage"></a>PangoLanguage</h3>
2180
 
<a class="indexterm" name="id3055128"></a><pre class="programlisting">typedef struct _PangoLanguage PangoLanguage;</pre>
 
2180
<a class="indexterm" name="id2644490"></a><pre class="programlisting">typedef struct _PangoLanguage PangoLanguage;</pre>
2181
2181
<p>
2182
2182
The <a href="pango-Text-Attributes.html#PangoLanguage"><span class="type">PangoLanguage</span></a> structure is used to
2183
2183
represent a language.
2189
2189
</div>
2190
2190
<hr>
2191
2191
<div class="refsect2" lang="en">
2192
 
<a name="id3055166"></a><h3>
 
2192
<a name="id2644527"></a><h3>
2193
2193
<a name="PANGO-TYPE-LANGUAGE:CAPS"></a>PANGO_TYPE_LANGUAGE</h3>
2194
 
<a class="indexterm" name="id3055180"></a><pre class="programlisting">#define PANGO_TYPE_LANGUAGE (pango_language_get_type ())
 
2194
<a class="indexterm" name="id2644541"></a><pre class="programlisting">#define PANGO_TYPE_LANGUAGE (pango_language_get_type ())
2195
2195
</pre>
2196
2196
<p>
2197
2197
The <a
2201
2201
</div>
2202
2202
<hr>
2203
2203
<div class="refsect2" lang="en">
2204
 
<a name="id3055212"></a><h3>
 
2204
<a name="id2644573"></a><h3>
2205
2205
<a name="pango-language-from-string"></a>pango_language_from_string ()</h3>
2206
 
<a class="indexterm" name="id3055225"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoLanguage">PangoLanguage</a>* pango_language_from_string   (const char *language);</pre>
 
2206
<a class="indexterm" name="id2644587"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoLanguage">PangoLanguage</a>* pango_language_from_string   (const char *language);</pre>
2207
2207
<p>
2208
2208
Take a RFC-3066 format language tag as a string and convert it to a
2209
2209
<a href="pango-Text-Attributes.html#PangoLanguage"><span class="type">PangoLanguage</span></a> pointer that can be efficiently copied (copy the
2240
2240
</div>
2241
2241
<hr>
2242
2242
<div class="refsect2" lang="en">
2243
 
<a name="id3055337"></a><h3>
 
2243
<a name="id2644698"></a><h3>
2244
2244
<a name="pango-language-to-string"></a>pango_language_to_string()</h3>
2245
 
<a class="indexterm" name="id3055349"></a><pre class="programlisting">#define pango_language_to_string(language) ((const char *)language)
 
2245
<a class="indexterm" name="id2644711"></a><pre class="programlisting">#define pango_language_to_string(language) ((const char *)language)
2246
2246
</pre>
2247
2247
<p>
2248
2248
Returns a RFC-3066 format string representing the given language tag. 
2267
2267
</div>
2268
2268
<hr>
2269
2269
<div class="refsect2" lang="en">
2270
 
<a name="id3055396"></a><h3>
 
2270
<a name="id2644758"></a><h3>
2271
2271
<a name="pango-language-matches"></a>pango_language_matches ()</h3>
2272
 
<a class="indexterm" name="id3055409"></a><pre class="programlisting"><a
 
2272
<a class="indexterm" name="id2644771"></a><pre class="programlisting"><a
2273
2273
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
2274
2274
>gboolean</a>    pango_language_matches          (<a href="pango-Text-Attributes.html#PangoLanguage">PangoLanguage</a> *language,
2275
2275
                                             const char *range_list);</pre>
2313
2313
</div>
2314
2314
<hr>
2315
2315
<div class="refsect2" lang="en">
2316
 
<a name="id3055542"></a><h3>
 
2316
<a name="id2644904"></a><h3>
2317
2317
<a name="PangoAttrList"></a>PangoAttrList</h3>
2318
 
<a class="indexterm" name="id3055555"></a><pre class="programlisting">typedef struct _PangoAttrList PangoAttrList;</pre>
 
2318
<a class="indexterm" name="id2644917"></a><pre class="programlisting">typedef struct _PangoAttrList PangoAttrList;</pre>
2319
2319
<p>
2320
2320
The <a href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a> structure represents a list of attributes
2321
2321
that apply to a section of text. The attributes are, in general,
2332
2332
</div>
2333
2333
<hr>
2334
2334
<div class="refsect2" lang="en">
2335
 
<a name="id3055618"></a><h3>
 
2335
<a name="id2644980"></a><h3>
2336
2336
<a name="PANGO-TYPE-ATTR-LIST:CAPS"></a>PANGO_TYPE_ATTR_LIST</h3>
2337
 
<a class="indexterm" name="id3055631"></a><pre class="programlisting">#define PANGO_TYPE_ATTR_LIST pango_attr_list_get_type ()
 
2337
<a class="indexterm" name="id2644993"></a><pre class="programlisting">#define PANGO_TYPE_ATTR_LIST pango_attr_list_get_type ()
2338
2338
</pre>
2339
2339
<p>
2340
2340
The <a
2344
2344
</div>
2345
2345
<hr>
2346
2346
<div class="refsect2" lang="en">
2347
 
<a name="id3055664"></a><h3>
 
2347
<a name="id2645025"></a><h3>
2348
2348
<a name="pango-attr-list-new"></a>pango_attr_list_new ()</h3>
2349
 
<a class="indexterm" name="id3055677"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a>* pango_attr_list_new          (void);</pre>
 
2349
<a class="indexterm" name="id2645038"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a>* pango_attr_list_new          (void);</pre>
2350
2350
<p>
2351
2351
Create a new empty attribute list with a reference count of one.</p>
2352
2352
<p>
2364
2364
</div>
2365
2365
<hr>
2366
2366
<div class="refsect2" lang="en">
2367
 
<a name="id3055737"></a><h3>
 
2367
<a name="id2645098"></a><h3>
2368
2368
<a name="pango-attr-list-ref"></a>pango_attr_list_ref ()</h3>
2369
 
<a class="indexterm" name="id3055752"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a>* pango_attr_list_ref          (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list);</pre>
 
2369
<a class="indexterm" name="id2645114"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a>* pango_attr_list_ref          (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list);</pre>
2370
2370
<p>
2371
2371
Increase the reference count of the given attribute list by one.</p>
2372
2372
<p>
2393
2393
</div>
2394
2394
<hr>
2395
2395
<div class="refsect2" lang="en">
2396
 
<a name="id3055826"></a><h3>
 
2396
<a name="id2645188"></a><h3>
2397
2397
<a name="pango-attr-list-unref"></a>pango_attr_list_unref ()</h3>
2398
 
<a class="indexterm" name="id3055839"></a><pre class="programlisting">void        pango_attr_list_unref           (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list);</pre>
 
2398
<a class="indexterm" name="id2645201"></a><pre class="programlisting">void        pango_attr_list_unref           (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list);</pre>
2399
2399
<p>
2400
2400
Decrease the reference count of the given attribute list by one.
2401
2401
If the result is zero, free the attribute list and the attributes
2414
2414
</div>
2415
2415
<hr>
2416
2416
<div class="refsect2" lang="en">
2417
 
<a name="id3055899"></a><h3>
 
2417
<a name="id2645261"></a><h3>
2418
2418
<a name="pango-attr-list-copy"></a>pango_attr_list_copy ()</h3>
2419
 
<a class="indexterm" name="id3055913"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a>* pango_attr_list_copy         (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list);</pre>
 
2419
<a class="indexterm" name="id2645274"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a>* pango_attr_list_copy         (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list);</pre>
2420
2420
<p>
2421
2421
Copy <em class="parameter"><code>list</code></em> and return an identical new list.</p>
2422
2422
<p>
2442
2442
</div>
2443
2443
<hr>
2444
2444
<div class="refsect2" lang="en">
2445
 
<a name="id3056009"></a><h3>
 
2445
<a name="id2645370"></a><h3>
2446
2446
<a name="pango-attr-list-insert"></a>pango_attr_list_insert ()</h3>
2447
 
<a class="indexterm" name="id3056022"></a><pre class="programlisting">void        pango_attr_list_insert          (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list,
 
2447
<a class="indexterm" name="id2645383"></a><pre class="programlisting">void        pango_attr_list_insert          (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list,
2448
2448
                                             <a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attr);</pre>
2449
2449
<p>
2450
2450
Insert the given attribute into the <a href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>. It will
2472
2472
</div>
2473
2473
<hr>
2474
2474
<div class="refsect2" lang="en">
2475
 
<a name="id3056119"></a><h3>
 
2475
<a name="id2645480"></a><h3>
2476
2476
<a name="pango-attr-list-insert-before"></a>pango_attr_list_insert_before ()</h3>
2477
 
<a class="indexterm" name="id3056132"></a><pre class="programlisting">void        pango_attr_list_insert_before   (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list,
 
2477
<a class="indexterm" name="id2645494"></a><pre class="programlisting">void        pango_attr_list_insert_before   (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list,
2478
2478
                                             <a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attr);</pre>
2479
2479
<p>
2480
2480
Insert the given attribute into the <a href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>. It will
2502
2502
</div>
2503
2503
<hr>
2504
2504
<div class="refsect2" lang="en">
2505
 
<a name="id3056229"></a><h3>
 
2505
<a name="id2645591"></a><h3>
2506
2506
<a name="pango-attr-list-change"></a>pango_attr_list_change ()</h3>
2507
 
<a class="indexterm" name="id3056242"></a><pre class="programlisting">void        pango_attr_list_change          (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list,
 
2507
<a class="indexterm" name="id2645603"></a><pre class="programlisting">void        pango_attr_list_change          (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list,
2508
2508
                                             <a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attr);</pre>
2509
2509
<p>
2510
2510
Insert the given attribute into the <a href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>. It will
2539
2539
</div>
2540
2540
<hr>
2541
2541
<div class="refsect2" lang="en">
2542
 
<a name="id3056363"></a><h3>
 
2542
<a name="id2645725"></a><h3>
2543
2543
<a name="pango-attr-list-splice"></a>pango_attr_list_splice ()</h3>
2544
 
<a class="indexterm" name="id3056377"></a><pre class="programlisting">void        pango_attr_list_splice          (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list,
 
2544
<a class="indexterm" name="id2645738"></a><pre class="programlisting">void        pango_attr_list_splice          (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list,
2545
2545
                                             <a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *other,
2546
2546
                                             <a
2547
2547
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
2595
2595
</div>
2596
2596
<hr>
2597
2597
<div class="refsect2" lang="en">
2598
 
<a name="id3056593"></a><h3>
 
2598
<a name="id2645955"></a><h3>
2599
2599
<a name="pango-attr-list-filter"></a>pango_attr_list_filter ()</h3>
2600
 
<a class="indexterm" name="id3056609"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a>* pango_attr_list_filter       (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list,
 
2600
<a class="indexterm" name="id2645970"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a>* pango_attr_list_filter       (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list,
2601
2601
                                             <a href="pango-Text-Attributes.html#PangoAttrFilterFunc">PangoAttrFilterFunc</a> func,
2602
2602
                                             <a
2603
2603
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
2648
2648
</div>
2649
2649
<hr>
2650
2650
<div class="refsect2" lang="en">
2651
 
<a name="id3056794"></a><h3>
 
2651
<a name="id2646155"></a><h3>
2652
2652
<a name="PangoAttrFilterFunc"></a>PangoAttrFilterFunc ()</h3>
2653
 
<a class="indexterm" name="id3056806"></a><pre class="programlisting"><a
 
2653
<a class="indexterm" name="id2646168"></a><pre class="programlisting"><a
2654
2654
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
2655
2655
>gboolean</a>    (*PangoAttrFilterFunc)          (<a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a> *attribute,
2656
2656
                                             <a
2688
2688
</div>
2689
2689
<hr>
2690
2690
<div class="refsect2" lang="en">
2691
 
<a name="id3056925"></a><h3>
 
2691
<a name="id2646287"></a><h3>
2692
2692
<a name="pango-attr-list-get-iterator"></a>pango_attr_list_get_iterator ()</h3>
2693
 
<a class="indexterm" name="id3056939"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a>* pango_attr_list_get_iterator
 
2693
<a class="indexterm" name="id2646300"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a>* pango_attr_list_get_iterator
2694
2694
                                            (<a href="pango-Text-Attributes.html#PangoAttrList">PangoAttrList</a> *list);</pre>
2695
2695
<p>
2696
2696
Create a iterator initialized to the beginning of the list.
2717
2717
</div>
2718
2718
<hr>
2719
2719
<div class="refsect2" lang="en">
2720
 
<a name="id3057037"></a><h3>
 
2720
<a name="id2646398"></a><h3>
2721
2721
<a name="PangoAttrIterator"></a>PangoAttrIterator</h3>
2722
 
<a class="indexterm" name="id3057049"></a><pre class="programlisting">typedef struct _PangoAttrIterator PangoAttrIterator;</pre>
 
2722
<a class="indexterm" name="id2646411"></a><pre class="programlisting">typedef struct _PangoAttrIterator PangoAttrIterator;</pre>
2723
2723
<p>
2724
2724
The <a href="pango-Text-Attributes.html#PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> structure is used to represent an
2725
2725
iterator through a <a href="pango-Text-Attributes.html#PangoAttrList"><span class="type">PangoAttrList</span></a>. A new iterator is created
2732
2732
</div>
2733
2733
<hr>
2734
2734
<div class="refsect2" lang="en">
2735
 
<a name="id3057109"></a><h3>
 
2735
<a name="id2646471"></a><h3>
2736
2736
<a name="pango-attr-iterator-copy"></a>pango_attr_iterator_copy ()</h3>
2737
 
<a class="indexterm" name="id3057122"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a>* pango_attr_iterator_copy (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator);</pre>
 
2737
<a class="indexterm" name="id2646484"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a>* pango_attr_iterator_copy (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator);</pre>
2738
2738
<p>
2739
2739
Copy a <a href="pango-Text-Attributes.html#PangoAttrIterator"><span class="type">PangoAttrIterator</span></a></p>
2740
2740
<p>
2759
2759
</div>
2760
2760
<hr>
2761
2761
<div class="refsect2" lang="en">
2762
 
<a name="id3057219"></a><h3>
 
2762
<a name="id2646580"></a><h3>
2763
2763
<a name="pango-attr-iterator-next"></a>pango_attr_iterator_next ()</h3>
2764
 
<a class="indexterm" name="id3057231"></a><pre class="programlisting"><a
 
2764
<a class="indexterm" name="id2646593"></a><pre class="programlisting"><a
2765
2765
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
2766
2766
>gboolean</a>    pango_attr_iterator_next        (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator);</pre>
2767
2767
<p>
2791
2791
</div>
2792
2792
<hr>
2793
2793
<div class="refsect2" lang="en">
2794
 
<a name="id3057321"></a><h3>
 
2794
<a name="id2646683"></a><h3>
2795
2795
<a name="pango-attr-iterator-range"></a>pango_attr_iterator_range ()</h3>
2796
 
<a class="indexterm" name="id3057335"></a><pre class="programlisting">void        pango_attr_iterator_range       (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator,
 
2796
<a class="indexterm" name="id2646697"></a><pre class="programlisting">void        pango_attr_iterator_range       (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator,
2797
2797
                                             <a
2798
2798
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
2799
2799
>gint</a> *start,
2834
2834
</div>
2835
2835
<hr>
2836
2836
<div class="refsect2" lang="en">
2837
 
<a name="id3057459"></a><h3>
 
2837
<a name="id2646821"></a><h3>
2838
2838
<a name="pango-attr-iterator-get"></a>pango_attr_iterator_get ()</h3>
2839
 
<a class="indexterm" name="id3057473"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_iterator_get     (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator,
 
2839
<a class="indexterm" name="id2646834"></a><pre class="programlisting"><a href="pango-Text-Attributes.html#PangoAttribute">PangoAttribute</a>* pango_attr_iterator_get     (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator,
2840
2840
                                             <a href="pango-Text-Attributes.html#PangoAttrType">PangoAttrType</a> type);</pre>
2841
2841
<p>
2842
2842
Find the current attribute of a particular type at the iterator
2873
2873
</div>
2874
2874
<hr>
2875
2875
<div class="refsect2" lang="en">
2876
 
<a name="id3057579"></a><h3>
 
2876
<a name="id2646941"></a><h3>
2877
2877
<a name="pango-attr-iterator-get-font"></a>pango_attr_iterator_get_font ()</h3>
2878
 
<a class="indexterm" name="id3057593"></a><pre class="programlisting">void        pango_attr_iterator_get_font    (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator,
 
2878
<a class="indexterm" name="id2646954"></a><pre class="programlisting">void        pango_attr_iterator_get_font    (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator,
2879
2879
                                             <a href="pango-Fonts.html#PangoFontDescription">PangoFontDescription</a> *desc,
2880
2880
                                             <a href="pango-Text-Attributes.html#PangoLanguage">PangoLanguage</a> **language,
2881
2881
                                             <a
2930
2930
</div>
2931
2931
<hr>
2932
2932
<div class="refsect2" lang="en">
2933
 
<a name="id3057804"></a><h3>
 
2933
<a name="id2647166"></a><h3>
2934
2934
<a name="pango-attr-iterator-get-attrs"></a>pango_attr_iterator_get_attrs ()</h3>
2935
 
<a class="indexterm" name="id3057820"></a><pre class="programlisting"><a
 
2935
<a class="indexterm" name="id2647182"></a><pre class="programlisting"><a
2936
2936
href="/home/behdad/.local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"
2937
2937
>GSList</a>*     pango_attr_iterator_get_attrs   (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator);</pre>
2938
2938
<p>
2966
2966
</div>
2967
2967
<hr>
2968
2968
<div class="refsect2" lang="en">
2969
 
<a name="id3057918"></a><h3>
 
2969
<a name="id2647279"></a><h3>
2970
2970
<a name="pango-attr-iterator-destroy"></a>pango_attr_iterator_destroy ()</h3>
2971
 
<a class="indexterm" name="id3057931"></a><pre class="programlisting">void        pango_attr_iterator_destroy     (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator);</pre>
 
2971
<a class="indexterm" name="id2647293"></a><pre class="programlisting">void        pango_attr_iterator_destroy     (<a href="pango-Text-Attributes.html#PangoAttrIterator">PangoAttrIterator</a> *iterator);</pre>
2972
2972
<p>
2973
2973
Destroy a <a href="pango-Text-Attributes.html#PangoAttrIterator"><span class="type">PangoAttrIterator</span></a> and free all associated memory.</p>
2974
2974
<p>