rsvg2 3.0.7-x64-mingw32 → 3.0.8-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -2
  3. data/ext/rsvg2/extconf.rb +1 -0
  4. data/lib/2.2/rsvg2.so +0 -0
  5. data/lib/2.3/rsvg2.so +0 -0
  6. data/vendor/local/bin/croco-0.6-config +2 -2
  7. data/vendor/local/bin/csslint-0.6.exe +0 -0
  8. data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
  9. data/vendor/local/bin/librsvg-2-2.dll +0 -0
  10. data/vendor/local/bin/rsvg-convert.exe +0 -0
  11. data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +2 -2
  12. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +26 -4
  13. data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
  14. data/vendor/local/lib/libcroco-0.6.a +0 -0
  15. data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
  16. data/vendor/local/lib/libcroco-0.6.la +3 -3
  17. data/vendor/local/lib/librsvg-2.a +0 -0
  18. data/vendor/local/lib/librsvg-2.dll.a +0 -0
  19. data/vendor/local/lib/librsvg-2.la +2 -2
  20. data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +1 -1
  21. data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +1 -1
  22. data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +2 -2
  23. data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +13 -14
  24. data/vendor/local/share/gtk-doc/html/libcroco/home.png +0 -0
  25. data/vendor/local/share/gtk-doc/html/libcroco/index.html +5 -6
  26. data/vendor/local/share/gtk-doc/html/libcroco/left-insensitive.png +0 -0
  27. data/vendor/local/share/gtk-doc/html/libcroco/left.png +0 -0
  28. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +360 -221
  29. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +209 -132
  30. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +251 -164
  31. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +693 -449
  32. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +365 -259
  33. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +148 -107
  34. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +805 -463
  35. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1109 -753
  36. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +267 -180
  37. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +351 -255
  38. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -644
  39. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +234 -124
  40. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +437 -271
  41. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +139 -86
  42. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +517 -352
  43. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +326 -252
  44. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +219 -186
  45. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +219 -176
  46. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1231 -1220
  47. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +142 -83
  48. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +351 -256
  49. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +155 -99
  50. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +313 -207
  51. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +321 -210
  52. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +465 -284
  53. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +507 -231
  54. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +54 -40
  55. data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +465 -426
  56. data/vendor/local/share/gtk-doc/html/libcroco/right-insensitive.png +0 -0
  57. data/vendor/local/share/gtk-doc/html/libcroco/right.png +0 -0
  58. data/vendor/local/share/gtk-doc/html/libcroco/style.css +317 -104
  59. data/vendor/local/share/gtk-doc/html/libcroco/up-insensitive.png +0 -0
  60. data/vendor/local/share/gtk-doc/html/libcroco/up.png +0 -0
  61. data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1039 -724
  62. data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +29 -32
  63. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +16 -19
  64. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +13 -16
  65. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +14 -17
  66. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +15 -20
  67. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +12 -15
  68. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +17 -22
  69. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +18 -23
  70. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +31 -36
  71. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +79 -84
  72. data/vendor/local/share/gtk-doc/html/rsvg-2.0/home.png +0 -0
  73. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +4 -4
  74. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +31 -28
  75. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left-insensitive.png +0 -0
  76. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left.png +0 -0
  77. data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +9 -9
  78. data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +15 -15
  79. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right-insensitive.png +0 -0
  80. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right.png +0 -0
  81. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +55 -59
  82. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +247 -190
  83. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +336 -239
  84. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +95 -70
  85. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +77 -37
  86. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +9 -9
  87. data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +314 -104
  88. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up-insensitive.png +0 -0
  89. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up.png +0 -0
  90. metadata +14 -10
  91. data/lib/2.0/rsvg2.so +0 -0
  92. data/lib/2.1/rsvg2.so +0 -0
  93. data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +0 -582
@@ -2,30 +2,26 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>cr-enc-handler</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
5
+ <title>cr-enc-handler: Libcroco Reference Manual</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
  <link rel="home" href="index.html" title="Libcroco Reference Manual">
8
8
  <link rel="up" href="ch01.html" title="Extensive APIs description">
9
9
  <link rel="prev" href="libcroco-cr-doc-handler.html" title="cr-doc-handler">
10
10
  <link rel="next" href="libcroco-cr-fonts.html" title="cr-fonts">
11
- <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.24.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">
15
- <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
- <tr valign="middle">
17
- <td><a accesskey="p" href="libcroco-cr-doc-handler.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
- <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
- <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
- <th width="100%" align="center">Libcroco Reference Manual</th>
21
- <td><a accesskey="n" href="libcroco-cr-fonts.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
- </tr>
23
- <tr><td colspan="5" class="shortcuts">
24
- <a href="#libcroco-cr-enc-handler.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#libcroco-cr-enc-handler.description" class="shortcut">Description</a>
27
- </td></tr>
28
- </table>
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts">
17
+ <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18
+ <a href="#libcroco-cr-enc-handler.description" class="shortcut">Description</a></span>
19
+ </td>
20
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21
+ <td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22
+ <td><a accesskey="p" href="libcroco-cr-doc-handler.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23
+ <td><a accesskey="n" href="libcroco-cr-fonts.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
24
+ </tr></table>
29
25
  <div class="refentry">
30
26
  <a name="libcroco-cr-enc-handler"></a><div class="titlepage"></div>
31
27
  <div class="refnamediv"><table width="100%"><tr>
@@ -33,132 +29,177 @@
33
29
  <h2><span class="refentrytitle"><a name="libcroco-cr-enc-handler.top_of_page"></a>cr-enc-handler</span></h2>
34
30
  <p>cr-enc-handler</p>
35
31
  </td>
36
- <td valign="top" align="right"></td>
32
+ <td class="gallery_image" valign="top" align="right"></td>
37
33
  </tr></table></div>
38
- <div class="refsynopsisdiv">
39
- <a name="libcroco-cr-enc-handler.synopsis"></a><h2>Synopsis</h2>
40
- <pre class="synopsis"> <a class="link" href="libcroco-cr-enc-handler.html#CREncHandler" title="CREncHandler">CREncHandler</a>;
41
- enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-enc-handler.html#cr-enc-handler-convert-input" title="cr_enc_handler_convert_input ()">cr_enc_handler_convert_input</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-enc-handler.html#CREncHandler" title="CREncHandler"><span class="type">CREncHandler</span></a> *a_this</code></em>,
42
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_in</code></em>,
43
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> *a_in_len</code></em>,
44
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> **a_out</code></em>,
45
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> *a_out_len</code></em>);
46
- <a class="link" href="libcroco-cr-enc-handler.html#CREncHandler" title="CREncHandler"><span class="returnvalue">CREncHandler</span></a> * <a class="link" href="libcroco-cr-enc-handler.html#cr-enc-handler-get-instance" title="cr_enc_handler_get_instance ()">cr_enc_handler_get_instance</a> (<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);
47
- enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-enc-handler.html#cr-enc-handler-resolve-enc-alias" title="cr_enc_handler_resolve_enc_alias ()">cr_enc_handler_resolve_enc_alias</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_alias_name</code></em>,
48
- <em class="parameter"><code><span class="type">enum CREncoding</span> *a_enc</code></em>);
49
- </pre>
50
- </div>
51
34
  <div class="refsect1">
52
- <a name="libcroco-cr-enc-handler.description"></a><h2>Description</h2>
53
- <p>
54
- </p>
55
- </div>
56
- <div class="refsect1">
57
- <a name="libcroco-cr-enc-handler.details"></a><h2>Details</h2>
58
- <div class="refsect2">
59
- <a name="CREncHandler"></a><h3>CREncHandler</h3>
60
- <pre class="programlisting">typedef struct _CREncHandler CREncHandler;</pre>
61
- <p>
62
- </p>
63
- </div>
64
- <hr>
65
- <div class="refsect2">
66
- <a name="cr-enc-handler-convert-input"></a><h3>cr_enc_handler_convert_input ()</h3>
67
- <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_enc_handler_convert_input (<em class="parameter"><code><a class="link" href="libcroco-cr-enc-handler.html#CREncHandler" title="CREncHandler"><span class="type">CREncHandler</span></a> *a_this</code></em>,
68
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_in</code></em>,
69
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> *a_in_len</code></em>,
70
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> **a_out</code></em>,
71
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> *a_out_len</code></em>);</pre>
72
- <p>
73
- Converts a raw input buffer into an utf8 buffer.
74
- </p>
75
- <div class="variablelist"><table border="0">
76
- <col align="left" valign="top">
35
+ <a name="libcroco-cr-enc-handler.functions"></a><h2>Functions</h2>
36
+ <div class="informaltable"><table width="100%" border="0">
37
+ <colgroup>
38
+ <col width="150px" class="functions_return">
39
+ <col class="functions_name">
40
+ </colgroup>
77
41
  <tbody>
78
42
  <tr>
79
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
80
- <td>the current instance of <a class="link" href="libcroco-cr-enc-handler.html#CREncHandler" title="CREncHandler"><span class="type">CREncHandler</span></a>.</td>
81
- </tr>
82
- <tr>
83
- <td><p><span class="term"><em class="parameter"><code>a_in</code></em:</span></p></td>
84
- <td>the input buffer to convert.</td>
85
- </tr>
86
- <tr>
87
- <td><p><span class="term"><em class="parameter"><code>a_in_len</code></em> :</span></p></td>
88
- <td>in/out parameter. The len of the input
89
- buffer to convert. After return, contains the number of
90
- bytes actually consumed.</td>
91
- </tr>
92
- <tr>
93
- <td><p><span class="term"><em class="parameter"><code>a_out</code></em> :</span></p></td>
94
- <td>output parameter. The converted output buffer.
95
- Must be freed by the buffer.</td>
43
+ <td class="function_type">
44
+ <a class="link" href="libcroco-cr-enc-handler.html#CREncHandler" title="CREncHandler"><span class="returnvalue">CREncHandler</span></a> *
45
+ </td>
46
+ <td class="function_name">
47
+ <a class="link" href="libcroco-cr-enc-handler.html#cr-enc-handler-get-instance" title="cr_enc_handler_get_instance ()">cr_enc_handler_get_instance</a<span class="c_punctuation">()</span>
48
+ </td>
96
49
  </tr>
97
50
  <tr>
98
- <td><p><span class="term"><em class="parameter"><code>a_out_len</code></em> :</span></p></td>
99
- <td>output parameter. The length of the output buffer.</td>
51
+ <td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
52
+ </td>
53
+ <td class="function_name">
54
+ <a class="link" href="libcroco-cr-enc-handler.html#cr-enc-handler-resolve-enc-alias" title="cr_enc_handler_resolve_enc_alias ()">cr_enc_handler_resolve_enc_alias</a> <span class="c_punctuation">()</span>
55
+ </td>
100
56
  </tr>
101
57
  <tr>
102
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
103
- <td>CR_OK upon successfull completion, an error code otherwise.</td>
58
+ <td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
59
+ </td>
60
+ <td class="function_name">
61
+ <a class="link" href="libcroco-cr-enc-handler.html#cr-enc-handler-convert-input" title="cr_enc_handler_convert_input ()">cr_enc_handler_convert_input</a> <span class="c_punctuation">()</span>
62
+ </td>
104
63
  </tr>
105
64
  </tbody>
106
65
  </table></div>
107
66
  </div>
