diff options
Diffstat (limited to 'libccc/0.0.4/doc/reference/html/ccc-Colors.html')
-rw-r--r-- | libccc/0.0.4/doc/reference/html/ccc-Colors.html | 434 |
1 files changed, 434 insertions, 0 deletions
diff --git a/libccc/0.0.4/doc/reference/html/ccc-Colors.html b/libccc/0.0.4/doc/reference/html/ccc-Colors.html new file mode 100644 index 0000000..5e962ed --- /dev/null +++ b/libccc/0.0.4/doc/reference/html/ccc-Colors.html @@ -0,0 +1,434 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Colors</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.71.0"> +<link rel="start" href="index.html" title="libccc Reference Manual"> +<link rel="up" href="ccc-Fundamentals.html" title="Fundamentals"> +<link rel="prev" href="ccc-Color-Brush.html" title="Color Brush"> +<link rel="next" href="ccc-Rectangle.html" title="Rectangle"> +<meta name="generator" content="GTK-Doc V1.8 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +<link rel="part" href="ccc-Working-with-the-Canvas.html" title="Part I. Working with the Canvas"> +<link rel="chapter" href="ccc-Known-Bugs.html" title="Known Bugs"> +<link rel="chapter" href="ccc-Writing-custom-canvas-items.html" title="Writing custom canvas items"> +<link rel="part" href="ccc-Internals.html" title="Part II. Internals"> +<link rel="chapter" href="ccc-Bounds-Handling.html" title="Bounds Handling"> +<link rel="chapter" href="ccc-Event-Handling.html" title="Event Handling"> +<link rel="chapter" href="ccc-Focus-Handling.html" title="Focus Handling"> +<link rel="chapter" href="ccc-Zoom-and-Scroll.html" title="Zooming and Scrolling"> +<link rel="chapter" href="ccc-Known-Bugs.html" title="Known Bugs"> +<link rel="part" href="ccc-API-Reference.html" title="Part III. API Reference"> +<link rel="chapter" href="ccc-Object-Hierarchy.html" title="Object Hierarchy"> +<link rel="chapter" href="ccc-Fundamentals.html" title="Fundamentals"> +<link rel="chapter" href="ccc-Canvas-Items.html" title="Canvas Items"> +<link rel="chapter" href="ccc-View-Elements.html" title="View Elements"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="ccc-Color-Brush.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ccc-Fundamentals.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libccc Reference Manual</th> +<td><a accesskey="n" href="ccc-Rectangle.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2565542" class="shortcut">Top</a> +  |  + <a href="#id2570023" class="shortcut">Description</a> +  |  + <a href="#id2581144" class="shortcut">Object Hierarchy</a> +  |  + <a href="#id2581234" class="shortcut">Properties</a></nobr></td></tr> +</table> +<div class="refentry" lang="en"> +<a name="ccc-Colors"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2> +<a name="id2565542"></a><span class="refentrytitle">Colors</span> +</h2> +<p>Colors</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv"> +<h2>Synopsis</h2> +<a name="CcColor"></a><a name="CcColorRgb"></a><a name="CcColorHsv"></a><pre class="synopsis"> + + + + <a href="ccc-Colors.html#CcColor-struct">CcColor</a>; +typedef <a href="ccc-Colors.html#CcColorRgb">CcColorRgb</a>; +typedef <a href="ccc-Colors.html#CcColorHsv">CcColorHsv</a>; + <a href="ccc-Colors.html#CcColorClass">CcColorClass</a>; +<a href="ccc-Colors.html#CcColor">CcColor</a>* <a href="ccc-Colors.html#cc-color-new-hsv">cc_color_new_hsv</a> (gdouble hue, + gdouble saturation, + gdouble value); +<a href="ccc-Colors.html#CcColor">CcColor</a>* <a href="ccc-Colors.html#cc-color-new-hsva">cc_color_new_hsva</a> (gdouble hue, + gdouble saturation, + gdouble value, + gdouble alpha); +<a href="ccc-Colors.html#CcColor">CcColor</a>* <a href="ccc-Colors.html#cc-color-new-rgb">cc_color_new_rgb</a> (gdouble red, + gdouble green, + gdouble blue); +<a href="ccc-Colors.html#CcColor">CcColor</a>* <a href="ccc-Colors.html#cc-color-new-rgba">cc_color_new_rgba</a> (gdouble red, + gdouble green, + gdouble blue, + gdouble alpha); +void <a href="ccc-Colors.html#cc-color-apply">cc_color_apply</a> (<a href="ccc-Colors.html#CcColor">CcColor</a> *self, + cairo_t *cr); + +</pre> +</div> +<div class="refsect1" lang="en"> +<a name="id2581144"></a><h2>Object Hierarchy</h2> +<pre class="synopsis"> + + GObject + +----GInitiallyUnowned + +----CcColor + +----<a href="ccc-Colors.html#CcColorHsv">CcColorHsv</a> + +----<a href="ccc-Colors.html#CcColorRgb">CcColorRgb</a> +</pre> +<pre class="synopsis"> + + GObject + +----GInitiallyUnowned + +----<a href="ccc-Colors.html#CcColor">CcColor</a> + +----CcColorRgb +</pre> +<pre class="synopsis"> + + GObject + +----GInitiallyUnowned + +----<a href="ccc-Colors.html#CcColor">CcColor</a> + +----CcColorHsv +</pre> +</div> +<div class="refsect1" lang="en"> +<a name="id2581234"></a><h2>Properties</h2> +<pre class="synopsis"> + + "<a href="ccc-Colors.html#CcColor--alpha">alpha</a>" gdouble : Read / Write / Construct + "<a href="ccc-Colors.html#CcColorRgb--blue">blue</a>" gdouble : Read / Write / Construct + "<a href="ccc-Colors.html#CcColorRgb--green">green</a>" gdouble : Read / Write / Construct + "<a href="ccc-Colors.html#CcColorRgb--red">red</a>" gdouble : Read / Write / Construct + "<a href="ccc-Colors.html#CcColorHsv--hue">hue</a>" gdouble : Read / Write / Construct + "<a href="ccc-Colors.html#CcColorHsv--saturation">saturation</a>" gdouble : Read / Write / Construct + "<a href="ccc-Colors.html#CcColorHsv--value">value</a>" gdouble : Read / Write / Construct +</pre> +</div> +<div class="refsect1" lang="en"> +<a name="id2570023"></a><h2>Description</h2> +<p> + +</p> +</div> +<div class="refsect1" lang="en"> +<a name="id2570038"></a><h2>Details</h2> +<div class="refsect2" lang="en"> +<a name="id2570049"></a><h3> +<a name="CcColor-struct"></a>CcColor</h3> +<a class="indexterm" name="id2570062"></a><pre class="programlisting">typedef struct _CcColor CcColor;</pre> +<p> + +</p> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2570077"></a><h3> +<a name="CcColorRgb"></a>CcColorRgb</h3> +<a class="indexterm" name="id2570088"></a><pre class="programlisting">typedef CcColor CcColorRgb; +</pre> +<p> + +</p> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2570104"></a><h3> +<a name="CcColorHsv"></a>CcColorHsv</h3> +<a class="indexterm" name="id2570116"></a><pre class="programlisting">typedef CcColor CcColorHsv; +</pre> +<p> + +</p> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2570131"></a><h3> +<a name="CcColorClass"></a>CcColorClass</h3> +<a class="indexterm" name="id2570143"></a><pre class="programlisting">typedef struct { + GInitiallyUnownedClass base_class; + + /* vtable */ + void (*apply) (CcColor const* self, + cairo_t * cr); +} CcColorClass; +</pre> +<p> + +</p> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2570161"></a><h3> +<a name="cc-color-new-hsv"></a>cc_color_new_hsv ()</h3> +<a class="indexterm" name="id2570174"></a><pre class="programlisting"><a href="ccc-Colors.html#CcColor">CcColor</a>* cc_color_new_hsv (gdouble hue, + gdouble saturation, + gdouble value);</pre> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><span class="term"><em class="parameter"><code>hue</code></em> :</span></td> +<td> +</td> +</tr> +<tr> +<td><span class="term"><em class="parameter"><code>saturation</code></em> :</span></td> +<td> +</td> +</tr> +<tr> +<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td> +<td> +</td> +</tr> +<tr> +<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td> +<td> + + +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2506617"></a><h3> +<a name="cc-color-new-hsva"></a>cc_color_new_hsva ()</h3> +<a class="indexterm" name="id2506629"></a><pre class="programlisting"><a href="ccc-Colors.html#CcColor">CcColor</a>* cc_color_new_hsva (gdouble hue, + gdouble saturation, + gdouble value, + gdouble alpha);</pre> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><span class="term"><em class="parameter"><code>hue</code></em> :</span></td> +<td> +</td> +</tr> +<tr> +<td><span class="term"><em class="parameter"><code>saturation</code></em> :</span></td> +<td> +</td> +</tr> +<tr> +<td><span class="term"><em class="parameter"><code>value</code></em> :</span></td> +<td> +</td> +</tr> +<tr> +<td><span class="term"><em class="parameter"><code>alpha</code></em> :</span></td> +<td> +</td> +</tr> +<tr> +<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td> +<td> + + +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2506749"></a><h3> +<a name="cc-color-new-rgb"></a>cc_color_new_rgb ()</h3> +<a class="indexterm" name="id2506762"></a><pre class="programlisting"><a href="ccc-Colors.html#CcColor">CcColor</a>* cc_color_new_rgb (gdouble red, + gdouble green, + gdouble blue);</pre> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><span class="term"><em class="parameter"><code>red</code></em> :</span></td> +<td> +</td> +</tr> +<tr> +<td><span class="term"><em class="parameter"><code>green</code></em> :</span></td> +<td> +</td> +</tr> +<tr> +<td><span class="term"><em class="parameter"><code>blue</code></em> :</span></td> +<td> +</td> +</tr> +<tr> +<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td> +<td> + + +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2592276"></a><h3> +<a name="cc-color-new-rgba"></a>cc_color_new_rgba ()</h3> +<a class="indexterm" name="id2592287"></a><pre class="programlisting"><a href="ccc-Colors.html#CcColor">CcColor</a>* cc_color_new_rgba (gdouble red, + gdouble green, + gdouble blue, + gdouble alpha);</pre> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><span class="term"><em class="parameter"><code>red</code></em> :</span></td> +<td> +</td> +</tr> +<tr> +<td><span class="term"><em class="parameter"><code>green</code></em> :</span></td> +<td> +</td> +</tr> +<tr> +<td><span class="term"><em class="parameter"><code>blue</code></em> :</span></td> +<td> +</td> +</tr> +<tr> +<td><span class="term"><em class="parameter"><code>alpha</code></em> :</span></td> +<td> +</td> +</tr> +<tr> +<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td> +<td> + + +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2592394"></a><h3> +<a name="cc-color-apply"></a>cc_color_apply ()</h3> +<a class="indexterm" name="id2592405"></a><pre class="programlisting">void cc_color_apply (<a href="ccc-Colors.html#CcColor">CcColor</a> *self, + cairo_t *cr);</pre> +<p> + +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><span class="term"><em class="parameter"><code>self</code></em> :</span></td> +<td> +</td> +</tr> +<tr> +<td><span class="term"><em class="parameter"><code>cr</code></em> :</span></td> +<td> + + +</td> +</tr> +</tbody> +</table></div> +</div> +</div> +<div class="refsect1" lang="en"> +<a name="id2592474"></a><h2>Property Details</h2> +<div class="refsect2" lang="en"> +<a name="id2592484"></a><h3> +<a name="CcColor--alpha"></a>The "<code class="literal">alpha</code>" property</h3> +<a class="indexterm" name="id2592499"></a><pre class="programlisting"> "alpha" gdouble : Read / Write / Construct</pre> +<p>Alpha.</p> +<p>Allowed values: [0,1]</p> +<p>Default value: 1</p> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2592528"></a><h3> +<a name="CcColorRgb--blue"></a>The "<code class="literal">blue</code>" property</h3> +<a class="indexterm" name="id2592543"></a><pre class="programlisting"> "blue" gdouble : Read / Write / Construct</pre> +<p>Blue.</p> +<p>Allowed values: [0,1]</p> +<p>Default value: 1</p> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2592572"></a><h3> +<a name="CcColorRgb--green"></a>The "<code class="literal">green</code>" property</h3> +<a class="indexterm" name="id2592587"></a><pre class="programlisting"> "green" gdouble : Read / Write / Construct</pre> +<p>Green.</p> +<p>Allowed values: [0,1]</p> +<p>Default value: 1</p> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2592617"></a><h3> +<a name="CcColorRgb--red"></a>The "<code class="literal">red</code>" property</h3> +<a class="indexterm" name="id2592632"></a><pre class="programlisting"> "red" gdouble : Read / Write / Construct</pre> +<p>Red.</p> +<p>Allowed values: [0,1]</p> +<p>Default value: 1</p> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2592661"></a><h3> +<a name="CcColorHsv--hue"></a>The "<code class="literal">hue</code>" property</h3> +<a class="indexterm" name="id2592676"></a><pre class="programlisting"> "hue" gdouble : Read / Write / Construct</pre> +<p>Hue.</p> +<p>Allowed values: [0,1]</p> +<p>Default value: 0</p> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2592706"></a><h3> +<a name="CcColorHsv--saturation"></a>The "<code class="literal">saturation</code>" property</h3> +<a class="indexterm" name="id2592720"></a><pre class="programlisting"> "saturation" gdouble : Read / Write / Construct</pre> +<p>Saturation.</p> +<p>Allowed values: [0,1]</p> +<p>Default value: 0</p> +</div> +<hr> +<div class="refsect2" lang="en"> +<a name="id2592750"></a><h3> +<a name="CcColorHsv--value"></a>The "<code class="literal">value</code>" property</h3> +<a class="indexterm" name="id2592765"></a><pre class="programlisting"> "value" gdouble : Read / Write / Construct</pre> +<p>Value.</p> +<p>Allowed values: [0,1]</p> +<p>Default value: 1</p> +</div> +</div> +</div> +</body> +</html> |