diff options
Diffstat (limited to 'doc/public/html/cairo-cairo-pattern-t.html')
-rw-r--r-- | doc/public/html/cairo-cairo-pattern-t.html | 764 |
1 files changed, 0 insertions, 764 deletions
diff --git a/doc/public/html/cairo-cairo-pattern-t.html b/doc/public/html/cairo-cairo-pattern-t.html deleted file mode 100644 index 25f9034..0000000 --- a/doc/public/html/cairo-cairo-pattern-t.html +++ /dev/null @@ -1,764 +0,0 @@ -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> -<title>cairo_pattern_t</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.68.1"> -<link rel="start" href="index.html" title="Cairo: A Vector Graphics Library"> -<link rel="up" href="pt02.html" title="Part II. Reference"> -<link rel="prev" href="cairo-cairo-surface-t.html" title="cairo_surface_t"> -<link rel="next" href="cairo-cairo-matrix-t.html" title="cairo_matrix_t"> -<meta name="generator" content="GTK-Doc V1.4 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -<link rel="part" href="pt01.html" title="Part I. Tutorial"> -<link rel="part" href="pt02.html" title="Part II. Reference"> -<link rel="index" href="ix01.html" title="Index"> -<link rel="appendix" href="language-bindings.html" title="Appendix A. Creating a language binding for cairo"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="cairo-cairo-surface-t.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="pt02.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">Cairo: A Vector Graphics Library</th> -<td><a accesskey="n" href="cairo-cairo-matrix-t.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="refentry" lang="en"> -<a name="cairo-cairo-pattern-t"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle">cairo_pattern_t</span></h2> -<p>cairo_pattern_t — </p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<h2>Synopsis</h2> -<pre class="synopsis"> - - - -typedef <a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a>; -<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a>* <a href="cairo-cairo-pattern-t.html#cairo-pattern-create-rgb">cairo_pattern_create_rgb</a> (double red, - double green, - double blue); -<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a>* <a href="cairo-cairo-pattern-t.html#cairo-pattern-create-rgba">cairo_pattern_create_rgba</a> (double red, - double green, - double blue, - double alpha); -<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a>* <a href="cairo-cairo-pattern-t.html#cairo-pattern-create-for-surface">cairo_pattern_create_for_surface</a> - (<a href="cairo-cairo-surface-t.html#cairo-surface-t">cairo_surface_t</a> *surface); -<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a>* <a href="cairo-cairo-pattern-t.html#cairo-pattern-create-linear">cairo_pattern_create_linear</a> - (double x0, - double y0, - double x1, - double y1); -<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a>* <a href="cairo-cairo-pattern-t.html#cairo-pattern-create-radial">cairo_pattern_create_radial</a> - (double cx0, - double cy0, - double radius0, - double cx1, - double cy1, - double radius1); -void <a href="cairo-cairo-pattern-t.html#cairo-pattern-reference">cairo_pattern_reference</a> (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern); -void <a href="cairo-cairo-pattern-t.html#cairo-pattern-destroy">cairo_pattern_destroy</a> (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern); -<a href="cairo-cairo-t.html#cairo-status-t">cairo_status_t</a> <a href="cairo-cairo-pattern-t.html#cairo-pattern-status">cairo_pattern_status</a> (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern); -void <a href="cairo-cairo-pattern-t.html#cairo-pattern-add-color-stop-rgb">cairo_pattern_add_color_stop_rgb</a> - (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern, - double offset, - double red, - double green, - double blue); -void <a href="cairo-cairo-pattern-t.html#cairo-pattern-add-color-stop-rgba">cairo_pattern_add_color_stop_rgba</a> - (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern, - double offset, - double red, - double green, - double blue, - double alpha); -void <a href="cairo-cairo-pattern-t.html#cairo-pattern-set-matrix">cairo_pattern_set_matrix</a> (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern, - const <a href="cairo-cairo-matrix-t.html#cairo-matrix-t">cairo_matrix_t</a> *matrix); -void <a href="cairo-cairo-pattern-t.html#cairo-pattern-get-matrix">cairo_pattern_get_matrix</a> (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern, - <a href="cairo-cairo-matrix-t.html#cairo-matrix-t">cairo_matrix_t</a> *matrix); -enum <a href="cairo-cairo-pattern-t.html#cairo-extend-t">cairo_extend_t</a>; -void <a href="cairo-cairo-pattern-t.html#cairo-pattern-set-extend">cairo_pattern_set_extend</a> (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern, - <a href="cairo-cairo-pattern-t.html#cairo-extend-t">cairo_extend_t</a> extend); -<a href="cairo-cairo-pattern-t.html#cairo-extend-t">cairo_extend_t</a> <a href="cairo-cairo-pattern-t.html#cairo-pattern-get-extend">cairo_pattern_get_extend</a> (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern); -void <a href="cairo-cairo-pattern-t.html#cairo-pattern-set-filter">cairo_pattern_set_filter</a> (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern, - <a href="cairo-cairo-t.html#cairo-filter-t">cairo_filter_t</a> filter); -<a href="cairo-cairo-t.html#cairo-filter-t">cairo_filter_t</a> <a href="cairo-cairo-pattern-t.html#cairo-pattern-get-filter">cairo_pattern_get_filter</a> (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern); -</pre> -</div> -<div class="refsect1" lang="en"> -<a name="id2652410"></a><h2>Description</h2> -<p> - -</p> -</div> -<div class="refsect1" lang="en"> -<a name="id2652421"></a><h2>Details</h2> -<div class="refsect2" lang="en"> -<a name="id2652427"></a><h3> -<a name="cairo-pattern-t"></a>cairo_pattern_t</h3> -<a class="indexterm" name="id2652437"></a><pre class="programlisting">typedef struct _cairo_pattern cairo_pattern_t; -</pre> -<p> - -</p> -</div> -<hr> -<div class="refsect2" lang="en"> -<a name="id2652454"></a><h3> -<a name="cairo-pattern-create-rgb"></a>cairo_pattern_create_rgb ()</h3> -<a class="indexterm" name="id2652462"></a><pre class="programlisting"><a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a>* cairo_pattern_create_rgb (double red, - double green, - double blue);</pre> -<p> -Create a new cairo_pattern_t corresponding to a opaque color. The -color components are floating point numbers in the range 0 to 1. -If the values passed in are outside that range, they will be -clamped.</p> -<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> red component of the color -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>green</code></em> :</span></td> -<td> green component of the color -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>blue</code></em> :</span></td> -<td> blue component of the color -</td> -</tr> -<tr> -<td> -<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td> -<td> the newly created <a href="cairo-cairo-pattern-t.html#cairo-pattern-t"><span class="type">cairo_pattern_t</span></a> if succesful, or -an error pattern in case of no memory. The caller owns the -returned object and should call <a href="cairo-cairo-pattern-t.html#cairo-pattern-destroy"><code class="function">cairo_pattern_destroy()</code></a> when -finished with it. - -This function will always return a valid pointer, but if an error -occurred the pattern status will be set to an error. To inspect -the status of a pattern use <a href="cairo-cairo-pattern-t.html#cairo-pattern-status"><code class="function">cairo_pattern_status()</code></a>. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2" lang="en"> -<a name="id2613872"></a><h3> -<a name="cairo-pattern-create-rgba"></a>cairo_pattern_create_rgba ()</h3> -<a class="indexterm" name="id2613882"></a><pre class="programlisting"><a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a>* cairo_pattern_create_rgba (double red, - double green, - double blue, - double alpha);</pre> -<p> -Create a new cairo_pattern_t corresponding to a translucent color. -The color components are floating point numbers in the range 0 to -1. If the values passed in are outside that range, they will be -clamped.</p> -<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> red component of the color -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>green</code></em> :</span></td> -<td> green component of the color -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>blue</code></em> :</span></td> -<td> blue component of the color -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>alpha</code></em> :</span></td> -<td> alpha component of the color -</td> -</tr> -<tr> -<td> -<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td> -<td> the newly created <a href="cairo-cairo-pattern-t.html#cairo-pattern-t"><span class="type">cairo_pattern_t</span></a> if succesful, or -an error pattern in case of no memory. The caller owns the -returned object and should call <a href="cairo-cairo-pattern-t.html#cairo-pattern-destroy"><code class="function">cairo_pattern_destroy()</code></a> when -finished with it. - -This function will always return a valid pointer, but if an error -occurred the pattern status will be set to an error. To inspect -the status of a pattern use <a href="cairo-cairo-pattern-t.html#cairo-pattern-status"><code class="function">cairo_pattern_status()</code></a>. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2" lang="en"> -<a name="id2650221"></a><h3> -<a name="cairo-pattern-create-for-surface"></a>cairo_pattern_create_for_surface ()</h3> -<a class="indexterm" name="id2650231"></a><pre class="programlisting"><a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a>* cairo_pattern_create_for_surface - (<a href="cairo-cairo-surface-t.html#cairo-surface-t">cairo_surface_t</a> *surface);</pre> -<p> -Create a new cairo_pattern_t for the given surface.</p> -<p> - -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td> -<span class="term"><em class="parameter"><code>surface</code></em> :</span></td> -<td> the surface -</td> -</tr> -<tr> -<td> -<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td> -<td> the newly created <a href="cairo-cairo-pattern-t.html#cairo-pattern-t"><span class="type">cairo_pattern_t</span></a> if succesful, or -an error pattern in case of no memory. The caller owns the -returned object and should call <a href="cairo-cairo-pattern-t.html#cairo-pattern-destroy"><code class="function">cairo_pattern_destroy()</code></a> when -finished with it. - -This function will always return a valid pointer, but if an error -occurred the pattern status will be set to an error. To inspect -the status of a pattern use <a href="cairo-cairo-pattern-t.html#cairo-pattern-status"><code class="function">cairo_pattern_status()</code></a>. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2" lang="en"> -<a name="id2650323"></a><h3> -<a name="cairo-pattern-create-linear"></a>cairo_pattern_create_linear ()</h3> -<a class="indexterm" name="id2650333"></a><pre class="programlisting"><a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a>* cairo_pattern_create_linear - (double x0, - double y0, - double x1, - double y1);</pre> -<p> -Create a new linear gradient cairo_pattern_t along the line defined -by (x0, y0) and (x1, y1). Before using the gradient pattern, a -number of color stops should be defined using -<a href="cairo-cairo-pattern-t.html#cairo-pattern-add-color-stop-rgb"><code class="function">cairo_pattern_add_color_stop_rgb()</code></a> or -<a href="cairo-cairo-pattern-t.html#cairo-pattern-add-color-stop-rgba"><code class="function">cairo_pattern_add_color_stop_rgba()</code></a>.</p> -<p> - -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td> -<span class="term"><em class="parameter"><code>x0</code></em> :</span></td> -<td> x coordinate of the start point -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>y0</code></em> :</span></td> -<td> y coordinate of the start point -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>x1</code></em> :</span></td> -<td> x coordinate of the end point -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>y1</code></em> :</span></td> -<td> y coordinate of the end point -</td> -</tr> -<tr> -<td> -<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td> -<td> the newly created <a href="cairo-cairo-pattern-t.html#cairo-pattern-t"><span class="type">cairo_pattern_t</span></a> if succesful, or -an error pattern in case of no memory. The caller owns the -returned object and should call <a href="cairo-cairo-pattern-t.html#cairo-pattern-destroy"><code class="function">cairo_pattern_destroy()</code></a> when -finished with it. - -This function will always return a valid pointer, but if an error -occurred the pattern status will be set to an error. To inspect -the status of a pattern use <a href="cairo-cairo-pattern-t.html#cairo-pattern-status"><code class="function">cairo_pattern_status()</code></a>. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2" lang="en"> -<a name="id2619005"></a><h3> -<a name="cairo-pattern-create-radial"></a>cairo_pattern_create_radial ()</h3> -<a class="indexterm" name="id2619014"></a><pre class="programlisting"><a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a>* cairo_pattern_create_radial - (double cx0, - double cy0, - double radius0, - double cx1, - double cy1, - double radius1);</pre> -<p> -Create a new radial gradient cairo_pattern_t between the two -circles defined by (x0, y0, c0) and (x1, y1, c0). Before using the -gradient pattern, a number of color stops should be defined using -<a href="cairo-cairo-pattern-t.html#cairo-pattern-add-color-stop-rgb"><code class="function">cairo_pattern_add_color_stop_rgb()</code></a> or -<a href="cairo-cairo-pattern-t.html#cairo-pattern-add-color-stop-rgba"><code class="function">cairo_pattern_add_color_stop_rgba()</code></a>.</p> -<p> - -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td> -<span class="term"><em class="parameter"><code>cx0</code></em> :</span></td> -<td> x coordinate for the center of the start circle -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>cy0</code></em> :</span></td> -<td> y coordinate for the center of the start circle -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>radius0</code></em> :</span></td> -<td> radius of the start cirle -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>cx1</code></em> :</span></td> -<td> x coordinate for the center of the end circle -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>cy1</code></em> :</span></td> -<td> y coordinate for the center of the end circle -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>radius1</code></em> :</span></td> -<td> radius of the end cirle -</td> -</tr> -<tr> -<td> -<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td> -<td> the newly created <a href="cairo-cairo-pattern-t.html#cairo-pattern-t"><span class="type">cairo_pattern_t</span></a> if succesful, or -an error pattern in case of no memory. The caller owns the -returned object and should call <a href="cairo-cairo-pattern-t.html#cairo-pattern-destroy"><code class="function">cairo_pattern_destroy()</code></a> when -finished with it. - -This function will always return a valid pointer, but if an error -occurred the pattern status will be set to an error. To inspect -the status of a pattern use <a href="cairo-cairo-pattern-t.html#cairo-pattern-status"><code class="function">cairo_pattern_status()</code></a>. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2" lang="en"> -<a name="id2619235"></a><h3> -<a name="cairo-pattern-reference"></a>cairo_pattern_reference ()</h3> -<a class="indexterm" name="id2619244"></a><pre class="programlisting">void cairo_pattern_reference (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern);</pre> -<p> -Increases the reference count on <em class="parameter"><code>pattern</code></em> by one. This prevents -<em class="parameter"><code>pattern</code></em> from being destroyed until a matching call to -<a href="cairo-cairo-pattern-t.html#cairo-pattern-destroy"><code class="function">cairo_pattern_destroy()</code></a> is made.</p> -<p> - -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td> -<span class="term"><em class="parameter"><code>pattern</code></em> :</span></td> -<td> a <a href="cairo-cairo-pattern-t.html#cairo-pattern-t"><span class="type">cairo_pattern_t</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2" lang="en"> -<a name="id2619322"></a><h3> -<a name="cairo-pattern-destroy"></a>cairo_pattern_destroy ()</h3> -<a class="indexterm" name="id2619331"></a><pre class="programlisting">void cairo_pattern_destroy (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern);</pre> -<p> -Decreases the reference count on <em class="parameter"><code>pattern</code></em> by one. If the result is -zero, then <em class="parameter"><code>pattern</code></em> and all associated resources are freed. See -<a href="cairo-cairo-pattern-t.html#cairo-pattern-reference"><code class="function">cairo_pattern_reference()</code></a>.</p> -<p> - -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td> -<span class="term"><em class="parameter"><code>pattern</code></em> :</span></td> -<td> a <a href="cairo-cairo-pattern-t.html#cairo-pattern-t"><span class="type">cairo_pattern_t</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2" lang="en"> -<a name="id2619408"></a><h3> -<a name="cairo-pattern-status"></a>cairo_pattern_status ()</h3> -<a class="indexterm" name="id2619417"></a><pre class="programlisting"><a href="cairo-cairo-t.html#cairo-status-t">cairo_status_t</a> cairo_pattern_status (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern);</pre> -<p> -Checks whether an error has previously occurred for this -pattern.</p> -<p> - -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td> -<span class="term"><em class="parameter"><code>pattern</code></em> :</span></td> -<td> a <a href="cairo-cairo-pattern-t.html#cairo-pattern-t"><span class="type">cairo_pattern_t</span></a> -</td> -</tr> -<tr> -<td> -<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td> -<td> <code class="literal">CAIRO_STATUS_SUCCESS</code> or <code class="literal">CAIRO_STATUS_NO_MEMORY</code> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2" lang="en"> -<a name="id2619496"></a><h3> -<a name="cairo-pattern-add-color-stop-rgb"></a>cairo_pattern_add_color_stop_rgb ()</h3> -<a class="indexterm" name="id2619507"></a><pre class="programlisting">void cairo_pattern_add_color_stop_rgb - (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern, - double offset, - double red, - double green, - double 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>pattern</code></em> :</span></td> -<td> -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>offset</code></em> :</span></td> -<td> -</td> -</tr> -<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> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2" lang="en"> -<a name="id2619638"></a><h3> -<a name="cairo-pattern-add-color-stop-rgba"></a>cairo_pattern_add_color_stop_rgba ()</h3> -<a class="indexterm" name="id2619650"></a><pre class="programlisting">void cairo_pattern_add_color_stop_rgba - (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern, - double offset, - double red, - double green, - double blue, - double 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>pattern</code></em> :</span></td> -<td> -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>offset</code></em> :</span></td> -<td> -</td> -</tr> -<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> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2" lang="en"> -<a name="id2619802"></a><h3> -<a name="cairo-pattern-set-matrix"></a>cairo_pattern_set_matrix ()</h3> -<a class="indexterm" name="id2619811"></a><pre class="programlisting">void cairo_pattern_set_matrix (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern, - const <a href="cairo-cairo-matrix-t.html#cairo-matrix-t">cairo_matrix_t</a> *matrix);</pre> -<p> - -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td> -<span class="term"><em class="parameter"><code>pattern</code></em> :</span></td> -<td> -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>matrix</code></em> :</span></td> -<td> - - -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2" lang="en"> -<a name="id2619878"></a><h3> -<a name="cairo-pattern-get-matrix"></a>cairo_pattern_get_matrix ()</h3> -<a class="indexterm" name="id2619887"></a><pre class="programlisting">void cairo_pattern_get_matrix (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern, - <a href="cairo-cairo-matrix-t.html#cairo-matrix-t">cairo_matrix_t</a> *matrix);</pre> -<p> - -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td> -<span class="term"><em class="parameter"><code>pattern</code></em> :</span></td> -<td> -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>matrix</code></em> :</span></td> -<td> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2" lang="en"> -<a name="id2619954"></a><h3> -<a name="cairo-extend-t"></a>enum cairo_extend_t</h3> -<a class="indexterm" name="id2619964"></a><pre class="programlisting">typedef enum _cairo_extend { - CAIRO_EXTEND_NONE, - CAIRO_EXTEND_REPEAT, - CAIRO_EXTEND_REFLECT -} cairo_extend_t; -</pre> -<p> - -</p> -</div> -<hr> -<div class="refsect2" lang="en"> -<a name="id2619982"></a><h3> -<a name="cairo-pattern-set-extend"></a>cairo_pattern_set_extend ()</h3> -<a class="indexterm" name="id2619991"></a><pre class="programlisting">void cairo_pattern_set_extend (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern, - <a href="cairo-cairo-pattern-t.html#cairo-extend-t">cairo_extend_t</a> extend);</pre> -<p> - -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td> -<span class="term"><em class="parameter"><code>pattern</code></em> :</span></td> -<td> -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>extend</code></em> :</span></td> -<td> - - -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2" lang="en"> -<a name="id2620058"></a><h3> -<a name="cairo-pattern-get-extend"></a>cairo_pattern_get_extend ()</h3> -<a class="indexterm" name="id2620067"></a><pre class="programlisting"><a href="cairo-cairo-pattern-t.html#cairo-extend-t">cairo_extend_t</a> cairo_pattern_get_extend (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern);</pre> -<p> - -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td> -<span class="term"><em class="parameter"><code>pattern</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="id2656635"></a><h3> -<a name="cairo-pattern-set-filter"></a>cairo_pattern_set_filter ()</h3> -<a class="indexterm" name="id2656644"></a><pre class="programlisting">void cairo_pattern_set_filter (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern, - <a href="cairo-cairo-t.html#cairo-filter-t">cairo_filter_t</a> filter);</pre> -<p> - -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td> -<span class="term"><em class="parameter"><code>pattern</code></em> :</span></td> -<td> -</td> -</tr> -<tr> -<td> -<span class="term"><em class="parameter"><code>filter</code></em> :</span></td> -<td> - - -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2" lang="en"> -<a name="id2656711"></a><h3> -<a name="cairo-pattern-get-filter"></a>cairo_pattern_get_filter ()</h3> -<a class="indexterm" name="id2656720"></a><pre class="programlisting"><a href="cairo-cairo-t.html#cairo-filter-t">cairo_filter_t</a> cairo_pattern_get_filter (<a href="cairo-cairo-pattern-t.html#cairo-pattern-t">cairo_pattern_t</a> *pattern);</pre> -<p> - -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td> -<span class="term"><em class="parameter"><code>pattern</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> -</div> -</div> -<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"> -<td align="left"><a accesskey="p" href="cairo-cairo-surface-t.html"><b><< cairo_surface_t</b></a></td> -<td align="right"><a accesskey="n" href="cairo-cairo-matrix-t.html"><b>cairo_matrix_t >></b></a></td> -</tr></table> -</body> -</html> |