67
+ <div class="refsect1">
68
+ <a name="libcroco-cr-enc-handler.other"></a><h2>Types and Values</h2>
69
+ <div class="informaltable"><table width="100%" border="0">
70
+ <colgroup>
71
+ <col width="150px" class="name">
72
+ <col class="description">
73
+ </colgroup>
74
+ <tbody><tr>
75
+ <td class="datatype_keyword"> </td>
76
+ <td class="function_name"><a class="link" href="libcroco-cr-enc-handler.html#CREncHandler" title="CREncHandler">CREncHandler</a></td>
77
+ </tr></tbody>
78
+ </table></div>
79
+ </div>
80
+ <div class="refsect1">
81
+ <a name="libcroco-cr-enc-handler.description"></a><h2>Description</h2>
82
+ </div>
83
+ <div class="refsect1">
84
+ <a name="libcroco-cr-enc-handler.functions_details"></a><h2>Functions</h2>
85
+ <div class="refsect2">
86
+ <a name="cr-enc-handler-get-instance"></a><h3>cr_enc_handler_get_instance ()</h3>
87
+ <pre class="programlisting"><a class="link" href="libcroco-cr-enc-handler.html#CREncHandler" title="CREncHandler"><span class="returnvalue">CREncHandler</span></a> *
88
+ cr_enc_handler_get_instance (<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);</pre>
89
+ <p>Gets the instance of encoding handler.
90
+ This function implements a singleton pattern.</p>
91
+ <p>Returns the instance of <a class="link" href="libcroco-cr-enc-handler.html#CREncHandler" title="CREncHandler"><span class="type">CREncHandler</span></a>.</p>
92
+ <div class="refsect3">
93
+ <a name="id-1.2.7.6.2.6"></a><h4>Parameters</h4>
94
+ <div class="informaltable"><table width="100%" border="0">
95
+ <colgroup>
96
+ <col width="150px" class="parameters_name">
97
+ <col class="parameters_description">
98
+ <col width="200px" class="parameters_annotations">
99
+ </colgroup>
100
+ <tbody><tr>
101
+ <td class="parameter_name"><p>a_enc</p></td>
102
+ <td class="parameter_description"><p>the encoding of the Handler.</p></td>
103
+ <td class="parameter_annotations"> </td>
104
+ </tr></tbody>
105
+ </table></div>
106
+ </div>
107
+ </div>
108
108
  <hr>
109
109
  <div class="refsect2">
110
- <a name="cr-enc-handler-get-instance"></a><h3>cr_enc_handler_get_instance ()</h3>
111
- <pre class="programlisting"><a class="link" href="libcroco-cr-enc-handler.html#CREncHandler" title="CREncHandler"><span class="returnvalue">CREncHandler</span></a> * cr_enc_handler_get_instance (<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);</pre>
112
- <p>
113
- Gets the instance of encoding handler.
114
- This function implements a singleton pattern.
115
- </p>
116
- <div class="variablelist"><table border="0">
117
- <col align="left" valign="top">
110
+ <a name="cr-enc-handler-resolve-enc-alias"></a><h3>cr_enc_handler_resolve_enc_alias ()</h3>
111
+ <pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
112
+ cr_enc_handler_resolve_enc_alias (<em class="parameter"><code>const <span class="type">guchar</span> *a_alias_name</code></em>,
113
+ <em class="parameter"><code><span class="type">enum CREncoding</span> *a_enc</code></em>);</pre>
114
+ <p>Given an encoding name (called an alias name)
115
+ the function returns the matching encoding type.</p>
116
+ <p>Returns CR_OK upon successfull completion, an error code otherwise.</p>
117
+ <div class="refsect3">
118
+ <a name="id-1.2.7.6.3.6"></a><h4>Parameters</h4>
119
+ <div class="informaltable"><table width="100%" border="0">
120
+ <colgroup>
121
+ <col width="150px" class="parameters_name">
122
+ <col class="parameters_description">
123
+ <col width="200px" class="parameters_annotations">
124
+ </colgroup>
118
125
  <tbody>
119
126
  <tr>
120
- <td><p><span class="term"><em class="parameter"><code>a_enc</code></em> :</span></p></td>
121
- <td>the encoding of the Handler.</td>
127
+ <td class="parameter_name"><p>a_alias_name</p></td>
128
+ <td class="parameter_description"><p>the encoding name.</p></td>
129
+ <td class="parameter_annotations"> </td>
122
130
  </tr>
123
131
  <tr>
124
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
125
- <td>the instance of <a class="link" href="libcroco-cr-enc-handler.html#CREncHandler" title="CREncHandler"><span class="type">CREncHandler</span></a>.</td>
132
+ <td class="parameter_name"><p>a_enc</p></td>
133
+ <td class="parameter_description"><p>output param. The returned encoding type
134
+ or 0 if the alias is not supported.</p></td>
135
+ <td class="parameter_annotations"> </td>
126
136
  </tr>
127
137
  </tbody>
128
138
  </table></div>
129
139
  </div>
140
+ </div>
130
141
  <hr>
131
142
  <div class="refsect2">
132
- <a name="cr-enc-handler-resolve-enc-alias"></a><h3>cr_enc_handler_resolve_enc_alias ()</h3>
133
- <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_enc_handler_resolve_enc_alias (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_alias_name</code></em>,
134
- <em class="parameter"><code><span class="type">enum CREncoding</span> *a_enc</code></em>);</pre>
135
- <p>
136
- Given an encoding name (called an alias name)
137
- the function returns the matching encoding type.
138
- </p>
139
- <div class="variablelist"><table border="0">
140
- <col align="left" valign="top">
143
+ <a name="cr-enc-handler-convert-input"></a><h3>cr_enc_handler_convert_input ()</h3>
144
+ <pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
145
+ cr_enc_handler_convert_input (<em class="parameter"><code><a class="link" href="libcroco-cr-enc-handler.html#CREncHandler" title="CREncHandler"><span class="type">CREncHandler</span></a> *a_this</code></em>,
146
+ <em class="parameter"><code>const <span class="type">guchar</span> *a_in</code></em>,
147
+ <em class="parameter"><code><span class="type">gulong</span> *a_in_len</code></em>,
148
+ <em class="parameter"><code><span class="type">guchar</span> **a_out</code></em>,
149
+ <em class="parameter"><code><span class="type">gulong</span> *a_out_len</code></em>);</pre>
150
+ <p>Converts a raw input buffer into an utf8 buffer.</p>
151
+ <p>Returns CR_OK upon successfull completion, an error code otherwise.</p>
152
+ <div class="refsect3">
153
+ <a name="id-1.2.7.6.4.6"></a><h4>Parameters</h4>
154
+ <div class="informaltable"><table width="100%" border="0">
155
+ <colgroup>
156
+ <col width="150px" class="parameters_name">
157
+ <col class="parameters_description">
158
+ <col width="200px" class="parameters_annotations">
159
+ </colgroup>
141
160
  <tbody>
142
161
  <tr>
143
- <td><p><span class="term"><em class="parameter"><code>a_alias_name</code></em> :</span></p></td>
144
- <td>the encoding name.</td>
162
+ <td class="parameter_name"><p>a_this</p></td>
163
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-enc-handler.html#CREncHandler" title="CREncHandler"><span class="type">CREncHandler</span></a>.</p></td>
164
+ <td class="parameter_annotations"> </td>
145
165
  </tr>
146
166
  <tr>
147
- <td><p><span class="term"><em class="parameter"><code>a_enc</code></em> :</span></p></td>
148
- <td>output param. The returned encoding type
149
- or 0 if the alias is not supported.</td>
167
+ <td class="parameter_name"><p>a_in</p></td>
168
+ <td class="parameter_description"><p>the input buffer to convert.</p></td>
169
+ <td class="parameter_annotations"> </td>
150
170
  </tr>
151
171
  <tr>
152
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
153
- <td>CR_OK upon successfull completion, an error code otherwise.</td>
172
+ <td class="parameter_name"><p>a_in_len</p></td>
173
+ <td class="parameter_description"><p>in/out parameter. The len of the input
174
+ buffer to convert. After return, contains the number of
175
+ bytes actually consumed.</p></td>
176
+ <td class="parameter_annotations"> </td>
177
+ </tr>
178
+ <tr>
179
+ <td class="parameter_name"><p>a_out</p></td>
180
+ <td class="parameter_description"><p>output parameter. The converted output buffer.
181
+ Must be freed by the buffer.</p></td>
182
+ <td class="parameter_annotations"> </td>
183
+ </tr>
184
+ <tr>
185
+ <td class="parameter_name"><p>a_out_len</p></td>
186
+ <td class="parameter_description"><p>output parameter. The length of the output buffer.</p></td>
187
+ <td class="parameter_annotations"> </td>
154
188
  </tr>
155
189
  </tbody>
156
190
  </table></div>
157
191
  </div>
158
192
  </div>
159
193
  </div>
194
+ <div class="refsect1">
195
+ <a name="libcroco-cr-enc-handler.other_details"></a><h2>Types and Values</h2>
196
+ <div class="refsect2">
197
+ <a name="CREncHandler"></a><h3>CREncHandler</h3>
198
+ <pre class="programlisting">typedef struct _CREncHandler CREncHandler;</pre>
199
+ </div>
200
+ </div>
201
+ </div>
160
202
  <div class="footer">
161
- <hr>
162
- Generated by GTK-Doc V1.18</div>
203
+ <hr>Generated by GTK-Doc V1.24.1</div>
163
204
  </body>
164
205
  </html>
@@ -2,30 +2,26 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>cr-fonts</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
5
+ <title>cr-fonts: Libcroco Reference Manual</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
  <link rel="home" href="index.html" title="Libcroco Reference Manual">
8
8
  <link rel="up" href="ch01.html" title="Extensive APIs description">
9
9
  <link rel="prev" href="libcroco-cr-enc-handler.html" title="cr-enc-handler">
10
10
  <link rel="next" href="libcroco-cr-input.html" title="cr-input">
11
- <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.24.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">
15
- <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
- <tr valign="middle">
17
- <td><a accesskey="p" href="libcroco-cr-enc-handler.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
- <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
- <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
- <th width="100%" align="center">Libcroco Reference Manual</th>
21
- <td><a accesskey="n" href="libcroco-cr-input.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
- </tr>
23
- <tr><td colspan="5" class="shortcuts">
24
- <a href="#libcroco-cr-fonts.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#libcroco-cr-fonts.description" class="shortcut">Description</a>
27
- </td></tr>
28
- </table>
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts">
17
+ <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18
+ <a href="#libcroco-cr-fonts.description" class="shortcut">Description</a></span>
19
+ </td>
20
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21
+ <td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22
+ <td><a accesskey="p" href="libcroco-cr-enc-handler.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23
+ <td><a accesskey="n" href="libcroco-cr-input.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
24
+ </tr></table>
29
25
  <div class="refentry">
30
26
  <a name="libcroco-cr-fonts"></a><div class="titlepage"></div>
31
27
  <div class="refnamediv"><table width="100%"><tr>
@@ -33,638 +29,984 @@
33
29
  <h2><span class="refentrytitle"><a name="libcroco-cr-fonts.top_of_page"></a>cr-fonts</span></h2>
34
30
  <p>cr-fonts</p>
35
31
  </td>
36
- <td valign="top" align="right"></td>
32
+ <td class="gallery_image" valign="top" align="right"></td>
37
33
  </tr></table></div>
