rsvg2 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2.0/rsvg2.so +0 -0
- data/vendor/local/bin/croco-0.6-config +2 -2
- data/vendor/local/bin/csslint-0.6.exe +0 -0
- data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
- data/vendor/local/bin/librsvg-2-2.dll +0 -0
- data/vendor/local/bin/rsvg-convert.exe +0 -0
- data/vendor/local/lib/libcroco-0.6.a +0 -0
- data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
- data/vendor/local/lib/libcroco-0.6.la +1 -1
- data/vendor/local/lib/librsvg-2.a +0 -0
- data/vendor/local/lib/librsvg-2.dll.a +0 -0
- data/vendor/local/lib/librsvg-2.la +1 -1
- data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +42 -14
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +4 -4
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +2 -2
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +31 -31
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +12 -12
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +10 -10
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +30 -30
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +70 -70
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +8 -8
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +24 -24
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +22 -22
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +2 -2
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +3 -3
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +33 -33
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +14 -14
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +6 -6
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +4 -4
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +49 -49
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +10 -10
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +36 -36
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +6 -6
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +8 -8
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +40 -40
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +2 -2
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +118 -118
- metadata +12 -14
- data/lib/1.9/rsvg2.so +0 -0
- data/lib/2.1/rsvg2.so +0 -0
@@ -42,14 +42,14 @@ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcr
|
|
42
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
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
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="
|
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
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="
|
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
48
|
<em class="parameter"><code><span class="type">enum CRNumType</span> a_type</code></em>);
|
49
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="
|
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
51
|
<em class="parameter"><code><span class="type">enum CRNumType</span> a_type</code></em>);
|
52
|
-
<a href="
|
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
53
|
</pre>
|
54
54
|
</div>
|
55
55
|
<div class="refsect1">
|
@@ -140,7 +140,7 @@ Must be freed by <a class="link" href="libcroco-cr-num.html#cr-num-destroy" titl
|
|
140
140
|
<hr>
|
141
141
|
<div class="refsect2">
|
142
142
|
<a name="cr-num-is-fixed-length"></a><h3>cr_num_is_fixed_length ()</h3>
|
143
|
-
<pre class="programlisting"><a href="
|
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
144
|
<p>
|
145
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
146
|
length value or not. Typically a fixed length value
|
@@ -181,7 +181,7 @@ FALSE otherwise.</td>
|
|
181
181
|
<hr>
|
182
182
|
<div class="refsect2">
|
183
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="
|
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
185
|
<em class="parameter"><code><span class="type">enum CRNumType</span> a_type</code></em>);</pre>
|
186
186
|
<p>
|
187
187
|
A constructor of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNum"><span class="type">CRNum</span></a>.
|
@@ -209,7 +209,7 @@ NULL if an error arises.</td>
|
|
209
209
|
<div class="refsect2">
|
210
210
|
<a name="cr-num-set"></a><h3>cr_num_set ()</h3>
|
211
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="
|
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
213
|
<em class="parameter"><code><span class="type">enum CRNumType</span> a_type</code></em>);</pre>
|
214
214
|
<div class="variablelist"><table border="0">
|
215
215
|
<col align="left" valign="top">
|
@@ -238,7 +238,7 @@ instance of <a class="link" href="libcroco-cr-num.html#CRNum" title="struct CRNu
|
|
238
238
|
<hr>
|
239
239
|
<div class="refsect2">
|
240
240
|
<a name="cr-num-to-string"></a><h3>cr_num_to_string ()</h3>
|
241
|
-
<pre class="programlisting"><a href="
|
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
242
|
<div class="variablelist"><table border="0">
|
243
243
|
<col align="left" valign="top">
|
244
244
|
<tbody>
|
@@ -42,31 +42,31 @@
|
|
42
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
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
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="
|
46
|
-
<em class="parameter"><code><a href="
|
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
47
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
|
48
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
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="
|
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
51
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
|
52
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
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="
|
55
|
-
<em class="parameter"><code>const <a href="
|
56
|
-
<em class="parameter"><code>const <a href="
|
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
57
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_encoding</code></em>,
|
58
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="
|
60
|
-
<em class="parameter"><code><a href="
|
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
61
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
|
62
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="
|
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
64
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
|
65
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
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="
|
68
|
-
<em class="parameter"><code>const <a href="
|
69
|
-
<em class="parameter"><code>const <a href="
|
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
70
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_encoding</code></em>,
|
71
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
72
|
</pre>
|
@@ -134,8 +134,8 @@ Constructor of the CROMParser.
|
|
134
134
|
<div class="refsect2">
|
135
135
|
<a name="cr-om-parser-parse-buf"></a><h3>cr_om_parser_parse_buf ()</h3>
|
136
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="
|
138
|
-
<em class="parameter"><code><a href="
|
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
139
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
|
140
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
141
|
<p>
|
@@ -175,7 +175,7 @@ Parses the content of an in memory buffer.
|
|
175
175
|
<div class="refsect2">
|
176
176
|
<a name="cr-om-parser-parse-file"></a><h3>cr_om_parser_parse_file ()</h3>
|
177
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="
|
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
179
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
|
180
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
181
|
<p>
|
@@ -214,9 +214,9 @@ the build css object model.</td>
|
|
214
214
|
<div class="refsect2">
|
215
215
|
<a name="cr-om-parser-parse-paths-to-cascade"></a><h3>cr_om_parser_parse_paths_to_cascade ()</h3>
|
216
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="
|
218
|
-
<em class="parameter"><code>const <a href="
|
219
|
-
<em class="parameter"><code>const <a href="
|
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
220
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_encoding</code></em>,
|
221
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
222
|
<p>
|
@@ -261,8 +261,8 @@ was okay</td>
|
|
261
261
|
<hr>
|
262
262
|
<div class="refsect2">
|
263
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="
|
265
|
-
<em class="parameter"><code><a href="
|
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
266
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
|
267
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
268
|
<p>
|
@@ -297,7 +297,7 @@ The simpler way to parse an in memory css2 buffer.
|
|
297
297
|
<hr>
|
298
298
|
<div class="refsect2">
|
299
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="
|
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
301
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
|
302
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
303
|
<p>
|
@@ -332,9 +332,9 @@ have the same return values.</td>
|
|
332
332
|
<div class="refsect2">
|
333
333
|
<a name="cr-om-parser-simply-parse-paths-to-cascade"></a><h3>cr_om_parser_simply_parse_paths_to_cascade ()</h3>
|
334
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="
|
336
|
-
<em class="parameter"><code>const <a href="
|
337
|
-
<em class="parameter"><code>const <a href="
|
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
338
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_encoding</code></em>,
|
339
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
340
|
<p>
|
@@ -47,19 +47,19 @@ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcr
|
|
47
47
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parser.html#cr-parser-get-tknzr" title="cr_parser_get_tknzr ()">cr_parser_get_tknzr</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>,
|
48
48
|
<em class="parameter"><code><a class="link" href="libcroco-cr-tknzr.html#CRTknzr" title="struct CRTknzr"><span class="type">CRTknzr</span></a> **a_tknzr</code></em>);
|
49
49
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parser.html#cr-parser-get-use-core-grammar" title="cr_parser_get_use_core_grammar ()">cr_parser_get_use_core_grammar</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> const *a_this</code></em>,
|
50
|
-
<em class="parameter"><code><a href="
|
50
|
+
<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_use_core_grammar</code></em>);
|
51
51
|
<a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="returnvalue">CRParser</span></a> * <a class="link" href="libcroco-cr-parser.html#cr-parser-new" title="cr_parser_new ()">cr_parser_new</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-tknzr.html#CRTknzr" title="struct CRTknzr"><span class="type">CRTknzr</span></a> *a_tknzr</code></em>);
|
52
|
-
<a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="returnvalue">CRParser</span></a> * <a class="link" href="libcroco-cr-parser.html#cr-parser-new-from-buf" title="cr_parser_new_from_buf ()">cr_parser_new_from_buf</a> (<em class="parameter"><code><a href="
|
53
|
-
<em class="parameter"><code><a href="
|
52
|
+
<a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="returnvalue">CRParser</span></a> * <a class="link" href="libcroco-cr-parser.html#cr-parser-new-from-buf" title="cr_parser_new_from_buf ()">cr_parser_new_from_buf</a> (<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_buf</code></em>,
|
53
|
+
<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>,
|
54
54
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
|
55
|
-
<em class="parameter"><code><a href="
|
56
|
-
<a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="returnvalue">CRParser</span></a> * <a class="link" href="libcroco-cr-parser.html#cr-parser-new-from-file" title="cr_parser_new_from_file ()">cr_parser_new_from_file</a> (<em class="parameter"><code>const <a href="
|
55
|
+
<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_free_buf</code></em>);
|
56
|
+
<a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="returnvalue">CRParser</span></a> * <a class="link" href="libcroco-cr-parser.html#cr-parser-new-from-file" title="cr_parser_new_from_file ()">cr_parser_new_from_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_uri</code></em>,
|
57
57
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);
|
58
58
|
<a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="returnvalue">CRParser</span></a> * <a class="link" href="libcroco-cr-parser.html#cr-parser-new-from-input" title="cr_parser_new_from_input ()">cr_parser_new_from_input</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>);
|
59
59
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parser.html#cr-parser-parse" title="cr_parser_parse ()">cr_parser_parse</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>);
|
60
60
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parser.html#cr-parser-parse-buf" title="cr_parser_parse_buf ()">cr_parser_parse_buf</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>,
|
61
|
-
<em class="parameter"><code>const <a href="
|
62
|
-
<em class="parameter"><code><a href="
|
61
|
+
<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>,
|
62
|
+
<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>,
|
63
63
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);
|
64
64
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parser.html#cr-parser-parse-charset" title="cr_parser_parse_charset ()">cr_parser_parse_charset</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>,
|
65
65
|
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> **a_value</code></em>,
|
@@ -67,15 +67,15 @@ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcr
|
|
67
67
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parser.html#cr-parser-parse-declaration" title="cr_parser_parse_declaration ()">cr_parser_parse_declaration</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>,
|
68
68
|
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> **a_property</code></em>,
|
69
69
|
<em class="parameter"><code><a class="link" href="libcroco-cr-term.html#CRTerm" title="struct CRTerm"><span class="type">CRTerm</span></a> **a_expr</code></em>,
|
70
|
-
<em class="parameter"><code><a href="
|
70
|
+
<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_important</code></em>);
|
71
71
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parser.html#cr-parser-parse-expr" title="cr_parser_parse_expr ()">cr_parser_parse_expr</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>,
|
72
72
|
<em class="parameter"><code><a class="link" href="libcroco-cr-term.html#CRTerm" title="struct CRTerm"><span class="type">CRTerm</span></a> **a_expr</code></em>);
|
73
73
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parser.html#cr-parser-parse-file" title="cr_parser_parse_file ()">cr_parser_parse_file</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>,
|
74
|
-
<em class="parameter"><code>const <a href="
|
74
|
+
<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>,
|
75
75
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);
|
76
76
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parser.html#cr-parser-parse-font-face" title="cr_parser_parse_font_face ()">cr_parser_parse_font_face</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>);
|
77
77
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parser.html#cr-parser-parse-import" title="cr_parser_parse_import ()">cr_parser_parse_import</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>,
|
78
|
-
<em class="parameter"><code><a href="
|
78
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> **a_media_list</code></em>,
|
79
79
|
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> **a_import_string</code></em>,
|
80
80
|
<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> *a_location</code></em>);
|
81
81
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parser.html#cr-parser-parse-media" title="cr_parser_parse_media ()">cr_parser_parse_media</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>);
|
@@ -92,7 +92,7 @@ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcr
|
|
92
92
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parser.html#cr-parser-set-tknzr" title="cr_parser_set_tknzr ()">cr_parser_set_tknzr</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>,
|
93
93
|
<em class="parameter"><code><a class="link" href="libcroco-cr-tknzr.html#CRTknzr" title="struct CRTknzr"><span class="type">CRTknzr</span></a> *a_tknzr</code></em>);
|
94
94
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parser.html#cr-parser-set-use-core-grammar" title="cr_parser_set_use_core_grammar ()">cr_parser_set_use_core_grammar</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>,
|
95
|
-
<em class="parameter"><code><a href="
|
95
|
+
<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_use_core_grammar</code></em>);
|
96
96
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parser.html#cr-parser-try-to-skip-spaces-and-comments" title="cr_parser_try_to_skip_spaces_and_comments ()">cr_parser_try_to_skip_spaces_and_comments</a>
|
97
97
|
(<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>);
|
98
98
|
</pre>
|
@@ -225,7 +225,7 @@ otherwise</td>
|
|
225
225
|
<div class="refsect2">
|
226
226
|
<a name="cr-parser-get-use-core-grammar"></a><h3>cr_parser_get_use_core_grammar ()</h3>
|
227
227
|
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_parser_get_use_core_grammar (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> const *a_this</code></em>,
|
228
|
-
<em class="parameter"><code><a href="
|
228
|
+
<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_use_core_grammar</code></em>);</pre>
|
229
229
|
<div class="variablelist"><table border="0">
|
230
230
|
<col align="left" valign="top">
|
231
231
|
<tbody>
|
@@ -270,10 +270,10 @@ or NULL if an error occured.</td>
|
|
270
270
|
<hr>
|
271
271
|
<div class="refsect2">
|
272
272
|
<a name="cr-parser-new-from-buf"></a><h3>cr_parser_new_from_buf ()</h3>
|
273
|
-
<pre class="programlisting"><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="returnvalue">CRParser</span></a> * cr_parser_new_from_buf (<em class="parameter"><code><a href="
|
274
|
-
<em class="parameter"><code><a href="
|
273
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="returnvalue">CRParser</span></a> * cr_parser_new_from_buf (<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_buf</code></em>,
|
274
|
+
<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>,
|
275
275
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>,
|
276
|
-
<em class="parameter"><code><a href="
|
276
|
+
<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_free_buf</code></em>);</pre>
|
277
277
|
<p>
|
278
278
|
Instanciates a new parser from a memory buffer.
|
279
279
|
</p>
|
@@ -309,7 +309,7 @@ eventually free it.</td>
|
|
309
309
|
<hr>
|
310
310
|
<div class="refsect2">
|
311
311
|
<a name="cr-parser-new-from-file"></a><h3>cr_parser_new_from_file ()</h3>
|
312
|
-
<pre class="programlisting"><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="returnvalue">CRParser</span></a> * cr_parser_new_from_file (<em class="parameter"><code>const <a href="
|
312
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="returnvalue">CRParser</span></a> * cr_parser_new_from_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_uri</code></em>,
|
313
313
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);</pre>
|
314
314
|
<div class="variablelist"><table border="0">
|
315
315
|
<col align="left" valign="top">
|
@@ -374,8 +374,8 @@ input previously associated to the current instance of
|
|
374
374
|
<div class="refsect2">
|
375
375
|
<a name="cr-parser-parse-buf"></a><h3>cr_parser_parse_buf ()</h3>
|
376
376
|
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_parser_parse_buf (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>,
|
377
|
-
<em class="parameter"><code>const <a href="
|
378
|
-
<em class="parameter"><code><a href="
|
377
|
+
<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>,
|
378
|
+
<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>,
|
379
379
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);</pre>
|
380
380
|
<p>
|
381
381
|
Parses a stylesheet from a buffer
|
@@ -448,7 +448,7 @@ set to NULL.</td>
|
|
448
448
|
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_parser_parse_declaration (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>,
|
449
449
|
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> **a_property</code></em>,
|
450
450
|
<em class="parameter"><code><a class="link" href="libcroco-cr-term.html#CRTerm" title="struct CRTerm"><span class="type">CRTerm</span></a> **a_expr</code></em>,
|
451
|
-
<em class="parameter"><code><a href="
|
451
|
+
<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_important</code></em>);</pre>
|
452
452
|
<p>
|
453
453
|
TODO: return the parsed priority, so that
|
454
454
|
upper layers can take benefit from it.
|
@@ -511,7 +511,7 @@ expr: term [ operator term ]*
|
|
511
511
|
<div class="refsect2">
|
512
512
|
<a name="cr-parser-parse-file"></a><h3>cr_parser_parse_file ()</h3>
|
513
513
|
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_parser_parse_file (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>,
|
514
|
-
<em class="parameter"><code>const <a href="
|
514
|
+
<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>,
|
515
515
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);</pre>
|
516
516
|
<p>
|
517
517
|
Parses a the given in parameter.
|
@@ -572,7 +572,7 @@ This function will call SAC handlers whenever it is necessary.
|
|
572
572
|
<div class="refsect2">
|
573
573
|
<a name="cr-parser-parse-import"></a><h3>cr_parser_parse_import ()</h3>
|
574
574
|
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_parser_parse_import (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>,
|
575
|
-
<em class="parameter"><code><a href="
|
575
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> **a_media_list</code></em>,
|
576
576
|
<em class="parameter"><code><a class="link" href="libcroco-cr-string.html#CRString" title="struct CRString"><span class="type">CRString</span></a> **a_import_string</code></em>,
|
577
577
|
<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> *a_location</code></em>);</pre>
|
578
578
|
<p>
|
@@ -862,7 +862,7 @@ Sets a SAC document handler to the parser.
|
|
862
862
|
<div class="refsect2">
|
863
863
|
<a name="cr-parser-set-use-core-grammar"></a><h3>cr_parser_set_use_core_grammar ()</h3>
|
864
864
|
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_parser_set_use_core_grammar (<em class="parameter"><code><a class="link" href="libcroco-cr-parser.html#CRParser" title="struct CRParser"><span class="type">CRParser</span></a> *a_this</code></em>,
|
865
|
-
<em class="parameter"><code><a href="
|
865
|
+
<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_use_core_grammar</code></em>);</pre>
|
866
866
|
<div class="variablelist"><table border="0">
|
867
867
|
<col align="left" valign="top">
|
868
868
|
<tbody>
|
@@ -46,7 +46,7 @@ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcr
|
|
46
46
|
<em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>);
|
47
47
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-parsing-location.html#cr-parsing-location-init" title="cr_parsing_location_init ()">cr_parsing_location_init</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> *a_this</code></em>);
|
48
48
|
<a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="returnvalue">CRParsingLocation</span></a> * <a class="link" href="libcroco-cr-parsing-location.html#cr-parsing-location-new" title="cr_parsing_location_new ()">cr_parsing_location_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
49
|
-
<a href="
|
49
|
+
<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-parsing-location.html#cr-parsing-location-to-string" title="cr_parsing_location_to_string ()">cr_parsing_location_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> const *a_this</code></em>,
|
50
50
|
<em class="parameter"><code><span class="type">enum CRParsingLocationSerialisationMask</span> a_mask</code></em>);
|
51
51
|
</pre>
|
52
52
|
</div>
|
@@ -175,7 +175,7 @@ Must be freed by <a class="link" href="libcroco-cr-parsing-location.html#cr-pars
|
|
175
175
|
<hr>
|
176
176
|
<div class="refsect2">
|
177
177
|
<a name="cr-parsing-location-to-string"></a><h3>cr_parsing_location_to_string ()</h3>
|
178
|
-
<pre class="programlisting"><a href="
|
178
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * cr_parsing_location_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-parsing-location.html#CRParsingLocation" title="struct CRParsingLocation"><span class="type">CRParsingLocation</span></a> const *a_this</code></em>,
|
179
179
|
<em class="parameter"><code><span class="type">enum CRParsingLocationSerialisationMask</span> a_mask</code></em>);</pre>
|
180
180
|
<div class="variablelist"><table border="0">
|
181
181
|
<col align="left" valign="top">
|
@@ -42,7 +42,7 @@
|
|
42
42
|
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-pseudo.html#cr-pseudo-dump" title="cr_pseudo_dump ()">cr_pseudo_dump</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-pseudo.html#CRPseudo" title="struct CRPseudo"><span class="type">CRPseudo</span></a> const *a_this</code></em>,
|
43
43
|
<em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>);
|
44
44
|
<a class="link" href="libcroco-cr-pseudo.html#CRPseudo" title="struct CRPseudo"><span class="returnvalue">CRPseudo</span></a> * <a class="link" href="libcroco-cr-pseudo.html#cr-pseudo-new" title="cr_pseudo_new ()">cr_pseudo_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
45
|
-
<a href="
|
45
|
+
<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-pseudo.html#cr-pseudo-to-string" title="cr_pseudo_to_string ()">cr_pseudo_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-pseudo.html#CRPseudo" title="struct CRPseudo"><span class="type">CRPseudo</span></a> const *a_this</code></em>);
|
46
46
|
</pre>
|
47
47
|
</div>
|
48
48
|
<div class="refsect1">
|
@@ -116,7 +116,7 @@ Dumps the pseudo to a file.
|
|
116
116
|
<hr>
|
117
117
|
<div class="refsect2">
|
118
118
|
<a name="cr-pseudo-to-string"></a><h3>cr_pseudo_to_string ()</h3>
|
119
|
-
<pre class="programlisting"><a href="
|
119
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * cr_pseudo_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-pseudo.html#CRPseudo" title="struct CRPseudo"><span class="type">CRPseudo</span></a> const *a_this</code></em>);</pre>
|
120
120
|
<div class="variablelist"><table border="0">
|
121
121
|
<col align="left" valign="top">
|
122
122
|
<tbody>
|
@@ -127,7 +127,7 @@ Dumps the pseudo to a file.
|
|
127
127
|
<tr>
|
128
128
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
129
129
|
<td>the serialized pseudo. Caller must free the returned
|
130
|
-
string using <a href="
|
130
|
+
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>
|
131
131
|
</tr>
|
132
132
|
</tbody>
|
133
133
|
</table></div>
|
@@ -44,33 +44,33 @@ enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcr
|
|
44
44
|
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-rgb.html#cr-rgb-destroy" title="cr_rgb_destroy ()">cr_rgb_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> *a_this</code></em>);
|
45
45
|
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-rgb.html#cr-rgb-dump" title="cr_rgb_dump ()">cr_rgb_dump</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> const *a_this</code></em>,
|
46
46
|
<em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>);
|
47
|
-
<a href="
|
48
|
-
<a href="
|
47
|
+
<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-rgb.html#cr-rgb-is-set-to-inherit" title="cr_rgb_is_set_to_inherit ()">cr_rgb_is_set_to_inherit</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> const *a_this</code></em>);
|
48
|
+
<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-rgb.html#cr-rgb-is-set-to-transparent" title="cr_rgb_is_set_to_transparent ()">cr_rgb_is_set_to_transparent</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> const *a_this</code></em>);
|
49
49
|
<a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="returnvalue">CRRgb</span></a> * <a class="link" href="libcroco-cr-rgb.html#cr-rgb-new" title="cr_rgb_new ()">cr_rgb_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
50
|
-
<a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="returnvalue">CRRgb</span></a> * <a class="link" href="libcroco-cr-rgb.html#cr-rgb-new-with-vals" title="cr_rgb_new_with_vals ()">cr_rgb_new_with_vals</a> (<em class="parameter"><code><a href="
|
51
|
-
<em class="parameter"><code><a href="
|
52
|
-
<em class="parameter"><code><a href="
|
53
|
-
<em class="parameter"><code><a href="
|
54
|
-
<a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="returnvalue">CRRgb</span></a> * <a class="link" href="libcroco-cr-rgb.html#cr-rgb-parse-from-buf" title="cr_rgb_parse_from_buf ()">cr_rgb_parse_from_buf</a> (<em class="parameter"><code>const <a href="
|
50
|
+
<a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="returnvalue">CRRgb</span></a> * <a class="link" href="libcroco-cr-rgb.html#cr-rgb-new-with-vals" title="cr_rgb_new_with_vals ()">cr_rgb_new_with_vals</a> (<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_red</code></em>,
|
51
|
+
<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_green</code></em>,
|
52
|
+
<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_blue</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_is_percentage</code></em>);
|
54
|
+
<a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="returnvalue">CRRgb</span></a> * <a class="link" href="libcroco-cr-rgb.html#cr-rgb-parse-from-buf" title="cr_rgb_parse_from_buf ()">cr_rgb_parse_from_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_str</code></em>,
|
55
55
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);
|
56
56
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-rgb.html#cr-rgb-set" title="cr_rgb_set ()">cr_rgb_set</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> *a_this</code></em>,
|
57
|
-
<em class="parameter"><code><a href="
|
58
|
-
<em class="parameter"><code><a href="
|
59
|
-
<em class="parameter"><code><a href="
|
60
|
-
<em class="parameter"><code><a href="
|
57
|
+
<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_red</code></em>,
|
58
|
+
<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_green</code></em>,
|
59
|
+
<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_blue</code></em>,
|
60
|
+
<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_is_percentage</code></em>);
|
61
61
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-rgb.html#cr-rgb-set-from-hex-str" title="cr_rgb_set_from_hex_str ()">cr_rgb_set_from_hex_str</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> *a_this</code></em>,
|
62
|
-
<em class="parameter"><code>const <a href="
|
62
|
+
<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_hex_value</code></em>);
|
63
63
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-rgb.html#cr-rgb-set-from-name" title="cr_rgb_set_from_name ()">cr_rgb_set_from_name</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> *a_this</code></em>,
|
64
|
-
<em class="parameter"><code>const <a href="
|
64
|
+
<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_color_name</code></em>);
|
65
65
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-rgb.html#cr-rgb-set-from-rgb" title="cr_rgb_set_from_rgb ()">cr_rgb_set_from_rgb</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> *a_this</code></em>,
|
66
66
|
<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> const *a_rgb</code></em>);
|
67
67
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-rgb.html#cr-rgb-set-from-term" title="cr_rgb_set_from_term ()">cr_rgb_set_from_term</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> *a_this</code></em>,
|
68
68
|
<em class="parameter"><code>const <span class="type">struct _CRTerm</span> *a_value</code></em>);
|
69
69
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-rgb.html#cr-rgb-set-to-inherit" title="cr_rgb_set_to_inherit ()">cr_rgb_set_to_inherit</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> *a_this</code></em>,
|
70
|
-
<em class="parameter"><code><a href="
|
70
|
+
<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_inherit</code></em>);
|
71
71
|
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-rgb.html#cr-rgb-set-to-transparent" title="cr_rgb_set_to_transparent ()">cr_rgb_set_to_transparent</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> *a_this</code></em>,
|
72
|
-
<em class="parameter"><code><a href="
|
73
|
-
<a href="
|
72
|
+
<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_is_transparent</code></em>);
|
73
|
+
<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-rgb.html#cr-rgb-to-string" title="cr_rgb_to_string ()">cr_rgb_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> const *a_this</code></em>);
|
74
74
|
</pre>
|
75
75
|
</div>
|
76
76
|
<div class="refsect1">
|
@@ -175,7 +175,7 @@ the current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title=
|
|
175
175
|
<hr>
|
176
176
|
<div class="refsect2">
|
177
177
|
<a name="cr-rgb-is-set-to-inherit"></a><h3>cr_rgb_is_set_to_inherit ()</h3>
|
178
|
-
<pre class="programlisting"><a href="
|
178
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cr_rgb_is_set_to_inherit (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> const *a_this</code></em>);</pre>
|
179
179
|
<p>
|
180
180
|
<em class="parameter"><code>a_this</code></em>: the current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a>.
|
181
181
|
</p>
|
@@ -190,7 +190,7 @@ the current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title=
|
|
190
190
|
<hr>
|
191
191
|
<div class="refsect2">
|
192
192
|
<a name="cr-rgb-is-set-to-transparent"></a><h3>cr_rgb_is_set_to_transparent ()</h3>
|
193
|
-
<pre class="programlisting"><a href="
|
193
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cr_rgb_is_set_to_transparent (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> const *a_this</code></em>);</pre>
|
194
194
|
<p>
|
195
195
|
Tests if the the rgb is set to the
|
196
196
|
value "transparent" or not.
|
@@ -231,10 +231,10 @@ The default constructor of <a class="link" href="libcroco-cr-rgb.html#CRRgb" tit
|
|
231
231
|
<hr>
|
232
232
|
<div class="refsect2">
|
233
233
|
<a name="cr-rgb-new-with-vals"></a><h3>cr_rgb_new_with_vals ()</h3>
|
234
|
-
<pre class="programlisting"><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="returnvalue">CRRgb</span></a> * cr_rgb_new_with_vals (<em class="parameter"><code><a href="
|
235
|
-
<em class="parameter"><code><a href="
|
236
|
-
<em class="parameter"><code><a href="
|
237
|
-
<em class="parameter"><code><a href="
|
234
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="returnvalue">CRRgb</span></a> * cr_rgb_new_with_vals (<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_red</code></em>,
|
235
|
+
<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_green</code></em>,
|
236
|
+
<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_blue</code></em>,
|
237
|
+
<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_is_percentage</code></em>);</pre>
|
238
238
|
<p>
|
239
239
|
A constructor of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a>.
|
240
240
|
</p>
|
@@ -263,7 +263,7 @@ A constructor of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct
|
|
263
263
|
<hr>
|
264
264
|
<div class="refsect2">
|
265
265
|
<a name="cr-rgb-parse-from-buf"></a><h3>cr_rgb_parse_from_buf ()</h3>
|
266
|
-
<pre class="programlisting"><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="returnvalue">CRRgb</span></a> * cr_rgb_parse_from_buf (<em class="parameter"><code>const <a href="
|
266
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="returnvalue">CRRgb</span></a> * cr_rgb_parse_from_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_str</code></em>,
|
267
267
|
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);</pre>
|
268
268
|
<p>
|
269
269
|
Parses a text buffer that contains a rgb color
|
@@ -290,10 +290,10 @@ Parses a text buffer that contains a rgb color
|
|
290
290
|
<div class="refsect2">
|
291
291
|
<a name="cr-rgb-set"></a><h3>cr_rgb_set ()</h3>
|
292
292
|
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_rgb_set (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> *a_this</code></em>,
|
293
|
-
<em class="parameter"><code><a href="
|
294
|
-
<em class="parameter"><code><a href="
|
295
|
-
<em class="parameter"><code><a href="
|
296
|
-
<em class="parameter"><code><a href="
|
293
|
+
<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_red</code></em>,
|
294
|
+
<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_green</code></em>,
|
295
|
+
<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_blue</code></em>,
|
296
|
+
<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_is_percentage</code></em>);</pre>
|
297
297
|
<p>
|
298
298
|
Sets rgb values to the RGB.
|
299
299
|
</p>
|
@@ -328,7 +328,7 @@ otherwise.</td>
|
|
328
328
|
<div class="refsect2">
|
329
329
|
<a name="cr-rgb-set-from-hex-str"></a><h3>cr_rgb_set_from_hex_str ()</h3>
|
330
330
|
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_rgb_set_from_hex_str (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> *a_this</code></em>,
|
331
|
-
<em class="parameter"><code>const <a href="
|
331
|
+
<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_hex_value</code></em>);</pre>
|
332
332
|
<div class="variablelist"><table border="0">
|
333
333
|
<col align="left" valign="top">
|
334
334
|
<tbody>
|
@@ -348,7 +348,7 @@ otherwise.</td>
|
|
348
348
|
<div class="refsect2">
|
349
349
|
<a name="cr-rgb-set-from-name"></a><h3>cr_rgb_set_from_name ()</h3>
|
350
350
|
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_rgb_set_from_name (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> *a_this</code></em>,
|
351
|
-
<em class="parameter"><code>const <a href="
|
351
|
+
<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_color_name</code></em>);</pre>
|
352
352
|
<div class="variablelist"><table border="0">
|
353
353
|
<col align="left" valign="top">
|
354
354
|
<tbody>
|
@@ -424,7 +424,7 @@ Set the rgb from a terminal symbol
|
|
424
424
|
<div class="refsect2">
|
425
425
|
<a name="cr-rgb-set-to-inherit"></a><h3>cr_rgb_set_to_inherit ()</h3>
|
426
426
|
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_rgb_set_to_inherit (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> *a_this</code></em>,
|
427
|
-
<em class="parameter"><code><a href="
|
427
|
+
<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_inherit</code></em>);</pre>
|
428
428
|
<p>
|
429
429
|
sets the value of the rgb to inherit.
|
430
430
|
Look at the css spec from chapter 6.1 to 6.2 to understand
|
@@ -449,7 +449,7 @@ the meaning of "inherit".
|
|
449
449
|
<div class="refsect2">
|
450
450
|
<a name="cr-rgb-set-to-transparent"></a><h3>cr_rgb_set_to_transparent ()</h3>
|
451
451
|
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_rgb_set_to_transparent (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> *a_this</code></em>,
|
452
|
-
<em class="parameter"><code><a href="
|
452
|
+
<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_is_transparent</code></em>);</pre>
|
453
453
|
<p>
|
454
454
|
Sets the rgb to the "transparent" value (or not)
|
455
455
|
</p>
|
@@ -475,7 +475,7 @@ Sets the rgb to the "transparent" value (or not)
|
|
475
475
|
<hr>
|
476
476
|
<div class="refsect2">
|
477
477
|
<a name="cr-rgb-to-string"></a><h3>cr_rgb_to_string ()</h3>
|
478
|
-
<pre class="programlisting"><a href="
|
478
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * cr_rgb_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> const *a_this</code></em>);</pre>
|
479
479
|
<p>
|
480
480
|
Serializes the rgb into a zero terminated string.
|
481
481
|
</p>
|
@@ -489,7 +489,7 @@ Serializes the rgb into a zero terminated string.
|
|
489
489
|
<tr>
|
490
490
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
491
491
|
<td>the zero terminated string containing the serialized
|
492
|
-
rgb. MUST BE FREED by the caller using <a href="
|
492
|
+
rgb. MUST BE FREED by the caller using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
|
493
493
|
</tr>
|
494
494
|
</tbody>
|
495
495
|
</table></div>
|