rsvg2 3.0.7-x86-mingw32 → 3.0.8-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/ext/rsvg2/extconf.rb +1 -0
- data/lib/2.2/rsvg2.so +0 -0
- data/lib/2.3/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/include/libcroco-0.6/libcroco/libcroco-config.h +2 -2
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +26 -4
- data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +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 +3 -3
- 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 +2 -2
- data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +1 -1
- data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +2 -2
- data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +13 -14
- data/vendor/local/share/gtk-doc/html/libcroco/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/index.html +5 -6
- data/vendor/local/share/gtk-doc/html/libcroco/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +360 -221
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +209 -132
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +251 -164
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +693 -449
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +365 -259
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +148 -107
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +805 -463
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1109 -753
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +267 -180
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +351 -255
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -644
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +234 -124
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +437 -271
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +139 -86
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +517 -352
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +326 -252
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +219 -186
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +219 -176
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1231 -1220
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +142 -83
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +351 -256
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +155 -99
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +313 -207
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +321 -210
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +465 -284
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +507 -231
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +54 -40
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +465 -426
- data/vendor/local/share/gtk-doc/html/libcroco/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/style.css +317 -104
- data/vendor/local/share/gtk-doc/html/libcroco/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1039 -724
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +29 -32
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +16 -19
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +13 -16
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +14 -17
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +15 -20
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +12 -15
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +17 -22
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +18 -23
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +31 -36
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +79 -84
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +31 -28
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +9 -9
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +15 -15
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +55 -59
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +247 -190
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +336 -239
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +95 -70
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +77 -37
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +9 -9
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +314 -104
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/up.png +0 -0
- metadata +14 -10
- data/lib/2.0/rsvg2.so +0 -0
- data/lib/2.1/rsvg2.so +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +0 -582
@@ -2,30 +2,26 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>cr-rgb</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
5
|
+
<title>cr-rgb: Libcroco Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="Libcroco Reference Manual">
|
8
8
|
<link rel="up" href="ch01.html" title="Extensive APIs description">
|
9
9
|
<link rel="prev" href="libcroco-cr-pseudo.html" title="cr-pseudo">
|
10
10
|
<link rel="next" href="libcroco-cr-sel-eng.html" title="cr-sel-eng">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.24.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<
|
19
|
-
|
20
|
-
<
|
21
|
-
<td><a accesskey="
|
22
|
-
|
23
|
-
<
|
24
|
-
|
25
|
-
|
|
26
|
-
<a href="#libcroco-cr-rgb.description" class="shortcut">Description</a>
|
27
|
-
</td></tr>
|
28
|
-
</table>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#libcroco-cr-rgb.description" class="shortcut">Description</a></span>
|
19
|
+
</td>
|
20
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
21
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
22
|
+
<td><a accesskey="p" href="libcroco-cr-pseudo.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
+
<td><a accesskey="n" href="libcroco-cr-sel-eng.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
24
|
+
</tr></table>
|
29
25
|
<div class="refentry">
|
30
26
|
<a name="libcroco-cr-rgb"></a><div class="titlepage"></div>
|
31
27
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -33,471 +29,640 @@
|
|
33
29
|
<h2><span class="refentrytitle"><a name="libcroco-cr-rgb.top_of_page"></a>cr-rgb</span></h2>
|
34
30
|
<p>cr-rgb</p>
|
35
31
|
</td>
|
36
|
-
<td valign="top" align="right"></td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
37
33
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv">
|
39
|
-
<a name="libcroco-cr-rgb.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">struct <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb">CRRgb</a>;
|
41
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-rgb.html#cr-rgb-compute-from-percentage" title="cr_rgb_compute_from_percentage ()">cr_rgb_compute_from_percentage</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>);
|
42
|
-
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-rgb.html#cr-rgb-copy" title="cr_rgb_copy ()">cr_rgb_copy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> *a_dest</code></em>,
|
43
|
-
<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> const *a_src</code></em>);
|
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
|
-
<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
|
-
<em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>);
|
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
|
-
<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="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
|
-
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);
|
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="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
|
-
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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_hex_value</code></em>);
|
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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_color_name</code></em>);
|
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
|
-
<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
|
-
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
|
-
<em class="parameter"><code>const <span class="type">struct _CRTerm</span> *a_value</code></em>);
|
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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_inherit</code></em>);
|
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="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
|
-
</pre>
|
75
|
-
</div>
|
76
34
|
<div class="refsect1">
|
77
|
-
<a name="libcroco-cr-rgb.
|
78
|
-
<
|
79
|
-
|
80
|
-
|
81
|
-
<
|
82
|
-
|
83
|
-
<div class="refsect2">
|
84
|
-
<a name="CRRgb"></a><h3>struct CRRgb</h3>
|
85
|
-
<pre class="programlisting">struct CRRgb {
|
86
|
-
/*
|
87
|
-
*the unit of the rgb.
|
88
|
-
*Either NO_UNIT (integer) or
|
89
|
-
*UNIT_PERCENTAGE (percentage).
|
90
|
-
*/
|
91
|
-
const guchar *name ;
|
92
|
-
glong red ;
|
93
|
-
glong green ;
|
94
|
-
glong blue ;
|
95
|
-
gboolean is_percentage ;
|
96
|
-
gboolean inherit ;
|
97
|
-
gboolean is_transparent ;
|
98
|
-
CRParsingLocation location ;
|
99
|
-
};
|
100
|
-
</pre>
|
101
|
-
<p>
|
102
|
-
</p>
|
103
|
-
</div>
|
104
|
-
<hr>
|
105
|
-
<div class="refsect2">
|
106
|
-
<a name="cr-rgb-compute-from-percentage"></a><h3>cr_rgb_compute_from_percentage ()</h3>
|
107
|
-
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_rgb_compute_from_percentage (<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>);</pre>
|
108
|
-
<p>
|
109
|
-
If the rgb values are expressed in percentage,
|
110
|
-
compute their real value.
|
111
|
-
</p>
|
112
|
-
<div class="variablelist"><table border="0">
|
113
|
-
<col align="left" valign="top">
|
35
|
+
<a name="libcroco-cr-rgb.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<colgroup>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
40
|
+
</colgroup>
|
114
41
|
<tbody>
|
115
42
|
<tr>
|
116
|
-
<td
|
117
|
-
<
|
43
|
+
<td class="function_type">
|
44
|
+
<a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="returnvalue">CRRgb</span></a> *
|
45
|
+
</td>
|
46
|
+
<td class="function_name">
|
47
|
+
<a class="link" href="libcroco-cr-rgb.html#cr-rgb-new" title="cr_rgb_new ()">cr_rgb_new</a> <span class="c_punctuation">()</span>
|
48
|
+
</td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td class="function_type">
|
52
|
+
<a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="returnvalue">CRRgb</span></a> *
|
53
|
+
</td>
|
54
|
+
<td class="function_name">
|
55
|
+
<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> <span class="c_punctuation">()</span>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td class="function_type">
|
60
|
+
<a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="returnvalue">CRRgb</span></a> *
|
61
|
+
</td>
|
62
|
+
<td class="function_name">
|
63
|
+
<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> <span class="c_punctuation">()</span>
|
64
|
+
</td>
|
65
|
+
</tr>
|
66
|
+
<tr>
|
67
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
68
|
+
</td>
|
69
|
+
<td class="function_name">
|
70
|
+
<a class="link" href="libcroco-cr-rgb.html#cr-rgb-compute-from-percentage" title="cr_rgb_compute_from_percentage ()">cr_rgb_compute_from_percentage</a> <span class="c_punctuation">()</span>
|
118
71
|
</td>
|
119
72
|
</tr>
|
120
73
|
<tr>
|
121
|
-
<td
|
122
|
-
|
74
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
75
|
+
</td>
|
76
|
+
<td class="function_name">
|
77
|
+
<a class="link" href="libcroco-cr-rgb.html#cr-rgb-set" title="cr_rgb_set ()">cr_rgb_set</a> <span class="c_punctuation">()</span>
|
78
|
+
</td>
|
79
|
+
</tr>
|
80
|
+
<tr>
|
81
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
82
|
+
</td>
|
83
|
+
<td class="function_name">
|
84
|
+
<a class="link" href="libcroco-cr-rgb.html#cr-rgb-copy" title="cr_rgb_copy ()">cr_rgb_copy</a> <span class="c_punctuation">()</span>
|
85
|
+
</td>
|
86
|
+
</tr>
|
87
|
+
<tr>
|
88
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
89
|
+
</td>
|
90
|
+
<td class="function_name">
|
91
|
+
<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> <span class="c_punctuation">()</span>
|
92
|
+
</td>
|
93
|
+
</tr>
|
94
|
+
<tr>
|
95
|
+
<td class="function_type">
|
96
|
+
<span class="returnvalue">gboolean</span>
|
97
|
+
</td>
|
98
|
+
<td class="function_name">
|
99
|
+
<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> <span class="c_punctuation">()</span>
|
100
|
+
</td>
|
101
|
+
</tr>
|
102
|
+
<tr>
|
103
|
+
<td class="function_type">
|
104
|
+
<span class="returnvalue">gboolean</span>
|
105
|
+
</td>
|
106
|
+
<td class="function_name">
|
107
|
+
<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> <span class="c_punctuation">()</span>
|
108
|
+
</td>
|
109
|
+
</tr>
|
110
|
+
<tr>
|
111
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
112
|
+
</td>
|
113
|
+
<td class="function_name">
|
114
|
+
<a class="link" href="libcroco-cr-rgb.html#cr-rgb-set-to-transparent" title="cr_rgb_set_to_transparent ()">cr_rgb_set_to_transparent</a> <span class="c_punctuation">()</span>
|
115
|
+
</td>
|
116
|
+
</tr>
|
117
|
+
<tr>
|
118
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
119
|
+
</td>
|
120
|
+
<td class="function_name">
|
121
|
+
<a class="link" href="libcroco-cr-rgb.html#cr-rgb-set-from-rgb" title="cr_rgb_set_from_rgb ()">cr_rgb_set_from_rgb</a> <span class="c_punctuation">()</span>
|
122
|
+
</td>
|
123
|
+
</tr>
|
124
|
+
<tr>
|
125
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
126
|
+
</td>
|
127
|
+
<td class="function_name">
|
128
|
+
<a class="link" href="libcroco-cr-rgb.html#cr-rgb-set-from-name" title="cr_rgb_set_from_name ()">cr_rgb_set_from_name</a> <span class="c_punctuation">()</span>
|
129
|
+
</td>
|
130
|
+
</tr>
|
131
|
+
<tr>
|
132
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
133
|
+
</td>
|
134
|
+
<td class="function_name">
|
135
|
+
<a class="link" href="libcroco-cr-rgb.html#cr-rgb-set-from-hex-str" title="cr_rgb_set_from_hex_str ()">cr_rgb_set_from_hex_str</a> <span class="c_punctuation">()</span>
|
136
|
+
</td>
|
137
|
+
</tr>
|
138
|
+
<tr>
|
139
|
+
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
140
|
+
</td>
|
141
|
+
<td class="function_name">
|
142
|
+
<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> <span class="c_punctuation">()</span>
|
143
|
+
</td>
|
144
|
+
</tr>
|
145
|
+
<tr>
|
146
|
+
<td class="function_type">
|
147
|
+
<span class="returnvalue">guchar</span> *
|
148
|
+
</td>
|
149
|
+
<td class="function_name">
|
150
|
+
<a class="link" href="libcroco-cr-rgb.html#cr-rgb-to-string" title="cr_rgb_to_string ()">cr_rgb_to_string</a> <span class="c_punctuation">()</span>
|
151
|
+
</td>
|
152
|
+
</tr>
|
153
|
+
<tr>
|
154
|
+
<td class="function_type">
|
155
|
+
<span class="returnvalue">void</span>
|
156
|
+
</td>
|
157
|
+
<td class="function_name">
|
158
|
+
<a class="link" href="libcroco-cr-rgb.html#cr-rgb-dump" title="cr_rgb_dump ()">cr_rgb_dump</a> <span class="c_punctuation">()</span>
|
159
|
+
</td>
|
160
|
+
</tr>
|
161
|
+
<tr>
|
162
|
+
<td class="function_type">
|
163
|
+
<span class="returnvalue">void</span>
|
164
|
+
</td>
|
165
|
+
<td class="function_name">
|
166
|
+
<a class="link" href="libcroco-cr-rgb.html#cr-rgb-destroy" title="cr_rgb_destroy ()">cr_rgb_destroy</a> <span class="c_punctuation">()</span>
|
167
|
+
</td>
|
123
168
|
</tr>
|
124
169
|
</tbody>
|
125
170
|
</table></div>
|
126
171
|
</div>
|
127
|
-
<
|
128
|
-
<
|
129
|
-
<
|
130
|
-
<
|
131
|
-
|
132
|
-
<
|
133
|
-
</
|
134
|
-
</div>
|
135
|
-
<hr>
|
136
|
-
<div class="refsect2">
|
137
|
-
<a name="cr-rgb-destroy"></a><h3>cr_rgb_destroy ()</h3>
|
138
|
-
<pre class="programlisting"><span class="returnvalue">void</span> cr_rgb_destroy (<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>);</pre>
|
139
|
-
<p>
|
140
|
-
Destructor of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a>.
|
141
|
-
</p>
|
142
|
-
<div class="variablelist"><table border="0">
|
143
|
-
<col align="left" valign="top">
|
172
|
+
<div class="refsect1">
|
173
|
+
<a name="libcroco-cr-rgb.other"></a><h2>Types and Values</h2>
|
174
|
+
<div class="informaltable"><table width="100%" border="0">
|
175
|
+
<colgroup>
|
176
|
+
<col width="150px" class="name">
|
177
|
+
<col class="description">
|
178
|
+
</colgroup>
|
144
179
|
<tbody><tr>
|
145
|
-
<td
|
146
|
-
<td
|
147
|
-
current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a>.</td>
|
180
|
+
<td class="datatype_keyword">struct</td>
|
181
|
+
<td class="function_name"><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb">CRRgb</a></td>
|
148
182
|
</tr></tbody>
|
149
183
|
</table></div>
|
150
184
|
</div>
|
185
|
+
<div class="refsect1">
|
186
|
+
<a name="libcroco-cr-rgb.description"></a><h2>Description</h2>
|
187
|
+
</div>
|
188
|
+
<div class="refsect1">
|
189
|
+
<a name="libcroco-cr-rgb.functions_details"></a><h2>Functions</h2>
|
190
|
+
<div class="refsect2">
|
191
|
+
<a name="cr-rgb-new"></a><h3>cr_rgb_new ()</h3>
|
192
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="returnvalue">CRRgb</span></a> *
|
193
|
+
cr_rgb_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
194
|
+
<p>The default constructor of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a>.</p>
|
195
|
+
<p>Returns the newly built instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a></p>
|
196
|
+
</div>
|
151
197
|
<hr>
|
152
198
|
<div class="refsect2">
|
153
|
-
<a name="cr-rgb-
|
154
|
-
<pre class="programlisting"><
|
155
|
-
|
156
|
-
<
|
157
|
-
|
158
|
-
|
159
|
-
</p>
|
160
|
-
<
|
161
|
-
<
|
199
|
+
<a name="cr-rgb-new-with-vals"></a><h3>cr_rgb_new_with_vals ()</h3>
|
200
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="returnvalue">CRRgb</span></a> *
|
201
|
+
cr_rgb_new_with_vals (<em class="parameter"><code><span class="type">gulong</span> a_red</code></em>,
|
202
|
+
<em class="parameter"><code><span class="type">gulong</span> a_green</code></em>,
|
203
|
+
<em class="parameter"><code><span class="type">gulong</span> a_blue</code></em>,
|
204
|
+
<em class="parameter"><code><span class="type">gboolean</span> a_is_percentage</code></em>);</pre>
|
205
|
+
<p>A constructor of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a>.</p>
|
206
|
+
<p>Returns the newly built instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a>.</p>
|
207
|
+
<div class="refsect3">
|
208
|
+
<a name="id-1.2.16.6.3.6"></a><h4>Parameters</h4>
|
209
|
+
<div class="informaltable"><table width="100%" border="0">
|
210
|
+
<colgroup>
|
211
|
+
<col width="150px" class="parameters_name">
|
212
|
+
<col class="parameters_description">
|
213
|
+
<col width="200px" class="parameters_annotations">
|
214
|
+
</colgroup>
|
162
215
|
<tbody>
|
163
216
|
<tr>
|
164
|
-
<td
|
165
|
-
<td>the
|
166
|
-
|
217
|
+
<td class="parameter_name"><p>a_red</p></td>
|
218
|
+
<td class="parameter_description"><p>the red component of the color.</p></td>
|
219
|
+
<td class="parameter_annotations"> </td>
|
220
|
+
</tr>
|
221
|
+
<tr>
|
222
|
+
<td class="parameter_name"><p>a_green</p></td>
|
223
|
+
<td class="parameter_description"><p>the green component of the color.</p></td>
|
224
|
+
<td class="parameter_annotations"> </td>
|
225
|
+
</tr>
|
226
|
+
<tr>
|
227
|
+
<td class="parameter_name"><p>a_blue</p></td>
|
228
|
+
<td class="parameter_description"><p>the blue component of the color.</p></td>
|
229
|
+
<td class="parameter_annotations"> </td>
|
167
230
|
</tr>
|
168
231
|
<tr>
|
169
|
-
<td
|
170
|
-
<td>the
|
232
|
+
<td class="parameter_name"><p>a_unit</p></td>
|
233
|
+
<td class="parameter_description"><p>the unit of the rgb values.
|
234
|
+
(either percentage or integer values)</p></td>
|
235
|
+
<td class="parameter_annotations"> </td>
|
171
236
|
</tr>
|
172
237
|
</tbody>
|
173
238
|
</table></div>
|
174
239
|
</div>
|
175
|
-
<hr>
|
176
|
-
<div class="refsect2">
|
177
|
-
<a name="cr-rgb-is-set-to-inherit"></a><h3>cr_rgb_is_set_to_inherit ()</h3>
|
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
|
-
<p>
|
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
|
-
</p>
|
182
|
-
<div class="variablelist"><table border="0">
|
183
|
-
<col align="left" valign="top">
|
184
|
-
<tbody><tr>
|
185
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
186
|
-
<td>TRUE if the rgb is set to the value "inherit", FALSE otherwise.</td>
|
187
|
-
</tr></tbody>
|
188
|
-
</table></div>
|
189
240
|
</div>
|
190
241
|
<hr>
|
191
242
|
<div class="refsect2">
|
192
|
-
<a name="cr-rgb-
|
193
|
-
<pre class="programlisting"><a
|
194
|
-
<
|
195
|
-
|
196
|
-
|
197
|
-
</p>
|
198
|
-
<div class="
|
199
|
-
<
|
243
|
+
<a name="cr-rgb-parse-from-buf"></a><h3>cr_rgb_parse_from_buf ()</h3>
|
244
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="returnvalue">CRRgb</span></a> *
|
245
|
+
cr_rgb_parse_from_buf (<em class="parameter"><code>const <span class="type">guchar</span> *a_str</code></em>,
|
246
|
+
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);</pre>
|
247
|
+
<p>Parses a text buffer that contains a rgb color</p>
|
248
|
+
<p>Returns the parsed color, or NULL in case of error</p>
|
249
|
+
<div class="refsect3">
|
250
|
+
<a name="id-1.2.16.6.4.6"></a><h4>Parameters</h4>
|
251
|
+
<div class="informaltable"><table width="100%" border="0">
|
252
|
+
<colgroup>
|
253
|
+
<col width="150px" class="parameters_name">
|
254
|
+
<col class="parameters_description">
|
255
|
+
<col width="200px" class="parameters_annotations">
|
256
|
+
</colgroup>
|
200
257
|
<tbody>
|
201
258
|
<tr>
|
202
|
-
<td
|
203
|
-
<td>
|
204
|
-
<
|
205
|
-
</td>
|
259
|
+
<td class="parameter_name"><p>a_str</p></td>
|
260
|
+
<td class="parameter_description"><p>a string that contains a color description</p></td>
|
261
|
+
<td class="parameter_annotations"> </td>
|
206
262
|
</tr>
|
207
263
|
<tr>
|
208
|
-
<td
|
209
|
-
<td>
|
210
|
-
|
264
|
+
<td class="parameter_name"><p>a_enc</p></td>
|
265
|
+
<td class="parameter_description"><p>the encoding of a_str</p></td>
|
266
|
+
<td class="parameter_annotations"> </td>
|
211
267
|
</tr>
|
212
268
|
</tbody>
|
213
269
|
</table></div>
|
214
270
|
</div>
|
271
|
+
</div>
|
215
272
|
<hr>
|
216
273
|
<div class="refsect2">
|
217
|
-
<a name="cr-rgb-
|
218
|
-
<pre class="programlisting"
|
219
|
-
<
|
220
|
-
|
221
|
-
|
222
|
-
<
|
223
|
-
<
|
274
|
+
<a name="cr-rgb-compute-from-percentage"></a><h3>cr_rgb_compute_from_percentage ()</h3>
|
275
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
276
|
+
cr_rgb_compute_from_percentage (<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>);</pre>
|
277
|
+
<p>If the rgb values are expressed in percentage,
|
278
|
+
compute their real value.</p>
|
279
|
+
<p>Returns CR_OK upon successful completion, an error code otherwise.</p>
|
280
|
+
<div class="refsect3">
|
281
|
+
<a name="id-1.2.16.6.5.6"></a><h4>Parameters</h4>
|
282
|
+
<div class="informaltable"><table width="100%" border="0">
|
283
|
+
<colgroup>
|
284
|
+
<col width="150px" class="parameters_name">
|
285
|
+
<col class="parameters_description">
|
286
|
+
<col width="200px" class="parameters_annotations">
|
287
|
+
</colgroup>
|
224
288
|
<tbody><tr>
|
225
|
-
<td
|
226
|
-
<td>the
|
227
|
-
</td>
|
289
|
+
<td class="parameter_name"><p>a_this</p></td>
|
290
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a></p></td>
|
291
|
+
<td class="parameter_annotations"> </td>
|
228
292
|
</tr></tbody>
|
229
293
|
</table></div>
|
230
294
|
</div>
|
295
|
+
</div>
|
231
296
|
<hr>
|
232
297
|
<div class="refsect2">
|
233
|
-
<a name="cr-rgb-
|
234
|
-
<pre class="programlisting"
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
<
|
239
|
-
|
240
|
-
|
241
|
-
<
|
242
|
-
|
298
|
+
<a name="cr-rgb-set"></a><h3>cr_rgb_set ()</h3>
|
299
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
300
|
+
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>,
|
301
|
+
<em class="parameter"><code><span class="type">gulong</span> a_red</code></em>,
|
302
|
+
<em class="parameter"><code><span class="type">gulong</span> a_green</code></em>,
|
303
|
+
<em class="parameter"><code><span class="type">gulong</span> a_blue</code></em>,
|
304
|
+
<em class="parameter"><code><span class="type">gboolean</span> a_is_percentage</code></em>);</pre>
|
305
|
+
<p>Sets rgb values to the RGB.</p>
|
306
|
+
<p>Returns CR_OK upon successful completion, an error code
|
307
|
+
otherwise.</p>
|
308
|
+
<div class="refsect3">
|
309
|
+
<a name="id-1.2.16.6.6.6"></a><h4>Parameters</h4>
|
310
|
+
<div class="informaltable"><table width="100%" border="0">
|
311
|
+
<colgroup>
|
312
|
+
<col width="150px" class="parameters_name">
|
313
|
+
<col class="parameters_description">
|
314
|
+
<col width="200px" class="parameters_annotations">
|
315
|
+
</colgroup>
|
243
316
|
<tbody>
|
244
317
|
<tr>
|
245
|
-
<td
|
246
|
-
<td>the
|
318
|
+
<td class="parameter_name"><p>a_this</p></td>
|
319
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a>.</p></td>
|
320
|
+
<td class="parameter_annotations"> </td>
|
247
321
|
</tr>
|
248
322
|
<tr>
|
249
|
-
<td
|
250
|
-
<td>the
|
323
|
+
<td class="parameter_name"><p>a_red</p></td>
|
324
|
+
<td class="parameter_description"><p>the red value.</p></td>
|
325
|
+
<td class="parameter_annotations"> </td>
|
251
326
|
</tr>
|
252
327
|
<tr>
|
253
|
-
<td
|
254
|
-
<td>the
|
328
|
+
<td class="parameter_name"><p>a_green</p></td>
|
329
|
+
<td class="parameter_description"><p>the green value.</p></td>
|
330
|
+
<td class="parameter_annotations"> </td>
|
255
331
|
</tr>
|
256
332
|
<tr>
|
257
|
-
<td
|
258
|
-
<td
|
333
|
+
<td class="parameter_name"><p>a_blue</p></td>
|
334
|
+
<td class="parameter_description"><p>the blue value.</p></td>
|
335
|
+
<td class="parameter_annotations"> </td>
|
259
336
|
</tr>
|
260
337
|
</tbody>
|
261
338
|
</table></div>
|
262
339
|
</div>
|
340
|
+
</div>
|
263
341
|
<hr>
|
264
342
|
<div class="refsect2">
|
265
|
-
<a name="cr-rgb-
|
266
|
-
<pre class="programlisting"
|
267
|
-
|
268
|
-
<
|
269
|
-
|
270
|
-
|
271
|
-
<div class="
|
272
|
-
<
|
273
|
-
<
|
274
|
-
<
|
275
|
-
<
|
276
|
-
<
|
277
|
-
|
278
|
-
|
279
|
-
<
|
280
|
-
<
|
281
|
-
</
|
282
|
-
<
|
283
|
-
<
|
284
|
-
<
|
285
|
-
|
286
|
-
|
343
|
+
<a name="cr-rgb-copy"></a><h3>cr_rgb_copy ()</h3>
|
344
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
345
|
+
cr_rgb_copy (<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> *a_dest</code></em>,
|
346
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> const *a_src</code></em>);</pre>
|
347
|
+
</div>
|
348
|
+
<hr>
|
349
|
+
<div class="refsect2">
|
350
|
+
<a name="cr-rgb-set-to-inherit"></a><h3>cr_rgb_set_to_inherit ()</h3>
|
351
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
352
|
+
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>,
|
353
|
+
<em class="parameter"><code><span class="type">gboolean</span> a_inherit</code></em>);</pre>
|
354
|
+
<p>sets the value of the rgb to inherit.
|
355
|
+
Look at the css spec from chapter 6.1 to 6.2 to understand
|
356
|
+
the meaning of "inherit".</p>
|
357
|
+
<p>Returns CR_OK upon succesful completion, an error code otherwise.</p>
|
358
|
+
<div class="refsect3">
|
359
|
+
<a name="id-1.2.16.6.8.6"></a><h4>Parameters</h4>
|
360
|
+
<div class="informaltable"><table width="100%" border="0">
|
361
|
+
<colgroup>
|
362
|
+
<col width="150px" class="parameters_name">
|
363
|
+
<col class="parameters_description">
|
364
|
+
<col width="200px" class="parameters_annotations">
|
365
|
+
</colgroup>
|
366
|
+
<tbody><tr>
|
367
|
+
<td class="parameter_name"><p>a_this</p></td>
|
368
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a></p></td>
|
369
|
+
<td class="parameter_annotations"> </td>
|
370
|
+
</tr></tbody>
|
287
371
|
</table></div>
|
288
372
|
</div>
|
373
|
+
</div>
|
289
374
|
<hr>
|
290
375
|
<div class="refsect2">
|
291
|
-
<a name="cr-rgb-set"></a><h3>
|
292
|
-
<pre class="programlisting"
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
<
|
301
|
-
<
|
302
|
-
<
|
303
|
-
<
|
304
|
-
|
305
|
-
<
|
306
|
-
|
307
|
-
<
|
308
|
-
<
|
309
|
-
<
|
310
|
-
|
311
|
-
<
|
312
|
-
<
|
313
|
-
<
|
314
|
-
</
|
315
|
-
<tr>
|
316
|
-
<td
|
317
|
-
<td>the
|
318
|
-
</
|
319
|
-
<
|
320
|
-
|
321
|
-
<td>CR_OK upon successful completion, an error code
|
322
|
-
otherwise.</td>
|
323
|
-
</tr>
|
324
|
-
</tbody>
|
376
|
+
<a name="cr-rgb-is-set-to-inherit"></a><h3>cr_rgb_is_set_to_inherit ()</h3>
|
377
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
378
|
+
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>
|
379
|
+
<p><em class="parameter"><code>a_this</code></em>
|
380
|
+
: the current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a>.</p>
|
381
|
+
<p>Returns TRUE if the rgb is set to the value "inherit", FALSE otherwise.</p>
|
382
|
+
</div>
|
383
|
+
<hr>
|
384
|
+
<div class="refsect2">
|
385
|
+
<a name="cr-rgb-is-set-to-transparent"></a><h3>cr_rgb_is_set_to_transparent ()</h3>
|
386
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
387
|
+
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>
|
388
|
+
<p>Tests if the the rgb is set to the
|
389
|
+
value "transparent" or not.</p>
|
390
|
+
<p>Returns TRUE if the rgb has been set to
|
391
|
+
transparent, FALSE otherwise.</p>
|
392
|
+
<div class="refsect3">
|
393
|
+
<a name="id-1.2.16.6.10.6"></a><h4>Parameters</h4>
|
394
|
+
<div class="informaltable"><table width="100%" border="0">
|
395
|
+
<colgroup>
|
396
|
+
<col width="150px" class="parameters_name">
|
397
|
+
<col class="parameters_description">
|
398
|
+
<col width="200px" class="parameters_annotations">
|
399
|
+
</colgroup>
|
400
|
+
<tbody><tr>
|
401
|
+
<td class="parameter_name"><p>a_this</p></td>
|
402
|
+
<td class="parameter_description"><p>the current instance of
|
403
|
+
<a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a></p></td>
|
404
|
+
<td class="parameter_annotations"> </td>
|
405
|
+
</tr></tbody>
|
325
406
|
</table></div>
|
326
407
|
</div>
|
408
|
+
</div>
|
327
409
|
<hr>
|
328
410
|
<div class="refsect2">
|
329
|
-
<a name="cr-rgb-set-
|
330
|
-
<pre class="programlisting">enum <
|
331
|
-
|
332
|
-
<
|
333
|
-
<
|
411
|
+
<a name="cr-rgb-set-to-transparent"></a><h3>cr_rgb_set_to_transparent ()</h3>
|
412
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
413
|
+
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>,
|
414
|
+
<em class="parameter"><code><span class="type">gboolean</span> a_is_transparent</code></em>);</pre>
|
415
|
+
<p>Sets the rgb to the "transparent" value (or not)
|
416
|
+
Returns CR_OK upon successfull completion, an error code otherwise.</p>
|
417
|
+
<div class="refsect3">
|
418
|
+
<a name="id-1.2.16.6.11.5"></a><h4>Parameters</h4>
|
419
|
+
<div class="informaltable"><table width="100%" border="0">
|
420
|
+
<colgroup>
|
421
|
+
<col width="150px" class="parameters_name">
|
422
|
+
<col class="parameters_description">
|
423
|
+
<col width="200px" class="parameters_annotations">
|
424
|
+
</colgroup>
|
334
425
|
<tbody>
|
335
426
|
<tr>
|
336
|
-
<td
|
337
|
-
<td>the current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a>
|
338
|
-
</td>
|
427
|
+
<td class="parameter_name"><p>a_this</p></td>
|
428
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a></p></td>
|
429
|
+
<td class="parameter_annotations"> </td>
|
339
430
|
</tr>
|
340
431
|
<tr>
|
341
|
-
<td
|
342
|
-
<td>
|
432
|
+
<td class="parameter_name"><p>a_is_transparent</p></td>
|
433
|
+
<td class="parameter_description"><p>set to transparent or not.</p></td>
|
434
|
+
<td class="parameter_annotations"> </td>
|
343
435
|
</tr>
|
344
436
|
</tbody>
|
345
437
|
</table></div>
|
346
438
|
</div>
|
439
|
+
</div>
|
347
440
|
<hr>
|
348
441
|
<div class="refsect2">
|
349
|
-
<a name="cr-rgb-set-from-
|
350
|
-
<pre class="programlisting">enum <
|
351
|
-
|
352
|
-
<
|
353
|
-
<
|
442
|
+
<a name="cr-rgb-set-from-rgb"></a><h3>cr_rgb_set_from_rgb ()</h3>
|
443
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
444
|
+
cr_rgb_set_from_rgb (<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>,
|
445
|
+
<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>);</pre>
|
446
|
+
<p>Sets the rgb from an other one.</p>
|
447
|
+
<p>Returns CR_OK upon successful completion, an error code otherwise.</p>
|
448
|
+
<div class="refsect3">
|
449
|
+
<a name="id-1.2.16.6.12.6"></a><h4>Parameters</h4>
|
450
|
+
<div class="informaltable"><table width="100%" border="0">
|
451
|
+
<colgroup>
|
452
|
+
<col width="150px" class="parameters_name">
|
453
|
+
<col class="parameters_description">
|
454
|
+
<col width="200px" class="parameters_annotations">
|
455
|
+
</colgroup>
|
354
456
|
<tbody>
|
355
457
|
<tr>
|
356
|
-
<td
|
357
|
-
<td>the current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a>
|
358
|
-
</td>
|
359
|
-
</tr>
|
360
|
-
<tr>
|
361
|
-
<td><p><span class="term"><em class="parameter"><code>a_color_name</code></em> :</span></p></td>
|
362
|
-
<td>the color name</td>
|
458
|
+
<td class="parameter_name"><p>a_this</p></td>
|
459
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a>.</p></td>
|
460
|
+
<td class="parameter_annotations"> </td>
|
363
461
|
</tr>
|
364
462
|
<tr>
|
365
|
-
<td
|
366
|
-
<td>
|
463
|
+
<td class="parameter_name"><p>a_rgb</p></td>
|
464
|
+
<td class="parameter_description"><p>the rgb to "copy"</p></td>
|
465
|
+
<td class="parameter_annotations"> </td>
|
367
466
|
</tr>
|
368
467
|
</tbody>
|
369
468
|
</table></div>
|
370
469
|
</div>
|
470
|
+
</div>
|
371
471
|
<hr>
|
372
472
|
<div class="refsect2">
|
373
|
-
<a name="cr-rgb-set-from-
|
374
|
-
<pre class="programlisting">enum <
|
375
|
-
|
376
|
-
<
|
377
|
-
|
378
|
-
|
379
|
-
<
|
380
|
-
<
|
473
|
+
<a name="cr-rgb-set-from-name"></a><h3>cr_rgb_set_from_name ()</h3>
|
474
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
475
|
+
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>,
|
476
|
+
<em class="parameter"><code>const <span class="type">guchar</span> *a_color_name</code></em>);</pre>
|
477
|
+
<p>Returns CR_OK upon successful completion, an error code otherwise.</p>
|
478
|
+
<div class="refsect3">
|
479
|
+
<a name="id-1.2.16.6.13.5"></a><h4>Parameters</h4>
|
480
|
+
<div class="informaltable"><table width="100%" border="0">
|
481
|
+
<colgroup>
|
482
|
+
<col width="150px" class="parameters_name">
|
483
|
+
<col class="parameters_description">
|
484
|
+
<col width="200px" class="parameters_annotations">
|
485
|
+
</colgroup>
|
381
486
|
<tbody>
|
382
487
|
<tr>
|
383
|
-
<td
|
384
|
-
<td>the current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a
|
488
|
+
<td class="parameter_name"><p>a_this</p></td>
|
489
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a></p></td>
|
490
|
+
<td class="parameter_annotations"> </td>
|
385
491
|
</tr>
|
386
492
|
<tr>
|
387
|
-
<td
|
388
|
-
<td>the
|
389
|
-
</
|
390
|
-
<tr>
|
391
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
392
|
-
<td>CR_OK upon successful completion, an error code otherwise.</td>
|
493
|
+
<td class="parameter_name"><p>a_color_name</p></td>
|
494
|
+
<td class="parameter_description"><p>the color name</p></td>
|
495
|
+
<td class="parameter_annotations"> </td>
|
393
496
|
</tr>
|
394
497
|
</tbody>
|
395
498
|
</table></div>
|
396
499
|
</div>
|
500
|
+
</div>
|
397
501
|
<hr>
|
398
502
|
<div class="refsect2">
|
399
|
-
<a name="cr-rgb-set-from-
|
400
|
-
<pre class="programlisting">enum <
|
401
|
-
|
402
|
-
<
|
403
|
-
|
404
|
-
|
405
|
-
<
|
406
|
-
<
|
503
|
+
<a name="cr-rgb-set-from-hex-str"></a><h3>cr_rgb_set_from_hex_str ()</h3>
|
504
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
505
|
+
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>,
|
506
|
+
<em class="parameter"><code>const <span class="type">guchar</span> *a_hex_value</code></em>);</pre>
|
507
|
+
<p>Returns CR_OK upon successful completion.</p>
|
508
|
+
<div class="refsect3">
|
509
|
+
<a name="id-1.2.16.6.14.5"></a><h4>Parameters</h4>
|
510
|
+
<div class="informaltable"><table width="100%" border="0">
|
511
|
+
<colgroup>
|
512
|
+
<col width="150px" class="parameters_name">
|
513
|
+
<col class="parameters_description">
|
514
|
+
<col width="200px" class="parameters_annotations">
|
515
|
+
</colgroup>
|
407
516
|
<tbody>
|
408
517
|
<tr>
|
409
|
-
<td
|
410
|
-
<td>the instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a
|
518
|
+
<td class="parameter_name"><p>a_this</p></td>
|
519
|
+
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a></p></td>
|
520
|
+
<td class="parameter_annotations"> </td>
|
411
521
|
</tr>
|
412
522
|
<tr>
|
413
|
-
<td
|
414
|
-
<td>the
|
415
|
-
</
|
416
|
-
<tr>
|
417
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
418
|
-
<td>CR_OK upon successful completion, an error code otherwise.</td>
|
523
|
+
<td class="parameter_name"><p>a_hex</p></td>
|
524
|
+
<td class="parameter_description"><p>the hexadecimal value to set.</p></td>
|
525
|
+
<td class="parameter_annotations"> </td>
|
419
526
|
</tr>
|
420
527
|
</tbody>
|
421
528
|
</table></div>
|
422
529
|
</div>
|
530
|
+
</div>
|
423
531
|
<hr>
|
424
532
|
<div class="refsect2">
|
425
|
-
<a name="cr-rgb-set-
|
426
|
-
<pre class="programlisting">enum <
|
427
|
-
|
428
|
-
<
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
</
|
433
|
-
<div class="
|
434
|
-
<
|
533
|
+
<a name="cr-rgb-set-from-term"></a><h3>cr_rgb_set_from_term ()</h3>
|
534
|
+
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
|
535
|
+
cr_rgb_set_from_term (<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>,
|
536
|
+
<em class="parameter"><code>const <span class="type">struct _CRTerm</span> *a_value</code></em>);</pre>
|
537
|
+
<p>Set the rgb from a terminal symbol</p>
|
538
|
+
<p>Returns CR_OK upon successful completion, an error code otherwise.</p>
|
539
|
+
<div class="refsect3">
|
540
|
+
<a name="id-1.2.16.6.15.6"></a><h4>Parameters</h4>
|
541
|
+
<div class="informaltable"><table width="100%" border="0">
|
542
|
+
<colgroup>
|
543
|
+
<col width="150px" class="parameters_name">
|
544
|
+
<col class="parameters_description">
|
545
|
+
<col width="200px" class="parameters_annotations">
|
546
|
+
</colgroup>
|
435
547
|
<tbody>
|
436
548
|
<tr>
|
437
|
-
<td
|
438
|
-
<td>the
|
439
|
-
</td>
|
549
|
+
<td class="parameter_name"><p>a_this</p></td>
|
550
|
+
<td class="parameter_description"><p>the instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> to set</p></td>
|
551
|
+
<td class="parameter_annotations"> </td>
|
440
552
|
</tr>
|
441
553
|
<tr>
|
442
|
-
<td
|
443
|
-
<td>
|
554
|
+
<td class="parameter_name"><p>a_value</p></td>
|
555
|
+
<td class="parameter_description"><p>the terminal from which to set</p></td>
|
556
|
+
<td class="parameter_annotations"> </td>
|
444
557
|
</tr>
|
445
558
|
</tbody>
|
446
559
|
</table></div>
|
447
560
|
</div>
|
561
|
+
</div>
|
448
562
|
<hr>
|
449
563
|
<div class="refsect2">
|
450
|
-
<a name="cr-rgb-
|
451
|
-
<pre class="programlisting"
|
452
|
-
|
453
|
-
<p>
|
454
|
-
|
455
|
-
</p>
|
456
|
-
<div class="
|
457
|
-
<
|
458
|
-
<
|
459
|
-
<
|
460
|
-
<
|
461
|
-
<
|
462
|
-
|
463
|
-
</
|
464
|
-
<tr>
|
465
|
-
<td
|
466
|
-
<td>
|
467
|
-
</
|
468
|
-
|
469
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
470
|
-
<td>CR_OK upon successfull completion, an error code otherwise.</td>
|
471
|
-
</tr>
|
472
|
-
</tbody>
|
564
|
+
<a name="cr-rgb-to-string"></a><h3>cr_rgb_to_string ()</h3>
|
565
|
+
<pre class="programlisting"><span class="returnvalue">guchar</span> *
|
566
|
+
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>
|
567
|
+
<p>Serializes the rgb into a zero terminated string.</p>
|
568
|
+
<p>Returns the zero terminated string containing the serialized
|
569
|
+
rgb. MUST BE FREED by the caller using <code class="function">g_free()</code>.</p>
|
570
|
+
<div class="refsect3">
|
571
|
+
<a name="id-1.2.16.6.16.6"></a><h4>Parameters</h4>
|
572
|
+
<div class="informaltable"><table width="100%" border="0">
|
573
|
+
<colgroup>
|
574
|
+
<col width="150px" class="parameters_name">
|
575
|
+
<col class="parameters_description">
|
576
|
+
<col width="200px" class="parameters_annotations">
|
577
|
+
</colgroup>
|
578
|
+
<tbody><tr>
|
579
|
+
<td class="parameter_name"><p>a_this</p></td>
|
580
|
+
<td class="parameter_description"><p>the instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a> to serialize.</p></td>
|
581
|
+
<td class="parameter_annotations"> </td>
|
582
|
+
</tr></tbody>
|
473
583
|
</table></div>
|
474
584
|
</div>
|
585
|
+
</div>
|
475
586
|
<hr>
|
476
587
|
<div class="refsect2">
|
477
|
-
<a name="cr-rgb-
|
478
|
-
<pre class="programlisting"><
|
479
|
-
<
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
<
|
588
|
+
<a name="cr-rgb-dump"></a><h3>cr_rgb_dump ()</h3>
|
589
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
590
|
+
cr_rgb_dump (<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>,
|
591
|
+
<em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>);</pre>
|
592
|
+
<p>Dumps the current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a>
|
593
|
+
to a file.</p>
|
594
|
+
<div class="refsect3">
|
595
|
+
<a name="id-1.2.16.6.17.5"></a><h4>Parameters</h4>
|
596
|
+
<div class="informaltable"><table width="100%" border="0">
|
597
|
+
<colgroup>
|
598
|
+
<col width="150px" class="parameters_name">
|
599
|
+
<col class="parameters_description">
|
600
|
+
<col width="200px" class="parameters_annotations">
|
601
|
+
</colgroup>
|
484
602
|
<tbody>
|
485
603
|
<tr>
|
486
|
-
<td
|
487
|
-
<td
|
604
|
+
<td class="parameter_name"><p>a_this</p></td>
|
605
|
+
<td class="parameter_description"><p>the "this pointer" of
|
606
|
+
the current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a>.</p></td>
|
607
|
+
<td class="parameter_annotations"> </td>
|
488
608
|
</tr>
|
489
609
|
<tr>
|
490
|
-
<td
|
491
|
-
<td>the
|
492
|
-
|
610
|
+
<td class="parameter_name"><p>a_fp</p></td>
|
611
|
+
<td class="parameter_description"><p>the destination file pointer.</p></td>
|
612
|
+
<td class="parameter_annotations"> </td>
|
493
613
|
</tr>
|
494
614
|
</tbody>
|
495
615
|
</table></div>
|
496
616
|
</div>
|
497
617
|
</div>
|
618
|
+
<hr>
|
619
|
+
<div class="refsect2">
|
620
|
+
<a name="cr-rgb-destroy"></a><h3>cr_rgb_destroy ()</h3>
|
621
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
622
|
+
cr_rgb_destroy (<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>);</pre>
|
623
|
+
<p>Destructor of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a>.</p>
|
624
|
+
<div class="refsect3">
|
625
|
+
<a name="id-1.2.16.6.18.5"></a><h4>Parameters</h4>
|
626
|
+
<div class="informaltable"><table width="100%" border="0">
|
627
|
+
<colgroup>
|
628
|
+
<col width="150px" class="parameters_name">
|
629
|
+
<col class="parameters_description">
|
630
|
+
<col width="200px" class="parameters_annotations">
|
631
|
+
</colgroup>
|
632
|
+
<tbody><tr>
|
633
|
+
<td class="parameter_name"><p>a_this</p></td>
|
634
|
+
<td class="parameter_description"><p>the "this pointer" of the
|
635
|
+
current instance of <a class="link" href="libcroco-cr-rgb.html#CRRgb" title="struct CRRgb"><span class="type">CRRgb</span></a>.</p></td>
|
636
|
+
<td class="parameter_annotations"> </td>
|
637
|
+
</tr></tbody>
|
638
|
+
</table></div>
|
639
|
+
</div>
|
640
|
+
</div>
|
641
|
+
</div>
|
642
|
+
<div class="refsect1">
|
643
|
+
<a name="libcroco-cr-rgb.other_details"></a><h2>Types and Values</h2>
|
644
|
+
<div class="refsect2">
|
645
|
+
<a name="CRRgb"></a><h3>struct CRRgb</h3>
|
646
|
+
<pre class="programlisting">struct CRRgb {
|
647
|
+
/*
|
648
|
+
*the unit of the rgb.
|
649
|
+
*Either NO_UNIT (integer) or
|
650
|
+
*UNIT_PERCENTAGE (percentage).
|
651
|
+
*/
|
652
|
+
const guchar *name ;
|
653
|
+
glong red ;
|
654
|
+
glong green ;
|
655
|
+
glong blue ;
|
656
|
+
gboolean is_percentage ;
|
657
|
+
gboolean inherit ;
|
658
|
+
gboolean is_transparent ;
|
659
|
+
CRParsingLocation location ;
|
660
|
+
};
|
661
|
+
</pre>
|
662
|
+
</div>
|
663
|
+
</div>
|
498
664
|
</div>
|
499
665
|
<div class="footer">
|
500
|
-
<hr>
|
501
|
-
Generated by GTK-Doc V1.18</div>
|
666
|
+
<hr>Generated by GTK-Doc V1.24.1</div>
|
502
667
|
</body>
|
503
668
|
</html>
|