38
- <div class="refsynopsisdiv">
39
- <a name="libcroco-cr-fonts.synopsis"></a><h2>Synopsis</h2>
40
- <pre class="synopsis">struct <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily">CRFontFamily</a>;
41
- struct <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize">CRFontSize</a>;
42
- struct <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust">CRFontSizeAdjust</a>;
43
- <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-family-append" title="cr_font_family_append ()">cr_font_family_append</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
44
- <em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_family_to_append</code></em>);
45
- enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-family-destroy" title="cr_font_family_destroy ()">cr_font_family_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>);
46
- <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-family-new" title="cr_font_family_new ()">cr_font_family_new</a> (<em class="parameter"><code><span class="type">enum CRFontFamilyType</span> a_type</code></em>,
47
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_name</code></em>);
48
- <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-family-prepend" title="cr_font_family_prepend ()">cr_font_family_prepend</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
49
- <em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_family_to_prepend</code></em>);
50
- enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-family-set-name" title="cr_font_family_set_name ()">cr_font_family_set_name</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
51
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_name</code></em>);
52
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-family-to-string" title="cr_font_family_to_string ()">cr_font_family_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> const *a_this</code></em>,
53
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_walk_font_family_list</code></em>);
54
- <span class="returnvalue">void</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-adjust-destroy" title="cr_font_size_adjust_destroy ()">cr_font_size_adjust_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a> *a_this</code></em>);
55
- <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="returnvalue">CRFontSizeAdjust</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-size-adjust-new" title="cr_font_size_adjust_new ()">cr_font_size_adjust_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
56
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-size-adjust-to-string" title="cr_font_size_adjust_to_string ()">cr_font_size_adjust_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a> const *a_this</code></em>);
57
- enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-clear" title="cr_font_size_clear ()">cr_font_size_clear</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>);
58
- enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-copy" title="cr_font_size_copy ()">cr_font_size_copy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_dst</code></em>,
59
- <em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_src</code></em>);
60
- <span class="returnvalue">void</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-destroy" title="cr_font_size_destroy ()">cr_font_size_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_font_size</code></em>);
61
- <span class="returnvalue">void</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-get-larger-predefined-font-size" title="cr_font_size_get_larger_predefined_font_size ()">cr_font_size_get_larger_predefined_font_size</a>
62
- (<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>,
63
- <em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> *a_larger_size</code></em>);
64
- <span class="returnvalue">void</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-get-smaller-predefined-font-size" title="cr_font_size_get_smaller_predefined_font_size ()">cr_font_size_get_smaller_predefined_font_size</a>
65
- (<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>,
66
- <em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> *a_smaller_size</code></em>);
67
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-is-predefined-absolute-font-size" title="cr_font_size_is_predefined_absolute_font_size ()">cr_font_size_is_predefined_absolute_font_size</a>
68
- (<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>);
69
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-is-set-to-inherit" title="cr_font_size_is_set_to_inherit ()">cr_font_size_is_set_to_inherit</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_this</code></em>);
70
- <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="returnvalue">CRFontSize</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-size-new" title="cr_font_size_new ()">cr_font_size_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
71
- enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-absolute-font-size" title="cr_font_size_set_absolute_font_size ()">cr_font_size_set_absolute_font_size</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
72
- <em class="parameter"><code><span class="type">enum CRNumType</span> a_num_type</code></em>,
73
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> a_value</code></em>);
74
- enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-predefined-absolute-font-size" title="cr_font_size_set_predefined_absolute_font_size ()">cr_font_size_set_predefined_absolute_font_size</a>
75
- (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
76
- <em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_predefined</code></em>);
77
- enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-relative-font-size" title="cr_font_size_set_relative_font_size ()">cr_font_size_set_relative_font_size</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
78
- <em class="parameter"><code><span class="type">enum CRRelativeFontSize</span> a_relative</code></em>);
79
- enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-to-inherit" title="cr_font_size_set_to_inherit ()">cr_font_size_set_to_inherit</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>);
80
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-size-to-string" title="cr_font_size_to_string ()">cr_font_size_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_this</code></em>);
81
- const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-stretch-to-string" title="cr_font_stretch_to_string ()">cr_font_stretch_to_string</a> (<em class="parameter"><code><span class="type">enum CRFontStretch</span> a_code</code></em>);
82
- const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-style-to-string" title="cr_font_style_to_string ()">cr_font_style_to_string</a> (<em class="parameter"><code><span class="type">enum CRFontStyle</span> a_code</code></em>);
83
- const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-variant-to-string" title="cr_font_variant_to_string ()">cr_font_variant_to_string</a> (<em class="parameter"><code><span class="type">enum CRFontVariant</span> a_code</code></em>);
84
- enum <span class="returnvalue">CRFontWeight</span> <a class="link" href="libcroco-cr-fonts.html#cr-font-weight-get-bolder" title="cr_font_weight_get_bolder ()">cr_font_weight_get_bolder</a> (<em class="parameter"><code><span class="type">enum CRFontWeight</span> a_weight</code></em>);
85
- const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libcroco-cr-fonts.html#cr-font-weight-to-string" title="cr_font_weight_to_string ()">cr_font_weight_to_string</a> (<em class="parameter"><code><span class="type">enum CRFontWeight</span> a_code</code></em>);
86
- </pre>
87
- </div>
88
- <div class="refsect1">
89
- <a name="libcroco-cr-fonts.description"></a><h2>Description</h2>
90
- <p>
91
- </p>
92
- </div>
93
34
  <div class="refsect1">
94
- <a name="libcroco-cr-fonts.details"></a><h2>Details</h2>
95
- <div class="refsect2">
96
- <a name="CRFontFamily"></a><h3>struct CRFontFamily</h3>
97
- <pre class="programlisting">struct CRFontFamily {
98
- enum CRFontFamilyType type ;
99
-
100
- /*
101
- *The name of the font family, in case
102
- *it is non generic.
103
- *Is set only if the type is FONT_FAMILY_NON_GENERIC.
104
- */
105
- guchar *name ;
106
-
107
- CRFontFamily *next ;
108
- CRFontFamily *prev ;
109
- };
110
- </pre>
111
- <p>
112
- </p>
113
- </div>
114
- <hr>
115
- <div class="refsect2">
116
- <a name="CRFontSize"></a><h3>struct CRFontSize</h3>
117
- <pre class="programlisting">struct CRFontSize {
118
- enum CRFontSizeType type ;
119
- union {
120
- enum CRPredefinedAbsoluteFontSize predefined ;
121
- enum CRRelativeFontSize relative ;
122
- CRNum absolute ;
123
- } value;
124
- };
125
- </pre>
126
- <p>
127
- </p>
128
- </div>
129
- <hr>
130
- <div class="refsect2">
131
- <a name="CRFontSizeAdjust"></a><h3>struct CRFontSizeAdjust</h3>
132
- <pre class="programlisting">struct CRFontSizeAdjust {
133
- enum CRFontSizeAdjustType type ;
134
- CRNum *num ;
135
- };
136
- </pre>
137
- <p>
138
- </p>
139
- </div>
140
- <hr>
141
- <div class="refsect2">
142
- <a name="cr-font-family-append"></a><h3>cr_font_family_append ()</h3>
143
- <pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> * cr_font_family_append (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
144
- <em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_family_to_append</code></em>);</pre>
145
- <div class="variablelist"><table border="0">
146
- <col align="left" valign="top">
35
+ <a name="libcroco-cr-fonts.functions"></a><h2>Functions</h2>
36
+ <div class="informaltable"><table width="100%" border="0">
37
+ <colgroup>
38
+ <col width="150px" class="functions_return">
39
+ <col class="functions_name">
40
+ </colgroup>
147
41
  <tbody>
148
42
  <tr>
149
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
150
- <td>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</td>
43
+ <td class="function_type">
44
+ <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
45
+ </td>
46
+ <td class="function_name">
47
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-family-new" title="cr_font_family_new ()">cr_font_family_new</a> <span class="c_punctuation">()</span>
48
+ </td>
151
49
  </tr>
152
50
  <tr>
153
- <td><p><span class="term"><em class="parameter"><code>a_family_to_append</code></em> :</span></p></td>
154
- <td>the font family to append to the list</td>
51
+ <td class="function_type">
52
+ <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
53
+ </td>
54
+ <td class="function_name">
55
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-family-append" title="cr_font_family_append ()">cr_font_family_append</a> <span class="c_punctuation">()</span>
56
+ </td>
155
57
  </tr>
156
58
  <tr>
157
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
158
- <td>the new font family list.</td>
59
+ <td class="function_type">
60
+ <span class="returnvalue">guchar</span> *
61
+ </td>
62
+ <td class="function_name">
63
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-family-to-string" title="cr_font_family_to_string ()">cr_font_family_to_string</a> <span class="c_punctuation">()</span>
64
+ </td>
159
65
  </tr>
160
- </tbody>
161
- </table></div>
162
- </div>
163
- <hr>
164
- <div class="refsect2">
165
- <a name="cr-font-family-destroy"></a><h3>cr_font_family_destroy ()</h3>
166
- <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_font_family_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>);</pre>
167
- <div class="variablelist"><table border="0">
168
- <col align="left" valign="top">
169
- <tbody>
170
66
  <tr>
171
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
172
- <td>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</td>
67
+ <td class="function_type">
68
+ <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
69
+ </td>
70
+ <td class="function_name">
71
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-family-prepend" title="cr_font_family_prepend ()">cr_font_family_prepend</a> <span class="c_punctuation">()</span>
72
+ </td>
173
73
  </tr>
174
74
  <tr>
175
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
176
- <td>CR_OK upon sucessful completion, an error code otherwise.</td>
75
+ <td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
76
+ </td>
77
+ <td class="function_name">
78
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-family-destroy" title="cr_font_family_destroy ()">cr_font_family_destroy</a> <span class="c_punctuation">()</span>
79
+ </td>
177
80
  </tr>
178
- </tbody>
179
- </table></div>
180
- </div>
181
- <hr>
182
- <div class="refsect2">
183
- <a name="cr-font-family-new"></a><h3>cr_font_family_new ()</h3>
184
- <pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> * cr_font_family_new (<em class="parameter"><code><span class="type">enum CRFontFamilyType</span> a_type</code></em>,
185
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_name</code></em>);</pre>
186
- <p>
187
- create a font family.
188
- </p>
189
- <div class="variablelist"><table border="0">
190
- <col align="left" valign="top">
191
- <tbody>
192
81
  <tr>
193
- <td><p><span class="term"><em class="parameter"><code>a_type</code></em> :</span></p></td>
194
- <td>the type of font family to create.</td>
82
+ <td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
83
+ </td>
84
+ <td class="function_name">
85
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-family-set-name" title="cr_font_family_set_name ()">cr_font_family_set_name</a> <span class="c_punctuation">()</span>
86
+ </td>
195
87
  </tr>
196
88
  <tr>
197
- <td><p><span class="term"><em class="parameter"><code>a_name</code></em> :</span></p></td>
198
- <td>the name of the font family.</td>
89
+ <td class="function_type">
90
+ <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="returnvalue">CRFontSize</span></a> *
91
+ </td>
92
+ <td class="function_name">
93
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-size-new" title="cr_font_size_new ()">cr_font_size_new</a> <span class="c_punctuation">()</span>
94
+ </td>
199
95
  </tr>
200
96
  <tr>
201
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
202
- <td>the newly built font family.</td>
97
+ <td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
98
+ </td>
99
+ <td class="function_name">
100
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-size-clear" title="cr_font_size_clear ()">cr_font_size_clear</a> <span class="c_punctuation">()</span>
101
+ </td>
203
102
  </tr>
