rsvg2 2.2.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +7 -0
  2. data/README +35 -0
  3. data/Rakefile +69 -0
  4. data/ext/rsvg2/depend +6 -0
  5. data/ext/rsvg2/extconf.rb +89 -0
  6. data/ext/rsvg2/rbrsvg.c +206 -0
  7. data/ext/rsvg2/rbrsvgdimensiondata.c +194 -0
  8. data/ext/rsvg2/rbrsvghandle.c +496 -0
  9. data/ext/rsvg2/rsvg2.def +2 -0
  10. data/ext/rsvg2/rsvg2.h +70 -0
  11. data/extconf.rb +49 -0
  12. data/lib/2.0/rsvg2.so +0 -0
  13. data/lib/2.1/rsvg2.so +0 -0
  14. data/lib/2.2/rsvg2.so +0 -0
  15. data/lib/rsvg2.rb +33 -0
  16. data/sample/svg-viewer.rb +44 -0
  17. data/sample/svg2.rb +60 -0
  18. data/test/rsvg2-test-utils.rb +23 -0
  19. data/test/run-test.rb +49 -0
  20. data/test/test-handle.rb +91 -0
  21. data/vendor/local/bin/croco-0.6-config +87 -0
  22. data/vendor/local/bin/csslint-0.6.exe +0 -0
  23. data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
  24. data/vendor/local/bin/librsvg-2-2.dll +0 -0
  25. data/vendor/local/bin/rsvg-convert.exe +0 -0
  26. data/vendor/local/include/libcroco-0.6/libcroco/cr-additional-sel.h +98 -0
  27. data/vendor/local/include/libcroco-0.6/libcroco/cr-attr-sel.h +74 -0
  28. data/vendor/local/include/libcroco-0.6/libcroco/cr-cascade.h +74 -0
  29. data/vendor/local/include/libcroco-0.6/libcroco/cr-declaration.h +136 -0
  30. data/vendor/local/include/libcroco-0.6/libcroco/cr-doc-handler.h +298 -0
  31. data/vendor/local/include/libcroco-0.6/libcroco/cr-enc-handler.h +94 -0
  32. data/vendor/local/include/libcroco-0.6/libcroco/cr-fonts.h +315 -0
  33. data/vendor/local/include/libcroco-0.6/libcroco/cr-input.h +174 -0
  34. data/vendor/local/include/libcroco-0.6/libcroco/cr-num.h +127 -0
  35. data/vendor/local/include/libcroco-0.6/libcroco/cr-om-parser.h +98 -0
  36. data/vendor/local/include/libcroco-0.6/libcroco/cr-parser.h +128 -0
  37. data/vendor/local/include/libcroco-0.6/libcroco/cr-parsing-location.h +70 -0
  38. data/vendor/local/include/libcroco-0.6/libcroco/cr-prop-list.h +80 -0
  39. data/vendor/local/include/libcroco-0.6/libcroco/cr-pseudo.h +64 -0
  40. data/vendor/local/include/libcroco-0.6/libcroco/cr-rgb.h +94 -0
  41. data/vendor/local/include/libcroco-0.6/libcroco/cr-sel-eng.h +110 -0
  42. data/vendor/local/include/libcroco-0.6/libcroco/cr-selector.h +95 -0
  43. data/vendor/local/include/libcroco-0.6/libcroco/cr-simple-sel.h +130 -0
  44. data/vendor/local/include/libcroco-0.6/libcroco/cr-statement.h +440 -0
  45. data/vendor/local/include/libcroco-0.6/libcroco/cr-string.h +76 -0
  46. data/vendor/local/include/libcroco-0.6/libcroco/cr-style.h +339 -0
  47. data/vendor/local/include/libcroco-0.6/libcroco/cr-stylesheet.h +102 -0
  48. data/vendor/local/include/libcroco-0.6/libcroco/cr-term.h +190 -0
  49. data/vendor/local/include/libcroco-0.6/libcroco/cr-tknzr.h +115 -0
  50. data/vendor/local/include/libcroco-0.6/libcroco/cr-token.h +212 -0
  51. data/vendor/local/include/libcroco-0.6/libcroco/cr-utils.h +246 -0
  52. data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +17 -0
  53. data/vendor/local/include/libcroco-0.6/libcroco/libcroco.h +44 -0
  54. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-enum-types.h +24 -0
  55. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +28 -0
  56. data/vendor/local/include/librsvg-2.0/librsvg/rsvg-cairo.h +42 -0
  57. data/vendor/local/include/librsvg-2.0/librsvg/rsvg.h +264 -0
  58. data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
  59. data/vendor/local/lib/libcroco-0.6.a +0 -0
  60. data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
  61. data/vendor/local/lib/libcroco-0.6.la +41 -0
  62. data/vendor/local/lib/librsvg-2.a +0 -0
  63. data/vendor/local/lib/librsvg-2.dll.a +0 -0
  64. data/vendor/local/lib/librsvg-2.la +41 -0
  65. data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +11 -0
  66. data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +15 -0
  67. data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +754 -0
  68. data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +113 -0
  69. data/vendor/local/share/gtk-doc/html/libcroco/home.png +0 -0
  70. data/vendor/local/share/gtk-doc/html/libcroco/index.html +109 -0
  71. data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +582 -0
  72. data/vendor/local/share/gtk-doc/html/libcroco/left.png +0 -0
  73. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +337 -0
  74. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +203 -0
  75. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +240 -0
  76. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +642 -0
  77. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +517 -0
  78. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +164 -0
  79. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +670 -0
  80. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1102 -0
  81. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +265 -0
  82. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +380 -0
  83. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -0
  84. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +205 -0
  85. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +421 -0
  86. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +141 -0
  87. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +503 -0
  88. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +346 -0
  89. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +246 -0
  90. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +240 -0
  91. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1408 -0
  92. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +137 -0
  93. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +384 -0
  94. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +158 -0
  95. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +304 -0
  96. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +312 -0
  97. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +428 -0
  98. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +334 -0
  99. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +80 -0
  100. data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +511 -0
  101. data/vendor/local/share/gtk-doc/html/libcroco/right.png +0 -0
  102. data/vendor/local/share/gtk-doc/html/libcroco/style.css +266 -0
  103. data/vendor/local/share/gtk-doc/html/libcroco/up.png +0 -0
  104. data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1420 -0
  105. data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +55 -0
  106. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +55 -0
  107. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +43 -0
  108. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +47 -0
  109. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +46 -0
  110. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +39 -0
  111. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +54 -0
  112. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +53 -0
  113. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +100 -0
  114. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +323 -0
  115. data/vendor/local/share/gtk-doc/html/rsvg-2.0/home.png +0 -0
  116. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +88 -0
  117. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +106 -0
  118. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left-insensitive.png +0 -0
  119. data/vendor/local/share/gtk-doc/html/rsvg-2.0/left.png +0 -0
  120. data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +57 -0
  121. data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +38 -0
  122. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right-insensitive.png +0 -0
  123. data/vendor/local/share/gtk-doc/html/rsvg-2.0/right.png +0 -0
  124. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +94 -0
  125. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +360 -0
  126. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +484 -0
  127. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +154 -0
  128. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +142 -0
  129. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +57 -0
  130. data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +476 -0
  131. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up-insensitive.png +0 -0
  132. data/vendor/local/share/gtk-doc/html/rsvg-2.0/up.png +0 -0
  133. data/vendor/local/share/license/libcroco/AUTHORS +13 -0
  134. data/vendor/local/share/license/libcroco/COPYING +481 -0
  135. data/vendor/local/share/license/libcroco/COPYING.LIB +481 -0
  136. data/vendor/local/share/license/librsvg/AUTHORS +1 -0
  137. data/vendor/local/share/license/librsvg/COPYING +340 -0
  138. data/vendor/local/share/license/librsvg/COPYING.LIB +482 -0
  139. data/vendor/local/share/man/man1/rsvg-convert.1 +55 -0
  140. metadata +209 -0