204
- </tbody>
205
- </table></div>
206
- </div>
207
- <hr>
208
- <div class="refsect2">
209
- <a name="cr-font-family-prepend"></a><h3>cr_font_family_prepend ()</h3>
210
- <pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> * cr_font_family_prepend (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
211
- <em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_family_to_prepend</code></em>);</pre>
212
- <div class="variablelist"><table border="0">
213
- <col align="left" valign="top">
214
- <tbody>
215
103
  <tr>
216
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
217
- <td>the current instance <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</td>
104
+ <td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
105
+ </td>
106
+ <td class="function_name">
107
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-size-copy" title="cr_font_size_copy ()">cr_font_size_copy</a> <span class="c_punctuation">()</span>
108
+ </td>
218
109
  </tr>
219
110
  <tr>
220
- <td><p><span class="term"><em class="parameter"><code>a_family_to_prepend</code></em> :</span></p></td>
221
- <td>the font family to prepend to the list.</td>
111
+ <td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
112
+ </td>
113
+ <td class="function_name">
114
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-predefined-absolute-font-size" title="cr_font_size_set_predefined_absolute_font_size ()">cr_font_size_set_predefined_absolute_font_size</a> <span class="c_punctuation">()</span>
115
+ </td>
222
116
  </tr>
223
117
  <tr>
224
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
225
- <td>the font family list.</td>
118
+ <td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
119
+ </td>
120
+ <td class="function_name">
121
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-relative-font-size" title="cr_font_size_set_relative_font_size ()">cr_font_size_set_relative_font_size</a> <span class="c_punctuation">()</span>
122
+ </td>
123
+ </tr>
124
+ <tr>
125
+ <td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
126
+ </td>
127
+ <td class="function_name">
128
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-absolute-font-size" title="cr_font_size_set_absolute_font_size ()">cr_font_size_set_absolute_font_size</a> <span class="c_punctuation">()</span>
129
+ </td>
130
+ </tr>
131
+ <tr>
132
+ <td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
133
+ </td>
134
+ <td class="function_name">
135
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-to-inherit" title="cr_font_size_set_to_inherit ()">cr_font_size_set_to_inherit</a> <span class="c_punctuation">()</span>
136
+ </td>
137
+ </tr>
138
+ <tr>
139
+ <td class="function_type">
140
+ <span class="returnvalue">gboolean</span>
141
+ </td>
142
+ <td class="function_name">
143
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-size-is-set-to-inherit" title="cr_font_size_is_set_to_inherit ()">cr_font_size_is_set_to_inherit</a> <span class="c_punctuation">()</span>
144
+ </td>
145
+ </tr>
146
+ <tr>
147
+ <td class="function_type">
148
+ <span class="returnvalue">gchar</span> *
149
+ </td>
150
+ <td class="function_name">
151
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-size-to-string" title="cr_font_size_to_string ()">cr_font_size_to_string</a> <span class="c_punctuation">()</span>
152
+ </td>
153
+ </tr>
154
+ <tr>
155
+ <td class="function_type">
156
+ <span class="returnvalue">void</span>
157
+ </td>
158
+ <td class="function_name">
159
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-size-destroy" title="cr_font_size_destroy ()">cr_font_size_destroy</a> <span class="c_punctuation">()</span>
160
+ </td>
161
+ </tr>
162
+ <tr>
163
+ <td class="function_type">
164
+ <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="returnvalue">CRFontSizeAdjust</span></a> *
165
+ </td>
166
+ <td class="function_name">
167
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-size-adjust-new" title="cr_font_size_adjust_new ()">cr_font_size_adjust_new</a> <span class="c_punctuation">()</span>
168
+ </td>
169
+ </tr>
170
+ <tr>
171
+ <td class="function_type">
172
+ <span class="returnvalue">gchar</span> *
173
+ </td>
174
+ <td class="function_name">
175
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-size-adjust-to-string" title="cr_font_size_adjust_to_string ()">cr_font_size_adjust_to_string</a> <span class="c_punctuation">()</span>
176
+ </td>
177
+ </tr>
178
+ <tr>
179
+ <td class="function_type">
180
+ <span class="returnvalue">void</span>
181
+ </td>
182
+ <td class="function_name">
183
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-size-adjust-destroy" title="cr_font_size_adjust_destroy ()">cr_font_size_adjust_destroy</a> <span class="c_punctuation">()</span>
184
+ </td>
185
+ </tr>
186
+ <tr>
187
+ <td class="function_type">
188
+ <span class="returnvalue">void</span>
189
+ </td>
190
+ <td class="function_name">
191
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-size-get-smaller-predefined-font-size" title="cr_font_size_get_smaller_predefined_font_size ()">cr_font_size_get_smaller_predefined_font_size</a> <span class="c_punctuation">()</span>
192
+ </td>
193
+ </tr>
194
+ <tr>
195
+ <td class="function_type">
196
+ <span class="returnvalue">void</span>
197
+ </td>
198
+ <td class="function_name">
199
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-size-get-larger-predefined-font-size" title="cr_font_size_get_larger_predefined_font_size ()">cr_font_size_get_larger_predefined_font_size</a> <span class="c_punctuation">()</span>
200
+ </td>
201
+ </tr>
202
+ <tr>
203
+ <td class="function_type">
204
+ <span class="returnvalue">gboolean</span>
205
+ </td>
206
+ <td class="function_name">
207
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-size-is-predefined-absolute-font-size" title="cr_font_size_is_predefined_absolute_font_size ()">cr_font_size_is_predefined_absolute_font_size</a> <span class="c_punctuation">()</span>
208
+ </td>
226
209
  </tr>
227
- </tbody>
228
- </table></div>
229
- </div>
230
- <hr>
231
- <div class="refsect2">
232
- <a name="cr-font-family-set-name"></a><h3>cr_font_family_set_name ()</h3>
233
- <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_font_family_set_name (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
234
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_name</code></em>);</pre>
235
- <div class="variablelist"><table border="0">
236
- <col align="left" valign="top">
237
- <tbody>
238
210
  <tr>
239
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em:</span></p></td>
240
- <td>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</td>
211
+ <td class="function_type">const <span class="returnvalue">gchar</span*
212
+ </td>
213
+ <td class="function_name">
214
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-style-to-string" title="cr_font_style_to_string ()">cr_font_style_to_string</a> <span class="c_punctuation">()</span>
215
+ </td>
241
216
  </tr>
242
217
  <tr>
243
- <td><p><span class="term"><em class="parameter"><code>a_name</code></em:</span></p></td>
244
- <td>the new name</td>
218
+ <td class="function_type">const <span class="returnvalue">gchar</span*
219
+ </td>
220
+ <td class="function_name">
221
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-weight-to-string" title="cr_font_weight_to_string ()">cr_font_weight_to_string</a> <span class="c_punctuation">()</span>
222
+ </td>
245
223
  </tr>
246
224
  <tr>
247
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
248
- <td>CR_OK upon sucessful completion, an error code otherwise.</td>
225
+ <td class="function_type">enum <span class="returnvalue">CRFontWeight</span>
226
+ </td>
227
+ <td class="function_name">
228
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-weight-get-bolder" title="cr_font_weight_get_bolder ()">cr_font_weight_get_bolder</a> <span class="c_punctuation">()</span>
229
+ </td>
230
+ </tr>
231
+ <tr>
232
+ <td class="function_type">const <span class="returnvalue">gchar</span> *
233
+ </td>
234
+ <td class="function_name">
235
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-variant-to-string" title="cr_font_variant_to_string ()">cr_font_variant_to_string</a> <span class="c_punctuation">()</span>
236
+ </td>
237
+ </tr>
238
+ <tr>
239
+ <td class="function_type">const <span class="returnvalue">gchar</span> *
240
+ </td>
241
+ <td class="function_name">
242
+ <a class="link" href="libcroco-cr-fonts.html#cr-font-stretch-to-string" title="cr_font_stretch_to_string ()">cr_font_stretch_to_string</a> <span class="c_punctuation">()</span>
243
+ </td>
249
244
  </tr>
250
245
  </tbody>
251
246
  </table></div>
252
247
  </div>
253
- <hr>
254
- <div class="refsect2">
255
- <a name="cr-font-family-to-string"></a><h3>cr_font_family_to_string ()</h3>
256
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * cr_font_family_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> const *a_this</code></em>,
257
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_walk_font_family_list</code></em>);</pre>
258
- <div class="variablelist"><table border="0">
259
- <col align="left" valign="top">
248
+ <div class="refsect1">
249
+ <a name="libcroco-cr-fonts.other"></a><h2>Types and Values</h2>
250
+ <div class="informaltable"><table width="100%" border="0">
251
+ <colgroup>
252
+ <col width="150px" class="name">
253
+ <col class="description">
254
+ </colgroup>
260
255
  <tbody>
261
256
  <tr>
262
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
263
- <td>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</td>
257
+ <td class="datatype_keyword">struct</td>
258
+ <td class="function_name"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily">CRFontFamily</a></td>
264
259
  </tr>
265
260
  <tr>
266
- <td><p><span class="term"><em class="parameter"><code>a_walk_font_family_list</code></em> :</span></p></td>
267
- <td>wether the serialize the entire list.</td>
261
+ <td class="datatype_keyword">enum</td>
262
+ <td class="function_name"><a class="link" href="libcroco-cr-fonts.html#CRFontSizeType" title="enum CRFontSizeType">CRFontSizeType</a></td>
268
263
  </tr>
269
264
  <tr>
270
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
271
- <td>the seriliazed font family. The caller has to free it using
272
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
265
+ <td class="datatype_keyword">struct</td>
266
+ <td class="function_name"><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize">CRFontSize</a></td>
267
+ </tr>
268
+ <tr>
269
+ <td class="datatype_keyword">struct</td>
270
+ <td class="function_name"><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust">CRFontSizeAdjust</a></td>
273
271
  </tr>
274
272
  </tbody>
275
273
  </table></div>
276
274
  </div>
277
- <hr>
278
- <div class="refsect2">
279
- <a name="cr-font-size-adjust-destroy"></a><h3>cr_font_size_adjust_destroy ()</h3>
280
- <pre class="programlisting"><span class="returnvalue">void</span> cr_font_size_adjust_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a> *a_this</code></em>);</pre>
281
- <div class="variablelist"><table border="0">
282
- <col align="left" valign="top">
283
- <tbody><tr>
284
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
285
- <td>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a>.</td>
286
- </tr></tbody>
287
- </table></div>
275
+ <div class="refsect1">
276
+ <a name="libcroco-cr-fonts.description"></a><h2>Description</h2>
288
277
  </div>
289
- <hr>
278
+ <div class="refsect1">
279
+ <a name="libcroco-cr-fonts.functions_details"></a><h2>Functions</h2>
290
280
  <div class="refsect2">
291
- <a name="cr-font-size-adjust-new"></a><h3>cr_font_size_adjust_new ()</h3>
292
- <pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="returnvalue">CRFontSizeAdjust</span></a> * cr_font_size_adjust_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
293
- <div class="variablelist"><table border="0">
294
- <col align="left" valign="top">
295
- <tbody><tr>
296
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
297
- <td>a newly built instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a>
298
- </td>
299
- </tr></tbody>
281
+ <a name="cr-font-family-new"></a><h3>cr_font_family_new ()</h3>
282
+ <pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
283
+ cr_font_family_new (<em class="parameter"><code><span class="type">enum CRFontFamilyType</span> a_type</code></em>,
284
+ <em class="parameter"><code><span class="type">guchar</span> *a_name</code></em>);</pre>
285
+ <p>create a font family.</p>
286
+ <p>Returns the newly built font family.</p>
287
+ <div class="refsect3">
288
+ <a name="id-1.2.8.6.2.6"></a><h4>Parameters</h4>
289
+ <div class="informaltable"><table width="100%" border="0">
290
+ <colgroup>
291
+ <col width="150px" class="parameters_name">
292
+ <col class="parameters_description">
293
+ <col width="200px" class="parameters_annotations">
294
+ </colgroup>
295
+ <tbody>
296
+ <tr>
297
+ <td class="parameter_name"><p>a_type</p></td>
298
+ <td class="parameter_description"><p>the type of font family to create.</p></td>
299
+ <td class="parameter_annotations"> </td>
300
+ </tr>
301
+ <tr>
302
+ <td class="parameter_name"><p>a_name</p></td>
303
+ <td class="parameter_description"><p>the name of the font family.</p></td>
304
+ <td class="parameter_annotations"> </td>
305
+ </tr>
306
+ </tbody>
300
307
  </table></div>
301
308
  </div>
309
+ </div>
302
310
  <hr>
303
311
  <div class="refsect2">
304
- <a name="cr-font-size-adjust-to-string"></a><h3>cr_font_size_adjust_to_string ()</h3>
305
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * cr_font_size_adjust_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a> const *a_this</code></em>);</pre>
306
- <div class="variablelist"><table border="0">
307
- <col align="left" valign="top">
312
+ <a name="cr-font-family-append"></a><h3>cr_font_family_append ()</h3>
313
+ <pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
314
+ cr_font_family_append (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
315
+ <em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_family_to_append</code></em>);</pre>
316
+ <p>Returns the new font family list.</p>
317
+ <div class="refsect3">
318
+ <a name="id-1.2.8.6.3.5"></a><h4>Parameters</h4>
319
+ <div class="informaltable"><table width="100%" border="0">
320
+ <colgroup>
321
+ <col width="150px" class="parameters_name">
322
+ <col class="parameters_description">
323
+ <col width="200px" class="parameters_annotations">
324
+ </colgroup>
308
325
  <tbody>
309
326
  <tr>
310
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
311
- <td>the instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a>.</td>
327
+ <td class="parameter_name"><p>a_this</p></td>
328
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</p></td>
329
+ <td class="parameter_annotations"> </td>
312
330
  </tr>
313
331
  <tr>
314
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
315
- <td>the serialized form of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a>
316
- </td>
332
+ <td class="parameter_name"><p>a_family_to_append</p></td>
333
+ <td class="parameter_description"><p>the font family to append to the list</p></td>
334
+ <td class="parameter_annotations"> </td>
317
335
  </tr>
318
336
  </tbody>
319
337
  </table></div>
320
338
  </div>
339
+ </div>
321
340
  <hr>
322
341
  <div class="refsect2">
323
- <a name="cr-font-size-clear"></a><h3>cr_font_size_clear ()</h3>
324
- <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_font_size_clear (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>);</pre>
325
- <div class="variablelist"><table border="0">
326
- <col align="left" valign="top">
342
+ <a name="cr-font-family-to-string"></a><h3>cr_font_family_to_string ()</h3>
343
+ <pre class="programlisting"><span class="returnvalue">guchar</span> *
344
+ cr_font_family_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> const *a_this</code></em>,
345
+ <em class="parameter"><code><span class="type">gboolean</span> a_walk_font_family_list</code></em>);</pre>
346
+ <p>Returns the seriliazed font family. The caller has to free it using
347
+ <code class="function">g_free()</code>.</p>
348
+ <div class="refsect3">
349
+ <a name="id-1.2.8.6.4.5"></a><h4>Parameters</h4>
350
+ <div class="informaltable"><table width="100%" border="0">
351
+ <colgroup>
352
+ <col width="150px" class="parameters_name">
353
+ <col class="parameters_description">
354
+ <col width="200px" class="parameters_annotations">
355
+ </colgroup>
327
356
  <tbody>
328
357
  <tr>
329
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
330
- <td>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>
331
- </td>
358
+ <td class="parameter_name"><p>a_this</p></td>
359
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</p></td>
360
+ <td class="parameter_annotations"> </td>
332
361
  </tr>
333
362
  <tr>
334
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
335
- <td>CR_OK upon successful completion, an error code otherwise.</td>
363
+ <td class="parameter_name"><p>a_walk_font_family_list</p></td>
364
+ <td class="parameter_description"><p>wether the serialize the entire list.</p></td>
365
+ <td class="parameter_annotations"> </td>
336
366
  </tr>
337
367
  </tbody>
338
368
  </table></div>
339
369
  </div>
370
+ </div>
340
371
  <hr>
341
372
  <div class="refsect2">
342
- <a name="cr-font-size-copy"></a><h3>cr_font_size_copy ()</h3>
343
- <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_font_size_copy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_dst</code></em>,
344
- <em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_src</code></em>);</pre>
345
- <div class="variablelist"><table border="0">
346
- <col align="left" valign="top">
373
+ <a name="cr-font-family-prepend"></a><h3>cr_font_family_prepend ()</h3>
374
+ <pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
375
+ cr_font_family_prepend (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
376
+ <em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_family_to_prepend</code></em>);</pre>
377
+ <p>Returns the font family list.</p>
378
+ <div class="refsect3">
379
+ <a name="id-1.2.8.6.5.5"></a><h4>Parameters</h4>
380
+ <div class="informaltable"><table width="100%" border="0">
381
+ <colgroup>
382
+ <col width="150px" class="parameters_name">
383
+ <col class="parameters_description">
384
+ <col width="200px" class="parameters_annotations">
385
+ </colgroup>
347
386
  <tbody>
348
387
  <tr>
349
- <td><p><span class="term"><em class="parameter"><code>a_dst</code></em> :</span></p></td>
350
- <td>the destination <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> (where to copy to).</td>
388
+ <td class="parameter_name"><p>a_this</p></td>
389
+ <td class="parameter_description"><p>the current instance <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</p></td>
390
+ <td class="parameter_annotations"> </td>
351
391
  </tr>
352
392
  <tr>
353
- <td><p><span class="term"><em class="parameter"><code>a_src</code></em> :</span></p></td>
354
- <td>the source <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> (where to copy from).</td>
355
- </tr>
356
- <tr>
357
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
358
- <td>CR_OK upon successful completion, an error code otherwise.</td>
393
+ <td class="parameter_name"><p>a_family_to_prepend</p></td>
394
+ <td class="parameter_description"><p>the font family to prepend to the list.</p></td>
395
+ <td class="parameter_annotations"> </td>
359
396
  </tr>
360
397
  </tbody>
361
398
  </table></div>
362
399
  </div>
400
+ </div>
363
401
  <hr>
364
402
  <div class="refsect2">
365
- <a name="cr-font-size-destroy"></a><h3>cr_font_size_destroy ()</h3>
366
- <pre class="programlisting"><span class="returnvalue">void</span> cr_font_size_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_font_size</code></em>);</pre>
367
- <div class="variablelist"><table border="0">
368
- <col align="left" valign="top">
403
+ <a name="cr-font-family-destroy"></a><h3>cr_font_family_destroy ()</h3>
404
+ <pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
405
+ cr_font_family_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>);</pre>
406
+ <p>Returns CR_OK upon sucessful completion, an error code otherwise.</p>
407
+ <div class="refsect3">
408
+ <a name="id-1.2.8.6.6.5"></a><h4>Parameters</h4>
409
+ <div class="informaltable"><table width="100%" border="0">
410
+ <colgroup>
411
+ <col width="150px" class="parameters_name">
412
+ <col class="parameters_description">
413
+ <col width="200px" class="parameters_annotations">
414
+ </colgroup>
369
415
  <tbody><tr>
370
- <td><p><span class="term"><em class="parameter"><code>a_font_size</code></em> :</span></p></td>
371
- <td>the font size to destroy</td>
416
+ <td class="parameter_name"><p>a_this</p></td>
417
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</p></td>
418
+ <td class="parameter_annotations"> </td>
372
419
  </tr></tbody>
373
420
  </table></div>
374
421
  </div>
422
+ </div>
375
423
  <hr>
376
424
  <div class="refsect2">
377
- <a name="cr-font-size-get-larger-predefined-font-size"></a><h3>cr_font_size_get_larger_predefined_font_size ()</h3>
378
- <pre class="programlisting"><span class="returnvalue">void</span> cr_font_size_get_larger_predefined_font_size
379
- (<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>,
380
- <em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> *a_larger_size</code></em>);</pre>
381
- <div class="variablelist"><table border="0">
382
- <col align="left" valign="top">
425
+ <a name="cr-font-family-set-name"></a><h3>cr_font_family_set_name ()</h3>
426
+ <pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
427
+ cr_font_family_set_name (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
428
+ <em class="parameter"><code><span class="type">guchar</span> *a_name</code></em>);</pre>
429
+ <p>Returns CR_OK upon sucessful completion, an error code otherwise.</p>
430
+ <div class="refsect3">
431
+ <a name="id-1.2.8.6.7.5"></a><h4>Parameters</h4>
432
+ <div class="informaltable"><table width="100%" border="0">
433
+ <colgroup>
434
+ <col width="150px" class="parameters_name">
435
+ <col class="parameters_description">
436
+ <col width="200px" class="parameters_annotations">
437
+ </colgroup>
383
438
  <tbody>
384
439
  <tr>
385
- <td><p><span class="term"><em class="parameter"><code>a_font_size</code></em> :</span></p></td>
386
- <td>the font size to consider.</td>
440
+ <td class="parameter_name"><p>a_this</p></td>
441
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</p></td>
442
+ <td class="parameter_annotations"> </td>
387
443
  </tr>
388
444
  <tr>
389
- <td><p><span class="term"><em class="parameter"><code>a_larger_size</code></em> :</span></p></td>
390
- <td>out parameter. the font size considered larger than
391
- <em class="parameter"><code>a_font_size</code></em>.</td>
445
+ <td class="parameter_name"><p>a_name</p></td>
446
+ <td class="parameter_description"><p>the new name</p></td>
447
+ <td class="parameter_annotations"> </td>
392
448
  </tr>
393
449
  </tbody>
394
450
  </table></div>
395
451
  </div>
452
+ </div>
396
453
  <hr>
397
454
  <div class="refsect2">
398
- <a name="cr-font-size-get-smaller-predefined-font-size"></a><h3>cr_font_size_get_smaller_predefined_font_size ()</h3>
399
- <pre class="programlisting"><span class="returnvalue">void</span> cr_font_size_get_smaller_predefined_font_size
400
- (<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>,
401
- <em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> *a_smaller_size</code></em>);</pre>
402
- <p>
403
- </p>
455
+ <a name="cr-font-size-new"></a><h3>cr_font_size_new ()</h3>
456
+ <pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="returnvalue">CRFontSize</span></a> *
457
+ cr_font_size_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
458
+ <p>Returns the newly created font size.</p>
404
459
  </div>
405
460
  <hr>
406
461
  <div class="refsect2">