@@ -0,0 +1,265 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>cr-num</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
+ <link rel="home" href="index.html" title="Libcroco Reference Manual">
8
+ <link rel="up" href="ch01.html" title="Extensive APIs description">
9
+ <link rel="prev" href="libcroco-cr-input.html" title="cr-input">
10
+ <link rel="next" href="libcroco-cr-om-parser.html" title="cr-om-parser">
11
+ <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
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-input.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-om-parser.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-num.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#libcroco-cr-num.description" class="shortcut">Description</a>
27
+ </td></tr>
28
+ </table>
29
+ <div class="refentry">
30
+ <a name="libcroco-cr-num"></a><div class="titlepage"></div>
31
+ <div class="refnamediv"><table width="100%"><tr>
32
+ <td valign="top">
33
+ <h2><span class="refentrytitle"><a name="libcroco-cr-num.top_of_page"></a>cr-num</span></h2>
34
+ <p>cr-num</p>
35
+ </td>
36
+ <td valign="top" align="right"></td>
37
+ </tr></table></div>
38
+ <div class="refsynopsisdiv">
39
+ <a name="libcroco-cr-num.synopsis"></a><h2>Synopsis</h2>
40
+ <pre class="synopsis">struct <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum">CRNum</a>;
41
+ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-num.html#cr-num-copy" title="cr_num_copy ()">cr_num_copy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> *a_dest</code></em>,
42
+ <em class="parameter"><code><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> const *a_src</code></em>);
43
+ <span class="returnvalue">void</span> <a class="link" href="libcroco-cr-num.html#cr-num-destroy" title="cr_num_destroy ()">cr_num_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> *a_this</code></em>);
44
+ <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="returnvalue">CRNum</span></a> * <a class="link" href="libcroco-cr-num.html#cr-num-dup" title="cr_num_dup ()">cr_num_dup</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> const *a_this</code></em>);
45
+ <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-num.html#cr-num-is-fixed-length" title="cr_num_is_fixed_length ()">cr_num_is_fixed_length</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> const *a_this</code></em>);
46
+ <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="returnvalue">CRNum</span></a> * <a class="link" href="libcroco-cr-num.html#cr-num-new" title="cr_num_new ()">cr_num_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
47
+ <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="returnvalue">CRNum</span></a> * <a class="link" href="libcroco-cr-num.html#cr-num-new-with-val" title="cr_num_new_with_val ()">cr_num_new_with_val</a> (<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_val</code></em>,
48
+ <em class="parameter"><code><span class="type">enum CRNumType</span> a_type</code></em>);
49
+ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-num.html#cr-num-set" title="cr_num_set ()">cr_num_set</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> *a_this</code></em>,
50
+ <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_val</code></em>,
51
+ <em class="parameter"><code><span class="type">enum CRNumType</span> a_type</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-num.html#cr-num-to-string" title="cr_num_to_string ()">cr_num_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> const *a_this</code></em>);
53
+ </pre>
54
+ </div>
55
+ <div class="refsect1">
56
+ <a name="libcroco-cr-num.description"></a><h2>Description</h2>
57
+ <p>
58
+ </p>
59
+ </div>
60
+ <div class="refsect1">
61
+ <a name="libcroco-cr-num.details"></a><h2>Details</h2>
62
+ <div class="refsect2">
63
+ <a name="CRNum"></a><h3>struct CRNum</h3>
64
+ <pre class="programlisting">struct CRNum {
65
+ enum CRNumType type ;
66
+ gdouble val ;
67
+ CRParsingLocation location ;
68
+ };
69
+ </pre>
70
+ <p>
71
+ </p>
72
+ </div>
73
+ <hr>
74
+ <div class="refsect2">
75
+ <a name="cr-num-copy"></a><h3>cr_num_copy ()</h3>
76
+ <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_num_copy (<em class="parameter"><code><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> *a_dest</code></em>,
77
+ <em class="parameter"><code><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> const *a_src</code></em>);</pre>
78
+ <p>
79
+ Copies an instance of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a>.
80
+ </p>
81
+ <div class="variablelist"><table border="0">
82
+ <col align="left" valign="top">
83
+ <tbody>
84
+ <tr>
85
+ <td><p><span class="term"><em class="parameter"><code>a_dest</code></em> :</span></p></td>
86
+ <td>the destination of the copy.
87
+ Must be non NULL</td>
88
+ </tr>
89
+ <tr>
90
+ <td><p><span class="term"><em class="parameter"><code>a_src</code></em> :</span></p></td>
91
+ <td>the instance of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> to copy.
92
+ Must be non NULL.</td>
93
+ </tr>
94
+ <tr>
95
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
96
+ <td>CR_OK upon successful completion, an
97
+ error code otherwise.</td>
98
+ </tr>
99
+ </tbody>
100
+ </table></div>
101
+ </div>
102
+ <hr>
103
+ <div class="refsect2">
104
+ <a name="cr-num-destroy"></a><h3>cr_num_destroy ()</h3>
105
+ <pre class="programlisting"><span class="returnvalue">void</span> cr_num_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> *a_this</code></em>);</pre>
106
+ <p>
107
+ The destructor of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a>.
108
+ </p>
109
+ <div class="variablelist"><table border="0">
110
+ <col align="left" valign="top">
111
+ <tbody><tr>
112
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
113
+ <td>the this pointer of
114
+ the current instance of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a>.</td>
115
+ </tr></tbody>
116
+ </table></div>
117
+ </div>
118
+ <hr>
119
+ <div class="refsect2">
120
+ <a name="cr-num-dup"></a><h3>cr_num_dup ()</h3>
121
+ <pre class="programlisting"><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="returnvalue">CRNum</span></a> * cr_num_dup (<em class="parameter"><code><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> const *a_this</code></em>);</pre>
122
+ <p>
123
+ Duplicates an instance of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a>
124
+ </p>
125
+ <div class="variablelist"><table border="0">
126
+ <col align="left" valign="top">
127
+ <tbody>
128
+ <tr>
129
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
130
+ <td>the instance of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> to duplicate.</td>
131
+ </tr>
132
+ <tr>
133
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
134
+ <td>the newly created (duplicated) instance of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a>.
135
+ Must be freed by <a class="link" href="libcroco-cr-num.html#cr-num-destroy" title="cr_num_destroy ()"><code class="function">cr_num_destroy()</code></a>.</td>
136
+ </tr>
137
+ </tbody>
138
+ </table></div>
139
+ </div>
140
+ <hr>
141
+ <div class="refsect2">
142
+ <a name="cr-num-is-fixed-length"></a><h3>cr_num_is_fixed_length ()</h3>
143
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cr_num_is_fixed_length (<em class="parameter"><code><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> const *a_this</code></em>);</pre>
144
+ <p>
145
+ Tests if the current instance of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> is a fixed
146
+ length value or not. Typically a fixed length value
147
+ is anything from NUM_LENGTH_EM to NUM_LENGTH_PC.
148
+ See the definition of <span class="type">CRNumType</span> to see what we mean.
149
+ </p>
150
+ <div class="variablelist"><table border="0">
151
+ <col align="left" valign="top">
152
+ <tbody>
153
+ <tr>
154
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
155
+ <td>the current instance of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> .</td>
156
+ </tr>
157
+ <tr>
158
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
159
+ <td>TRUE if the instance of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> is a fixed length number,
160
+ FALSE otherwise.</td>
161
+ </tr>
162
+ </tbody>
163
+ </table></div>
164
+ </div>
165
+ <hr>
166
+ <div class="refsect2">
167
+ <a name="cr-num-new"></a><h3>cr_num_new ()</h3>
168
+ <pre class="programlisting"><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="returnvalue">CRNum</span></a> * cr_num_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
169
+ <p>
170
+ <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a>.
171
+ </p>
172
+ <div class="variablelist"><table border="0">
173
+ <col align="left" valign="top">
174
+ <tbody><tr>
175
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
176
+ <td>the newly built instance of
177
+ <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a>.</td>
178
+ </tr></tbody>
179
+ </table></div>
180
+ </div>
181
+ <hr>
182
+ <div class="refsect2">
183
+ <a name="cr-num-new-with-val"></a><h3>cr_num_new_with_val ()</h3>
184
+ <pre class="programlisting"><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="returnvalue">CRNum</span></a> * cr_num_new_with_val (<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_val</code></em>,
185
+ <em class="parameter"><code><span class="type">enum CRNumType</span> a_type</code></em>);</pre>
186
+ <p>
187
+ A constructor of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a>.
188
+ </p>
189
+ <div class="variablelist"><table border="0">
190
+ <col align="left" valign="top">
191
+ <tbody>
192
+ <tr>
193
+ <td><p><span class="term"><em class="parameter"><code>a_val</code></em> :</span></p></td>
194
+ <td>the numerical value of the number.</td>
195
+ </tr>
196
+ <tr>
197
+ <td><p><span class="term"><em class="parameter"><code>a_type</code></em> :</span></p></td>
198
+ <td>the type of number.</td>
199
+ </tr>
200
+ <tr>
201
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
202
+ <td>the newly built instance of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> or
203
+ NULL if an error arises.</td>
204
+ </tr>
205
+ </tbody>
206
+ </table></div>
207
+ </div>
208
+ <hr>
209
+ <div class="refsect2">
210
+ <a name="cr-num-set"></a><h3>cr_num_set ()</h3>
211
+ <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_num_set (<em class="parameter"><code><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> *a_this</code></em>,
212
+ <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_val</code></em>,
213
+ <em class="parameter"><code><span class="type">enum CRNumType</span> a_type</code></em>);</pre>
214
+ <div class="variablelist"><table border="0">
215
+ <col align="left" valign="top">
216
+ <tbody>
217
+ <tr>
218
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
219
+ <td>the current instance of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> to be set.</td>
220
+ </tr>
221
+ <tr>
222
+ <td><p><span class="term"><em class="parameter"><code>a_val</code></em> :</span></p></td>
223
+ <td>the new numerical value to be hold by the current
224
+ instance of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a>
225
+ </td>
226
+ </tr>
227
+ <tr>
228
+ <td><p><span class="term"><em class="parameter"><code>a_type</code></em> :</span></p></td>
229
+ <td>the new type of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a>.</td>
230
+ </tr>
231
+ <tr>
232
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
233
+ <td>CR_OK upon succesful completion, an error code otherwise.</td>
234
+ </tr>
235
+ </tbody>
236
+ </table></div>
237
+ </div>
238
+ <hr>
239
+ <div class="refsect2">
240
+ <a name="cr-num-to-string"></a><h3>cr_num_to_string ()</h3>
241
+ <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * cr_num_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a> const *a_this</code></em>);</pre>
242
+ <div class="variablelist"><table border="0">
243
+ <col align="left" valign="top">
244
+ <tbody>
245
+ <tr>
246
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
247
+ <td>the current instance of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a>.</td>
248
+ </tr>
249
+ <tr>
250
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
251
+ <td>the newly built string representation
252
+ of the current instance of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a>. The returned
253
+ string is NULL terminated. The caller *must*
254
+ free the returned string.</td>
255
+ </tr>
256
+ </tbody>
257
+ </table></div>
258
+ </div>
259
+ </div>
260
+ </div>
261
+ <div class="footer">
262
+ <hr>
263
+ Generated by GTK-Doc V1.18</div>
264
+ </body>
265
+ </html>
@@ -0,0 +1,380 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>cr-om-parser</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
+ <link rel="home" href="index.html" title="Libcroco Reference Manual">
8
+ <link rel="up" href="ch01.html" title="Extensive APIs description">
9
+ <link rel="prev" href="libcroco-cr-num.html" title="cr-num">
10
+ <link rel="next" href="libcroco-cr-parser.html" title="cr-parser">
11
+ <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
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-num.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-parser.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-om-parser.synopsis" class="shortcut">Top</a>
25
+  | 
26
+ <a href="#libcroco-cr-om-parser.description" class="shortcut">Description</a>
27
+ </td></tr>
28
+ </table>
29
+ <div class="refentry">
30
+ <a name="libcroco-cr-om-parser"></a><div class="titlepage"></div>
31
+ <div class="refnamediv"><table width="100%"><tr>
32
+ <td valign="top">
33
+ <h2><span class="refentrytitle"><a name="libcroco-cr-om-parser.top_of_page"></a>cr-om-parser</span></h2>
34
+ <p>cr-om-parser</p>
35
+ </td>
36
+ <td valign="top" align="right"></td>
37
+ </tr></table></div>
38
+ <div class="refsynopsisdiv">
39
+ <a name="libcroco-cr-om-parser.synopsis"></a><h2>Synopsis</h2>
40
+ <pre class="synopsis">struct <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser">CROMParser</a>;
41
+ <a class="link" href="libcroco-cr-om-parser.html#CROMParserPriv" title="CROMParserPriv">CROMParserPriv</a>;
42
+ <span class="returnvalue">void</span> <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-destroy" title="cr_om_parser_destroy ()">cr_om_parser_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>);
43
+ <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="returnvalue">CROMParser</span></a> * <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-new" title="cr_om_parser_new ()">cr_om_parser_new</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-input.html#CRInput" title="struct CRInput"><span class="type">CRInput</span></a> *a_input</code></em>);
44
+ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-parse-buf" title="cr_om_parser_parse_buf ()">cr_om_parser_parse_buf</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>,
45
+ <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_buf</code></em>,
46
+ <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_len</code></em>,
47
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
48
+ <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);
49
+ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-parse-file" title="cr_om_parser_parse_file ()">cr_om_parser_parse_file</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>,
50
+ <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_file_uri</code></em>,
51
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
52
+ <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);
53
+ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-parse-paths-to-cascade" title="cr_om_parser_parse_paths_to_cascade ()">cr_om_parser_parse_paths_to_cascade</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>,
54
+ <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_author_path</code></em>,
55
+ <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_user_path</code></em>,
56
+ <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_ua_path</code></em>,
57
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_encoding</code></em>,
58
+ <em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> **a_result</code></em>);
59
+ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-simply-parse-buf" title="cr_om_parser_simply_parse_buf ()">cr_om_parser_simply_parse_buf</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_buf</code></em>,
60
+ <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_len</code></em>,
61
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
62
+ <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);
63
+ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-simply-parse-file" title="cr_om_parser_simply_parse_file ()">cr_om_parser_simply_parse_file</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_file_path</code></em>,
64
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
65
+ <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);
66
+ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-simply-parse-paths-to-cascade" title="cr_om_parser_simply_parse_paths_to_cascade ()">cr_om_parser_simply_parse_paths_to_cascade</a>
67
+ (<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_author_path</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_user_path</code></em>,
69
+ <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_ua_path</code></em>,
70
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_encoding</code></em>,
71
+ <em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> **a_result</code></em>);
72
+ </pre>
73
+ </div>
74
+ <div class="refsect1">
75
+ <a name="libcroco-cr-om-parser.description"></a><h2>Description</h2>
76
+ <p>
77
+ </p>
78
+ </div>
79
+ <div class="refsect1">
80
+ <a name="libcroco-cr-om-parser.details"></a><h2>Details</h2>
81
+ <div class="refsect2">
82
+ <a name="CROMParser"></a><h3>struct CROMParser</h3>
83
+ <pre class="programlisting">struct CROMParser {
84
+ CROMParserPriv *priv ;
85
+ };
86
+ </pre>
87
+ <p>
88
+ </p>
89
+ </div>
90
+ <hr>
91
+ <div class="refsect2">
92
+ <a name="CROMParserPriv"></a><h3>CROMParserPriv</h3>
93
+ <pre class="programlisting">typedef struct _CROMParserPriv CROMParserPriv;</pre>
94
+ <p>
95
+ </p>
96
+ </div>
97
+ <hr>
98
+ <div class="refsect2">
99
+ <a name="cr-om-parser-destroy"></a><h3>cr_om_parser_destroy ()</h3>
100
+ <pre class="programlisting"><span class="returnvalue">void</span> cr_om_parser_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>);</pre>
101
+ <p>
102
+ Destructor of the <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a>.
103
+ </p>
104
+ <div class="variablelist"><table border="0">
105
+ <col align="left" valign="top">
106
+ <tbody><tr>
107
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
108
+ <td>the current instance of <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a>.</td>
109
+ </tr></tbody>
110
+ </table></div>
111
+ </div>
112
+ <hr>
113
+ <div class="refsect2">
114
+ <a name="cr-om-parser-new"></a><h3>cr_om_parser_new ()</h3>
115
+ <pre class="programlisting"><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="returnvalue">CROMParser</span></a> * cr_om_parser_new (<em class="parameter"><code><a class="link" href="libcroco-cr-input.html#CRInput" title="struct CRInput"><span class="type">CRInput</span></a> *a_input</code></em>);</pre>
116
+ <p>
117
+ Constructor of the CROMParser.
118
+ </p>
119
+ <div class="variablelist"><table border="0">
120
+ <col align="left" valign="top">
121
+ <tbody>
122
+ <tr>
123
+ <td><p><span class="term"><em class="parameter"><code>a_input</code></em> :</span></p></td>
124
+ <td>the input stream.</td>
125
+ </tr>
126
+ <tr>
127
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
128
+ <td>the newly built instance of <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a>.</td>
129
+ </tr>
130
+ </tbody>
131
+ </table></div>
132
+ </div>
133
+ <hr>
134
+ <div class="refsect2">
135
+ <a name="cr-om-parser-parse-buf"></a><h3>cr_om_parser_parse_buf ()</h3>
136
+ <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_om_parser_parse_buf (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>,
137
+ <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_buf</code></em>,
138
+ <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_len</code></em>,
139
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
140
+ <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);</pre>
141
+ <p>
142
+ Parses the content of an in memory buffer.
143
+ </p>
144
+ <div class="variablelist"><table border="0">
145
+ <col align="left" valign="top">
146
+ <tbody>
147
+ <tr>
148
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
149
+ <td>the current instance of <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a>.</td>
150
+ </tr>
151
+ <tr>
152
+ <td><p><span class="term"><em class="parameter"><code>a_buf</code></em> :</span></p></td>
153
+ <td>the in memory buffer to parse.</td>
154
+ </tr>
155
+ <tr>
156
+ <td><p><span class="term"><em class="parameter"><code>a_len</code></em> :</span></p></td>
157
+ <td>the length of the in memory buffer in number of bytes.</td>
158
+ </tr>
159
+ <tr>
160
+ <td><p><span class="term"><em class="parameter"><code>a_enc</code></em> :</span></p></td>
161
+ <td>the encoding of the in memory buffer.</td>
162
+ </tr>
163
+ <tr>
164
+ <td><p><span class="term"><em class="parameter"><code>a_result</code></em> :</span></p></td>
165
+ <td>out parameter the resulting style sheet</td>
166
+ </tr>
167
+ <tr>
168
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
169
+ <td>CR_OK upon successfull completion, an error code otherwise.</td>
170
+ </tr>
171
+ </tbody>
172
+ </table></div>
173
+ </div>
174
+ <hr>
175
+ <div class="refsect2">
176
+ <a name="cr-om-parser-parse-file"></a><h3>cr_om_parser_parse_file ()</h3>
177
+ <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_om_parser_parse_file (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>,
178
+ <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_file_uri</code></em>,
179
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
180
+ <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);</pre>
181
+ <p>
182
+ Parses a css2 stylesheet contained
183
+ in a file.
184
+ </p>
185
+ <div class="variablelist"><table border="0">
186
+ <col align="left" valign="top">
187
+ <tbody>
188
+ <tr>
189
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
190
+ <td>the current instance of the cssom parser.</td>
191
+ </tr>
192
+ <tr>
193
+ <td><p><span class="term"><em class="parameter"><code>a_file_uri</code></em> :</span></p></td>
194
+ <td>the uri of the file.
195
+ (only local file paths are suppported so far)</td>
196
+ </tr>
197
+ <tr>
198
+ <td><p><span class="term"><em class="parameter"><code>a_enc</code></em> :</span></p></td>
199
+ <td>the encoding of the file.</td>
200
+ </tr>
201
+ <tr>
202
+ <td><p><span class="term"><em class="parameter"><code>a_result</code></em> :</span></p></td>
203
+ <td>out parameter. A pointer
204
+ the build css object model.</td>
205
+ </tr>
206
+ <tr>
207
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
208
+ <td>CR_OK upon succesful completion, an error code otherwise.</td>
209
+ </tr>
210
+ </tbody>
211
+ </table></div>
212
+ </div>
213
+ <hr>
214
+ <div class="refsect2">
215
+ <a name="cr-om-parser-parse-paths-to-cascade"></a><h3>cr_om_parser_parse_paths_to_cascade ()</h3>
216
+ <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_om_parser_parse_paths_to_cascade (<em class="parameter"><code><a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a> *a_this</code></em>,
217
+ <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_author_path</code></em>,
218
+ <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_user_path</code></em>,
219
+ <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_ua_path</code></em>,
220
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_encoding</code></em>,
221
+ <em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> **a_result</code></em>);</pre>
222
+ <p>
223
+ Parses three sheets located by their paths and build a cascade
224
+ </p>
225
+ <div class="variablelist"><table border="0">
226
+ <col align="left" valign="top">
227
+ <tbody>
228
+ <tr>
229
+ <td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
230
+ <td>the current instance of <a class="link" href="libcroco-cr-om-parser.html#CROMParser" title="struct CROMParser"><span class="type">CROMParser</span></a>
231
+ </td>
232
+ </tr>
233
+ <tr>
234
+ <td><p><span class="term"><em class="parameter"><code>a_author_path</code></em> :</span></p></td>
235
+ <td>the path to the author stylesheet</td>
236
+ </tr>
237
+ <tr>
238
+ <td><p><span class="term"><em class="parameter"><code>a_user_path</code></em> :</span></p></td>
239
+ <td>the path to the user stylesheet</td>
240
+ </tr>
241
+ <tr>
242
+ <td><p><span class="term"><em class="parameter"><code>a_ua_path</code></em> :</span></p></td>
243
+ <td>the path to the User Agent stylesheet</td>
244
+ </tr>
245
+ <tr>
246
+ <td><p><span class="term"><em class="parameter"><code>a_encoding</code></em> :</span></p></td>
247
+ <td>the encoding of the sheets.</td>
248
+ </tr>
249
+ <tr>
250
+ <td><p><span class="term"><em class="parameter"><code>a_result</code></em> :</span></p></td>
251
+ <td>out parameter. The resulting cascade if the parsing
252
+ was okay</td>
253
+ </tr>
254
+ <tr>
255
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
256
+ <td>CR_OK upon successful completion, an error code otherwise</td>
257
+ </tr>
258
+ </tbody>
259
+ </table></div>
260
+ </div>
261
+ <hr>
262
+ <div class="refsect2">
263
+ <a name="cr-om-parser-simply-parse-buf"></a><h3>cr_om_parser_simply_parse_buf ()</h3>
264
+ <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_om_parser_simply_parse_buf (<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_buf</code></em>,
265
+ <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_len</code></em>,
266
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
267
+ <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);</pre>
268
+ <p>
269
+ The simpler way to parse an in memory css2 buffer.
270
+ </p>
271
+ <div class="variablelist"><table border="0">
272
+ <col align="left" valign="top">
273
+ <tbody>
274
+ <tr>
275
+ <td><p><span class="term"><em class="parameter"><code>a_buf</code></em> :</span></p></td>
276
+ <td>the css2 in memory buffer.</td>
277
+ </tr>
278
+ <tr>
279
+ <td><p><span class="term"><em class="parameter"><code>a_len</code></em> :</span></p></td>
280
+ <td>the length of the in memory buffer.</td>
281
+ </tr>
282
+ <tr>
283
+ <td><p><span class="term"><em class="parameter"><code>a_enc</code></em> :</span></p></td>
284
+ <td>the encoding of the in memory buffer.</td>
285
+ </tr>
286
+ <tr>
287
+ <td><p><span class="term"><em class="parameter"><code>a_result</code></em> :</span></p></td>
288
+ <td>out parameter. The resulting css2 style sheet.</td>
289
+ </tr>
290
+ <tr>
291
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
292
+ <td>CR_OK upon successfull completion, an error code otherwise.</td>
293
+ </tr>
294
+ </tbody>
295
+ </table></div>
296
+ </div>
297
+ <hr>
298
+ <div class="refsect2">
299
+ <a name="cr-om-parser-simply-parse-file"></a><h3>cr_om_parser_simply_parse_file ()</h3>
300
+ <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_om_parser_simply_parse_file (<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_file_path</code></em>,
301
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
302
+ <em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> **a_result</code></em>);</pre>
303
+ <p>
304
+ The simpler method to parse a css2 file.
305
+ </p>
306
+ <div class="variablelist"><table border="0">
307
+ <col align="left" valign="top">
308
+ <tbody>
309
+ <tr>
310
+ <td><p><span class="term"><em class="parameter"><code>a_file_path</code></em> :</span></p></td>
311
+ <td>the css2 local file path.</td>
312
+ </tr>
313
+ <tr>
314
+ <td><p><span class="term"><em class="parameter"><code>a_enc</code></em> :</span></p></td>
315
+ <td>the file encoding.</td>
316
+ </tr>
317
+ <tr>
318
+ <td><p><span class="term"><em class="parameter"><code>a_result</code></em> :</span></p></td>
319
+ <td>out parameter. The returned css stylesheet.
320
+ Must be freed by the caller using cr_stylesheet_destroy.</td>
321
+ </tr>
322
+ <tr>
323
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
324
+ <td>CR_OK upon successfull completion, an error code otherwise.
325
+ Note that this method uses <a class="link" href="libcroco-cr-om-parser.html#cr-om-parser-parse-file" title="cr_om_parser_parse_file ()"><code class="function">cr_om_parser_parse_file()</code></a> so both methods
326
+ have the same return values.</td>
327
+ </tr>
328
+ </tbody>
329
+ </table></div>
330
+ </div>
331
+ <hr>
332
+ <div class="refsect2">
333
+ <a name="cr-om-parser-simply-parse-paths-to-cascade"></a><h3>cr_om_parser_simply_parse_paths_to_cascade ()</h3>
334
+ <pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_om_parser_simply_parse_paths_to_cascade
335
+ (<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_author_path</code></em>,
336
+ <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_user_path</code></em>,
337
+ <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_ua_path</code></em>,
338
+ <em class="parameter"><code><span class="type">enum CREncoding</span> a_encoding</code></em>,
339
+ <em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> **a_result</code></em>);</pre>
340
+ <p>
341
+ Parses three sheets located by their paths and build a cascade
342
+ </p>
343
+ <div class="variablelist"><table border="0">
344
+ <col align="left" valign="top">
345
+ <tbody>
346
+ <tr>
347
+ <td><p><span class="term"><em class="parameter"><code>a_author_path</code></em> :</span></p></td>
348
+ <td>the path to the author stylesheet</td>
349
+ </tr>
350
+ <tr>
351
+ <td><p><span class="term"><em class="parameter"><code>a_user_path</code></em> :</span></p></td>
352
+ <td>the path to the user stylesheet</td>
353
+ </tr>
354
+ <tr>
355
+ <td><p><span class="term"><em class="parameter"><code>a_ua_path</code></em> :</span></p></td>
356
+ <td>the path to the User Agent stylesheet</td>
357
+ </tr>
358
+ <tr>
359
+ <td><p><span class="term"><em class="parameter"><code>a_encoding</code></em> :</span></p></td>
360
+ <td>the encoding of the sheets.</td>
361
+ </tr>
362
+ <tr>
363
+ <td><p><span class="term"><em class="parameter"><code>a_result</code></em> :</span></p></td>
364
+ <td>out parameter. The resulting cascade if the parsing
365
+ was okay</td>
366
+ </tr>
367
+ <tr>
368
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
369
+ <td>CR_OK upon successful completion, an error code otherwise</td>
370
+ </tr>
371
+ </tbody>
372
+ </table></div>
373
+ </div>
374
+ </div>
375
+ </div>
376
+ <div class="footer">
377
+ <hr>
378
+ Generated by GTK-Doc V1.18</div>
379
+ </body>
380
+ </html>