407
- <a name="cr-font-size-is-predefined-absolute-font-size"></a><h3>cr_font_size_is_predefined_absolute_font_size ()</h3>
408
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cr_font_size_is_predefined_absolute_font_size
409
- (<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>);</pre>
410
- <div class="variablelist"><table border="0">
411
- <col align="left" valign="top">
412
- <tbody>
413
- <tr>
414
- <td><p><span class="term"><em class="parameter"><code>a_font_size</code></em> :</span></p></td>
415
- <td>the font size to consider.</td>
416
- </tr>
417
- <tr>
418
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
419
- <td>TRUE if the instance is an predefined absolute font size, FALSE
420
- otherwise.</td>
421
- </tr>
422
- </tbody>
462
+ <a name="cr-font-size-clear"></a><h3>cr_font_size_clear ()</h3>
463
+ <pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
464
+ cr_font_size_clear (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>);</pre>
465
+ <p>Returns CR_OK upon successful completion, an error code otherwise.</p>
466
+ <div class="refsect3">
467
+ <a name="id-1.2.8.6.9.5"></a><h4>Parameters</h4>
468
+ <div class="informaltable"><table width="100%" border="0">
469
+ <colgroup>
470
+ <col width="150px" class="parameters_name">
471
+ <col class="parameters_description">
472
+ <col width="200px" class="parameters_annotations">
473
+ </colgroup>
474
+ <tbody><tr>
475
+ <td class="parameter_name"><p>a_this</p></td>
476
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a></p></td>
477
+ <td class="parameter_annotations"> </td>
478
+ </tr></tbody>
423
479
  </table></div>
424
480
  </div>
481
+ </div>
425
482
  <hr>
426
483
  <div class="refsect2">
427
- <a name="cr-font-size-is-set-to-inherit"></a><h3>cr_font_size_is_set_to_inherit ()</h3>
428
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cr_font_size_is_set_to_inherit (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_this</code></em>);</pre>
429
- <div class="variablelist"><table border="0">
430
- <col align="left" valign="top">
484
+ <a name="cr-font-size-copy"></a><h3>cr_font_size_copy ()</h3>
485
+ <pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
486
+ cr_font_size_copy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_dst</code></em>,
487
+ <em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_src</code></em>);</pre>
488
+ <p>Returns CR_OK upon successful completion, an error code otherwise.</p>
489
+ <div class="refsect3">
490
+ <a name="id-1.2.8.6.10.5"></a><h4>Parameters</h4>
491
+ <div class="informaltable"><table width="100%" border="0">
492
+ <colgroup>
493
+ <col width="150px" class="parameters_name">
494
+ <col class="parameters_description">
495
+ <col width="200px" class="parameters_annotations">
496
+ </colgroup>
431
497
  <tbody>
432
498
  <tr>
433
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
434
- <td>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>.</td>
499
+ <td class="parameter_name"><p>a_dst</p></td>
500
+ <td class="parameter_description"><p>the destination <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> (where to copy to).</p></td>
501
+ <td class="parameter_annotations"> </td>
435
502
  </tr>
436
503
  <tr>
437
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
438
- <td>TRUE if the current instance is set to 'inherit'.</td>
504
+ <td class="parameter_name"><p>a_src</p></td>
505
+ <td class="parameter_description"><p>the source <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> (where to copy from).</p></td>
506
+ <td class="parameter_annotations"> </td>
439
507
  </tr>
440
508
  </tbody>
441
509
  </table></div>
442
510
  </div>
443
- <hr>
444
- <div class="refsect2">
445
- <a name="cr-font-size-new"></a><h3>cr_font_size_new ()</h3>
446
- <pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="returnvalue">CRFontSize</span></a> * cr_font_size_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
447
- <div class="variablelist"><table border="0">
448
- <col align="left" valign="top">
449
- <tbody><tr>
450
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
451
- <td>the newly created font size.</td>
452
- </tr></tbody>
453
- </table></div>
454
511
  </div>
455
512
  <hr>
456
513
  <div class="refsect2">
457
- <a name="cr-font-size-set-absolute-font-size"></a><h3>cr_font_size_set_absolute_font_size ()</h3>
458
- <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_font_size_set_absolute_font_size (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
459
- <em class="parameter"><code><span class="type">enum CRNumType</span> a_num_type</code></em>,
460
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> a_value</code></em>);</pre>
461
- <div class="variablelist"><table border="0">
462
- <col align="left" valign="top">
514
+ <a name="cr-font-size-set-predefined-absolute-font-size"></a><h3>cr_font_size_set_predefined_absolute_font_size ()</h3>
515
+ <pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
516
+ cr_font_size_set_predefined_absolute_font_size
517
+ (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
518
+ <em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_predefined</code></em>);</pre>
519
+ <p>Returns CR_OK upon sucessful completion, an error code otherwise.</p>
520
+ <div class="refsect3">
521
+ <a name="id-1.2.8.6.11.5"></a><h4>Parameters</h4>
522
+ <div class="informaltable"><table width="100%" border="0">
523
+ <colgroup>
524
+ <col width="150px" class="parameters_name">
525
+ <col class="parameters_description">
526
+ <col width="200px" class="parameters_annotations">
527
+ </colgroup>
463
528
  <tbody>
464
529
  <tr>
465
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
466
- <td>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>
467
- </td>
468
- </tr>
469
- <tr>
470
- <td><p><span class="term"><em class="parameter"><code>a_num_type</code></em> :</span></p></td>
471
- <td>the type of number to set.</td>
472
- </tr>
473
- <tr>
474
- <td><p><span class="term"><em class="parameter"><code>a_value</code></em> :</span></p></td>
475
- <td>the actual value to set.</td>
530
+ <td class="parameter_name"><p>a_this</p></td>
531
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>.</p></td>
532
+ <td class="parameter_annotations"> </td>
476
533
  </tr>
477
534
  <tr>
478
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
479
- <td>CR_OK upon succesful completion, an error code otherwise.</td>
535
+ <td class="parameter_name"><p>a_predefined</p></td>
536
+ <td class="parameter_description"><p>what to set.</p></td>
537
+ <td class="parameter_annotations"> </td>
480
538
  </tr>
481
539
  </tbody>
482
540
  </table></div>
483
541
  </div>
542
+ </div>
484
543
  <hr>
485
544
  <div class="refsect2">
486
- <a name="cr-font-size-set-predefined-absolute-font-size"></a><h3>cr_font_size_set_predefined_absolute_font_size ()</h3>
487
- <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_font_size_set_predefined_absolute_font_size
488
- (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
489
- <em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_predefined</code></em>);</pre>
490
- <div class="variablelist"><table border="0">
491
- <col align="left" valign="top">
545
+ <a name="cr-font-size-set-relative-font-size"></a><h3>cr_font_size_set_relative_font_size ()</h3>
546
+ <pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
547
+ cr_font_size_set_relative_font_size (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
548
+ <em class="parameter"><code><span class="type">enum CRRelativeFontSize</span> a_relative</code></em>);</pre>
549
+ <p>Returns CR_OK upon successful completion, an error code otherwise.</p>
550
+ <div class="refsect3">
551
+ <a name="id-1.2.8.6.12.5"></a><h4>Parameters</h4>
552
+ <div class="informaltable"><table width="100%" border="0">
553
+ <colgroup>
554
+ <col width="150px" class="parameters_name">
555
+ <col class="parameters_description">
556
+ <col width="200px" class="parameters_annotations">
557
+ </colgroup>
492
558
  <tbody>
493
559
  <tr>
494
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
495
- <td>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>.</td>
496
- </tr>
497
- <tr>
498
- <td><p><span class="term"><em class="parameter"><code>a_predefined</code></em> :</span></p></td>
499
- <td>what to set.</td>
560
+ <td class="parameter_name"><p>a_this</p></td>
561
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a></p></td>
562
+ <td class="parameter_annotations"> </td>
500
563
  </tr>
501
564
  <tr>
502
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
503
- <td>CR_OK upon sucessful completion, an error code otherwise.</td>
565
+ <td class="parameter_name"><p>a_relative</p></td>
566
+ <td class="parameter_description"><p>the new relative font size</p></td>
567
+ <td class="parameter_annotations"> </td>
504
568
  </tr>
505
569
  </tbody>
506
570
  </table></div>
507
571
  </div>
572
+ </div>
508
573
  <hr>
509
574
  <div class="refsect2">
510
- <a name="cr-font-size-set-relative-font-size"></a><h3>cr_font_size_set_relative_font_size ()</h3>
511
- <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_font_size_set_relative_font_size (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
512
- <em class="parameter"><code><span class="type">enum CRRelativeFontSize</span> a_relative</code></em>);</pre>
513
- <div class="variablelist"><table border="0">
514
- <col align="left" valign="top">
575
+ <a name="cr-font-size-set-absolute-font-size"></a><h3>cr_font_size_set_absolute_font_size ()</h3>
576
+ <pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
577
+ cr_font_size_set_absolute_font_size (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
578
+ <em class="parameter"><code><span class="type">enum CRNumType</span> a_num_type</code></em>,
579
+ <em class="parameter"><code><span class="type">gdouble</span> a_value</code></em>);</pre>
580
+ <p>Returns CR_OK upon succesful completion, an error code otherwise.</p>
581
+ <div class="refsect3">
582
+ <a name="id-1.2.8.6.13.5"></a><h4>Parameters</h4>
583
+ <div class="informaltable"><table width="100%" border="0">
584
+ <colgroup>
585
+ <col width="150px" class="parameters_name">
586
+ <col class="parameters_description">
587
+ <col width="200px" class="parameters_annotations">
588
+ </colgroup>
515
589
  <tbody>
516
590
  <tr>
517
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
518
- <td>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>
519
- </td>
591
+ <td class="parameter_name"><p>a_this</p></td>
592
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a></p></td>
593
+ <td class="parameter_annotations"> </td>
520
594
  </tr>
521
595
  <tr>
522
- <td><p><span class="term"><em class="parameter"><code>a_relative</code></em> :</span></p></td>
523
- <td>the new relative font size</td>
596
+ <td class="parameter_name"><p>a_num_type</p></td>
597
+ <td class="parameter_description"><p>the type of number to set.</p></td>
598
+ <td class="parameter_annotations"> </td>
524
599
  </tr>
525
600
  <tr>
526
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
527
- <td>CR_OK upon successful completion, an error code otherwise.</td>
601
+ <td class="parameter_name"><p>a_value</p></td>
602
+ <td class="parameter_description"><p>the actual value to set.</p></td>
603
+ <td class="parameter_annotations"> </td>
528
604
  </tr>
529
605
  </tbody>
530
606
  </table></div>
531
607
  </div>
608
+ </div>
532
609
  <hr>
533
610
  <div class="refsect2">
534
- <a name="cr-font-size-set-to-inherit"></a><h3>cr_font_size_set_to_inherit ()</h3>
535
- <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_font_size_set_to_inherit (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>);</pre>
536
- <div class="variablelist"><table border="0">
537
- <col align="left" valign="top">
538
- <tbody>
539
- <tr>
540
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
541
- <td>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>
542
- </td>
543
- </tr>
544
- <tr>
545
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
546
- <td>CR_OK upon succesful completion, an error code otherwise.</td>
547
- </tr>
548
- </tbody>
611
+ <a name="cr-font-size-set-to-inherit"></a><h3>cr_font_size_set_to_inherit ()</h3>
612
+ <pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
613
+ cr_font_size_set_to_inherit (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>);</pre>
614
+ <p>Returns CR_OK upon succesful completion, an error code otherwise.</p>
615
+ <div class="refsect3">
616
+ <a name="id-1.2.8.6.14.5"></a><h4>Parameters</h4>
617
+ <div class="informaltable"><table width="100%" border="0">
618
+ <colgroup>
619
+ <col width="150px" class="parameters_name">
620
+ <col class="parameters_description">
621
+ <col width="200px" class="parameters_annotations">
622
+ </colgroup>
623
+ <tbody><tr>
624
+ <td class="parameter_name"><p>a_this</p></td>
625
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> </p></td>
626
+ <td class="parameter_annotations"> </td>
627
+ </tr></tbody>
549
628
  </table></div>
550
629
  </div>
630
+ </div>
551
631
  <hr>
552
632
  <div class="refsect2">
553
- <a name="cr-font-size-to-string"></a><h3>cr_font_size_to_string ()</h3>
554
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * cr_font_size_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_this</code></em>);</pre>
555
- <div class="variablelist"><table border="0">
556
- <col align="left" valign="top">
557
- <tbody>
558
- <tr>
559
- <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
560
- <td>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>
561
- </td>
562
- </tr>
563
- <tr>
564
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
565
- <td>the serialized form of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>. The returned string
566
- has to bee freed using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
567
- </tr>
568
- </tbody>
633
+ <a name="cr-font-size-is-set-to-inherit"></a><h3>cr_font_size_is_set_to_inherit ()</h3>
634
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
635
+ cr_font_size_is_set_to_inherit (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_this</code></em>);</pre>
636
+ <p>Returns TRUE if the current instance is set to 'inherit'.</p>
637
+ <div class="refsect3">
638
+ <a name="id-1.2.8.6.15.5"></a><h4>Parameters</h4>
639
+ <div class="informaltable"><table width="100%" border="0">
640
+ <colgroup>
641
+ <col width="150px" class="parameters_name">
642
+ <col class="parameters_description">
643
+ <col width="200px" class="parameters_annotations">
644
+ </colgroup>
645
+ <tbody><tr>
646
+ <td class="parameter_name"><p>a_this</p></td>
647
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>.</p></td>
648
+ <td class="parameter_annotations"> </td>
649
+ </tr></tbody>
569
650
  </table></div>
570
651
  </div>
652
+ </div>
571
653
  <hr>
572
654
  <div class="refsect2">
573
- <a name="cr-font-stretch-to-string"></a><h3>cr_font_stretch_to_string ()</h3>
574
- <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * cr_font_stretch_to_string (<em class="parameter"><code><span class="type">enum CRFontStretch</span> a_code</code></em>);</pre>
575
- <div class="variablelist"><table border="0">
576
- <col align="left" valign="top">
577
- <tbody>
578
- <tr>
579
- <td><p><span class="term"><em class="parameter"><code>a_code</code></em> :</span></p></td>
580
- <td>the instance of <span class="type">CRFontStretch</span> to consider.</td>
581
- </tr>
582
- <tr>
583
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
584
- <td>the serialized form of <span class="type">CRFontStretch</span>.</td>
585
- </tr>
586
- </tbody>
655
+ <a name="cr-font-size-to-string"></a><h3>cr_font_size_to_string ()</h3>
656
+ <pre class="programlisting"><span class="returnvalue">gchar</span> *
657
+ cr_font_size_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_this</code></em>);</pre>
658
+ <p>Returns the serialized form of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>. The returned string
659
+ has to bee freed using <code class="function">g_free()</code>.</p>
660
+ <div class="refsect3">
661
+ <a name="id-1.2.8.6.16.5"></a><h4>Parameters</h4>
662
+ <div class="informaltable"><table width="100%" border="0">
663
+ <colgroup>
664
+ <col width="150px" class="parameters_name">
665
+ <col class="parameters_description">
666
+ <col width="200px" class="parameters_annotations">
667
+ </colgroup>
668
+ <tbody><tr>
669
+ <td class="parameter_name"><p>a_this</p></td>
670
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a></p></td>
671
+ <td class="parameter_annotations"> </td>
672
+ </tr></tbody>
587
673
  </table></div>
588
674
  </div>
675
+ </div>
589
676
  <hr>
590
677
  <div class="refsect2">
591
- <a name="cr-font-style-to-string"></a><h3>cr_font_style_to_string ()</h3>
592
- <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * cr_font_style_to_string (<em class="parameter"><code><span class="type">enum CRFontStyle</span> a_code</code></em>);</pre>
593
- <div class="variablelist"><table border="0">
594
- <col align="left" valign="top">
595
- <tbody>
596
- <tr>
597
- <td><p><span class="term"><em class="parameter"><code>a_code</code></em> :</span></p></td>
598
- <td>the current instance of <span class="type">CRFontStyle</span> .</td>
599
- </tr>
600
- <tr>
601
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
602
- <td>the serialized <span class="type">CRFontStyle</span>. The caller must free the returned
603
- string using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
604
- </tr>
605
- </tbody>
678
+ <a name="cr-font-size-destroy"></a><h3>cr_font_size_destroy ()</h3>
679
+ <pre class="programlisting"><span class="returnvalue">void</span>
680
+ cr_font_size_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_font_size</code></em>);</pre>
681
+ <div class="refsect3">
682
+ <a name="id-1.2.8.6.17.4"></a><h4>Parameters</h4>
683
+ <div class="informaltable"><table width="100%" border="0">
684
+ <colgroup>
685
+ <col width="150px" class="parameters_name">
686
+ <col class="parameters_description">
687
+ <col width="200px" class="parameters_annotations">
688
+ </colgroup>
689
+ <tbody><tr>
690
+ <td class="parameter_name"><p>a_font_size</p></td>
691
+ <td class="parameter_description"><p>the font size to destroy</p></td>
692
+ <td class="parameter_annotations"> </td>
693
+ </tr></tbody>
606
694
  </table></div>
607
695
  </div>
696
+ </div>
608
697
  <hr>
609
698
  <div class="refsect2">
610
- <a name="cr-font-variant-to-string"></a><h3>cr_font_variant_to_string ()</h3>
611
- <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * cr_font_variant_to_string (<em class="parameter"><code><span class="type">enum CRFontVariant</span> a_code</code></em>);</pre>
612
- <div class="variablelist"><table border="0">
613
- <col align="left" valign="top">
614
- <tbody>
615
- <tr>
616
- <td><p><span class="term"><em class="parameter"><code>a_code</code></em> :</span></p></td>
617
- <td>the current instance of <span class="type">CRFontVariant</span>.</td>
618
- </tr>
619
- <tr>
620
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
621
- <td>the serialized form of <span class="type">CRFontVariant</span>. The caller has
622
- to free the returned string using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
623
- </tr>
624
- </tbody>
699
+ <a name="cr-font-size-adjust-new"></a><h3>cr_font_size_adjust_new ()</h3>
700
+ <pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="returnvalue">CRFontSizeAdjust</span></a> *
701
+ cr_font_size_adjust_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
702
+ <p>Returns a newly built instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a></p>
703
+ </div>
704
+ <hr>
705
+ <div class="refsect2">
706
+ <a name="cr-font-size-adjust-to-string"></a><h3>cr_font_size_adjust_to_string ()</h3>
707
+ <pre class="programlisting"><span class="returnvalue">gchar</span> *
708
+ cr_font_size_adjust_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a> const *a_this</code></em>);</pre>
709
+ <p>Returns the serialized form of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a></p>
710
+ <div class="refsect3">
711
+ <a name="id-1.2.8.6.19.5"></a><h4>Parameters</h4>
712
+ <div class="informaltable"><table width="100%" border="0">
713
+ <colgroup>
714
+ <col width="150px" class="parameters_name">
715
+ <col class="parameters_description">
716
+ <col width="200px" class="parameters_annotations">
717
+ </colgroup>
718
+ <tbody><tr>
719
+ <td class="parameter_name"><p>a_this</p></td>
720
+ <td class="parameter_description"><p>the instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a>.</p></td>
721
+ <td class="parameter_annotations"> </td>
722
+ </tr></tbody>
625
723
  </table></div>
626
724
  </div>
725
+ </div>
627
726
  <hr>
628
727
  <div class="refsect2">
629
- <a name="cr-font-weight-get-bolder"></a><h3>cr_font_weight_get_bolder ()</h3>
630
- <pre class="programlisting">enum <span class="returnvalue">CRFontWeight</span> cr_font_weight_get_bolder (<em class="parameter"><code><span class="type">enum CRFontWeight</span> a_weight</code></em>);</pre>
631
- <div class="variablelist"><table border="0">
632
- <col align="left" valign="top">
728
+ <a name="cr-font-size-adjust-destroy"></a><h3>cr_font_size_adjust_destroy ()</h3>
729
+ <pre class="programlisting"><span class="returnvalue">void</span>
730
+ cr_font_size_adjust_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a> *a_this</code></em>);</pre>
731
+ <div class="refsect3">
732
+ <a name="id-1.2.8.6.20.4"></a><h4>Parameters</h4>
733
+ <div class="informaltable"><table width="100%" border="0">
734
+ <colgroup>
735
+ <col width="150px" class="parameters_name">
736
+ <col class="parameters_description">
737
+ <col width="200px" class="parameters_annotations">
738
+ </colgroup>
739
+ <tbody><tr>
740
+ <td class="parameter_name"><p>a_this</p></td>
741
+ <td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a>.</p></td>
742
+ <td class="parameter_annotations"> </td>
743
+ </tr></tbody>
744
+ </table></div>
745
+ </div>
746
+ </div>
747
+ <hr>
748
+ <div class="refsect2">
749
+ <a name="cr-font-size-get-smaller-predefined-font-size"></a><h3>cr_font_size_get_smaller_predefined_font_size ()</h3>
750
+ <pre class="programlisting"><span class="returnvalue">void</span>
751
+ cr_font_size_get_smaller_predefined_font_size
752
+ (<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>,
753
+ <em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> *a_smaller_size</code></em>);</pre>
754
+ </div>
755
+ <hr>
756
+ <div class="refsect2">
757
+ <a name="cr-font-size-get-larger-predefined-font-size"></a><h3>cr_font_size_get_larger_predefined_font_size ()</h3>
758
+ <pre class="programlisting"><span class="returnvalue">void</span>
759
+ cr_font_size_get_larger_predefined_font_size
760
+ (<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>,
761
+ <em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> *a_larger_size</code></em>);</pre>
762
+ <div class="refsect3">
763
+ <a name="id-1.2.8.6.22.4"></a><h4>Parameters</h4>
764
+ <div class="informaltable"><table width="100%" border="0">
765
+ <colgroup>
766
+ <col width="150px" class="parameters_name">
767
+ <col class="parameters_description">
768
+ <col width="200px" class="parameters_annotations">
769
+ </colgroup>
633
770
  <tbody>
634
771
  <tr>
635
- <td><p><span class="term"><em class="parameter"><code>a_weight</code></em> :</span></p></td>
636
- <td>the <span class="type">CRFontWeight</span> to consider.</td>
772
+ <td class="parameter_name"><p>a_font_size</p></td>
773
+ <td class="parameter_description"><p>the font size to consider.</p></td>
774
+ <td class="parameter_annotations"> </td>
637
775
  </tr>
638
776
  <tr>
639
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
640
- <td>a font weight bolder than <em class="parameter"><code>a_weight</code></em>
641
- </td>
777
+ <td class="parameter_name"><p>a_larger_size</p></td>
778
+ <td class="parameter_description"><p>out parameter. the font size considered larger than
779
+ <em class="parameter"><code>a_font_size</code></em>
780
+ .</p></td>
781
+ <td class="parameter_annotations"> </td>
642
782
  </tr>
643
783
  </tbody>
644
784
  </table></div>
645
785
  </div>
786
+ </div>
787
+ <hr>
788
+ <div class="refsect2">
789
+ <a name="cr-font-size-is-predefined-absolute-font-size"></a><h3>cr_font_size_is_predefined_absolute_font_size ()</h3>
790
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
791
+ cr_font_size_is_predefined_absolute_font_size
792
+ (<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>);</pre>
793
+ <p>Returns TRUE if the instance is an predefined absolute font size, FALSE
794
+ otherwise.</p>
795
+ <div class="refsect3">
796
+ <a name="id-1.2.8.6.23.5"></a><h4>Parameters</h4>
797
+ <div class="informaltable"><table width="100%" border="0">
798
+ <colgroup>
799
+ <col width="150px" class="parameters_name">
800
+ <col class="parameters_description">
801
+ <col width="200px" class="parameters_annotations">
802
+ </colgroup>
803
+ <tbody><tr>
804
+ <td class="parameter_name"><p>a_font_size</p></td>
805
+ <td class="parameter_description"><p>the font size to consider.</p></td>
806
+ <td class="parameter_annotations"> </td>
807
+ </tr></tbody>
808
+ </table></div>
809
+ </div>
810
+ </div>
811
+ <hr>
812
+ <div class="refsect2">
813
+ <a name="cr-font-style-to-string"></a><h3>cr_font_style_to_string ()</h3>
814
+ <pre class="programlisting">const <span class="returnvalue">gchar</span> *
815
+ cr_font_style_to_string (<em class="parameter"><code><span class="type">enum CRFontStyle</span> a_code</code></em>);</pre>
816
+ <p>Returns the serialized <span class="type">CRFontStyle</span>. The caller must free the returned
817
+ string using <code class="function">g_free()</code>.</p>
818
+ <div class="refsect3">
819
+ <a name="id-1.2.8.6.24.5"></a><h4>Parameters</h4>
820
+ <div class="informaltable"><table width="100%" border="0">
821
+ <colgroup>
822
+ <col width="150px" class="parameters_name">
823
+ <col class="parameters_description">
824
+ <col width="200px" class="parameters_annotations">
825
+ </colgroup>
826
+ <tbody><tr>
827
+ <td class="parameter_name"><p>a_code</p></td>
828
+ <td class="parameter_description"><p>the current instance of <span class="type">CRFontStyle</span> .</p></td>
829
+ <td class="parameter_annotations"> </td>
830
+ </tr></tbody>
831
+ </table></div>
832
+ </div>
833
+ </div>
834
+ <hr>
835
+ <div class="refsect2">
836
+ <a name="cr-font-weight-to-string"></a><h3>cr_font_weight_to_string ()</h3>
837
+ <pre class="programlisting">const <span class="returnvalue">gchar</span> *
838
+ cr_font_weight_to_string (<em class="parameter"><code><span class="type">enum CRFontWeight</span> a_code</code></em>);</pre>
839
+ <p>Returns the serialized form of <span class="type">CRFontWeight</span>.</p>
840
+ <div class="refsect3">
841
+ <a name="id-1.2.8.6.25.5"></a><h4>Parameters</h4>
842
+ <div class="informaltable"><table width="100%" border="0">
843
+ <colgroup>
844
+ <col width="150px" class="parameters_name">
845
+ <col class="parameters_description">
846
+ <col width="200px" class="parameters_annotations">
847
+ </colgroup>
848
+ <tbody><tr>
849
+ <td class="parameter_name"><p>a_code</p></td>
850
+ <td class="parameter_description"><p>the font weight to consider.</p></td>
851
+ <td class="parameter_annotations"> </td>
852
+ </tr></tbody>
853
+ </table></div>
854
+ </div>
855
+ </div>
856
+ <hr>
857
+ <div class="refsect2">
858
+ <a name="cr-font-weight-get-bolder"></a><h3>cr_font_weight_get_bolder ()</h3>
859
+ <pre class="programlisting">enum <span class="returnvalue">CRFontWeight</span>
860
+ cr_font_weight_get_bolder (<em class="parameter"><code><span class="type">enum CRFontWeight</span> a_weight</code></em>);</pre>
861
+ <p>Returns a font weight bolder than <em class="parameter"><code>a_weight</code></em>
862
+ </p>
863
+ <div class="refsect3">
864
+ <a name="id-1.2.8.6.26.5"></a><h4>Parameters</h4>
865
+ <div class="informaltable"><table width="100%" border="0">
866
+ <colgroup>
867
+ <col width="150px" class="parameters_name">
868
+ <col class="parameters_description">
869
+ <col width="200px" class="parameters_annotations">
870
+ </colgroup>
871
+ <tbody><tr>
872
+ <td class="parameter_name"><p>a_weight</p></td>
873
+ <td class="parameter_description"><p>the <span class="type">CRFontWeight</span> to consider.</p></td>
874
+ <td class="parameter_annotations"> </td>
875
+ </tr></tbody>
876
+ </table></div>
877
+ </div>
878
+ </div>
879
+ <hr>
880
+ <div class="refsect2">
881
+ <a name="cr-font-variant-to-string"></a><h3>cr_font_variant_to_string ()</h3>
882
+ <pre class="programlisting">const <span class="returnvalue">gchar</span> *
883
+ cr_font_variant_to_string (<em class="parameter"><code><span class="type">enum CRFontVariant</span> a_code</code></em>);</pre>
884
+ <p>Returns the serialized form of <span class="type">CRFontVariant</span>. The caller has
885
+ to free the returned string using <code class="function">g_free()</code>.</p>
886
+ <div class="refsect3">
887
+ <a name="id-1.2.8.6.27.5"></a><h4>Parameters</h4>
888
+ <div class="informaltable"><table width="100%" border="0">
889
+ <colgroup>
890
+ <col width="150px" class="parameters_name">
891
+ <col class="parameters_description">
892
+ <col width="200px" class="parameters_annotations">
893
+ </colgroup>
894
+ <tbody><tr>
895
+ <td class="parameter_name"><p>a_code</p></td>
896
+ <td class="parameter_description"><p>the current instance of <span class="type">CRFontVariant</span>.</p></td>
897
+ <td class="parameter_annotations"> </td>
898
+ </tr></tbody>
899
+ </table></div>
900
+ </div>
901
+ </div>
902
+ <hr>
903
+ <div class="refsect2">
904
+ <a name="cr-font-stretch-to-string"></a><h3>cr_font_stretch_to_string ()</h3>
905
+ <pre class="programlisting">const <span class="returnvalue">gchar</span> *
906
+ cr_font_stretch_to_string (<em class="parameter"><code><span class="type">enum CRFontStretch</span> a_code</code></em>);</pre>
907
+ <p>Returns the serialized form of <span class="type">CRFontStretch</span>.</p>
908
+ <div class="refsect3">
909
+ <a name="id-1.2.8.6.28.5"></a><h4>Parameters</h4>
910
+ <div class="informaltable"><table width="100%" border="0">
911
+ <colgroup>
912
+ <col width="150px" class="parameters_name">
913
+ <col class="parameters_description">
914
+ <col width="200px" class="parameters_annotations">
915
+ </colgroup>
916
+ <tbody><tr>
917
+ <td class="parameter_name"><p>a_code</p></td>
918
+ <td class="parameter_description"><p>the instance of <span class="type">CRFontStretch</span> to consider.</p></td>
919
+ <td class="parameter_annotations"> </td>
920
+ </tr></tbody>
921
+ </table></div>
922
+ </div>
923
+ </div>
924
+ </div>
925
+ <div class="refsect1">
926
+ <a name="libcroco-cr-fonts.other_details"></a><h2>Types and Values</h2>
927
+ <div class="refsect2">
928
+ <a name="CRFontFamily"></a><h3>struct CRFontFamily</h3>
929
+ <pre class="programlisting">struct CRFontFamily {
930
+ enum CRFontFamilyType type ;
931
+
932
+ /*
933
+ *The name of the font family, in case
934
+ *it is non generic.
935
+ *Is set only if the type is FONT_FAMILY_NON_GENERIC.
936
+ */
937
+ guchar *name ;
938
+
939
+ CRFontFamily *next ;
940
+ CRFontFamily *prev ;
941
+ };
942
+ </pre>
943
+ </div>
646
944
  <hr>
647
945
  <div class="refsect2">
648
- <a name="cr-font-weight-to-string"></a><h3>cr_font_weight_to_string ()</h3>
649
- <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * cr_font_weight_to_string (<em class="parameter"><code><span class="type">enum CRFontWeight</span> a_code</code></em>);</pre>
650
- <div class="variablelist"><table border="0">
651
- <col align="left" valign="top">
946
+ <a name="CRFontSizeType"></a><h3>enum CRFontSizeType</h3>
947
+ <div class="refsect3">
948
+ <a name="id-1.2.8.7.3.3"></a><h4>Members</h4>
949
+ <div class="informaltable"><table width="100%" border="0">
950
+ <colgroup>
951
+ <col width="300px" class="enum_members_name">
952
+ <col class="enum_members_description">
953
+ <col width="200px" class="enum_members_annotations">
954
+ </colgroup>
652
955
  <tbody>
653
956
  <tr>
654
- <td><p><span class="term"><em class="parameter"><code>a_code</code></em> :</span></p></td>
655
- <td>the font weight to consider.</td>
957
+ <td class="enum_member_name"><p><a name="PREDEFINED-ABSOLUTE-FONT-SIZE:CAPS"></a>PREDEFINED_ABSOLUTE_FONT_SIZE</p></td>
958
+ <td> </td>
959
+ <td> </td>
960
+ </tr>
961
+ <tr>
962
+ <td class="enum_member_name"><p><a name="ABSOLUTE-FONT-SIZE:CAPS"></a>ABSOLUTE_FONT_SIZE</p></td>
963
+ <td> </td>
964
+ <td> </td>
656
965
  </tr>
657
966
  <tr>
658
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
659
- <td>the serialized form of <span class="type">CRFontWeight</span>.</td>
967
+ <td class="enum_member_name"><p><a name="RELATIVE-FONT-SIZE:CAPS"></a>RELATIVE_FONT_SIZE</p></td>
968
+ <td> </td>
969
+ <td> </td>
970
+ </tr>
971
+ <tr>
972
+ <td class="enum_member_name"><p><a name="INHERITED-FONT-SIZE:CAPS"></a>INHERITED_FONT_SIZE</p></td>
973
+ <td> </td>
974
+ <td> </td>
975
+ </tr>
976
+ <tr>
977
+ <td class="enum_member_name"><p><a name="NB-FONT-SIZE-TYPE:CAPS"></a>NB_FONT_SIZE_TYPE</p></td>
978
+ <td> </td>
979
+ <td> </td>
660
980
  </tr>
661
981
  </tbody>
662
982
  </table></div>
663
983
  </div>
664
984
  </div>
985
+ <hr>
986
+ <div class="refsect2">
987
+ <a name="CRFontSize"></a><h3>struct CRFontSize</h3>
988
+ <pre class="programlisting">struct CRFontSize {
989
+ enum CRFontSizeType type ;
990
+ union {
991
+ enum CRPredefinedAbsoluteFontSize predefined ;
992
+ enum CRRelativeFontSize relative ;
993
+ CRNum absolute ;
994
+ } value;
995
+ };
996
+ </pre>
997
+ </div>
998
+ <hr>
999
+ <div class="refsect2">
1000
+ <a name="CRFontSizeAdjust"></a><h3>struct CRFontSizeAdjust</h3>
1001
+ <pre class="programlisting">struct CRFontSizeAdjust {
1002
+ enum CRFontSizeAdjustType type ;
1003
+ CRNum *num ;
1004
+ };
1005
+ </pre>
1006
+ </div>
1007
+ </div>
665
1008
  </div>
666
1009
  <div class="footer">
667
- <hr>
668
- Generated by GTK-Doc V1.18</div>
1010
+ <hr>Generated by GTK-Doc V1.24.1</div>
669
1011
  </body>
670
1012
  </html>