8
8
<link rel="up" href="ch06.html" title="Graphic object properties">
9
9
<link rel="prev" href="goffice-06-go-marker.html" title="go-marker">
10
10
<link rel="next" href="ch07.html" title="Rendering utilities">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="part" href="pt01.html" title="Part I. Graphs">
14
14
<link rel="chapter" href="ch01.html" title="Objects">
36
36
<th width="100%" align="center">Goffice Reference Manual</th>
37
37
<td><a accesskey="n" href="ch07.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
39
<tr><td colspan="5" class="shortcuts">
40
<a href="#goffice-06-go-pattern.synopsis" class="shortcut">Top</a>
42
<a href="#goffice-06-go-pattern.description" class="shortcut">Description</a>
39
<tr><td colspan="5" class="shortcuts"><nobr><a href="#goffice-06-go-pattern.synopsis" class="shortcut">Top</a>
41
<a href="#goffice-06-go-pattern.description" class="shortcut">Description</a></nobr></td></tr>
45
43
<div class="refentry" lang="en">
46
44
<a name="goffice-06-go-pattern"></a><div class="titlepage"></div>
57
55
<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a>;
58
56
enum <a class="link" href="goffice-06-go-pattern.html#GOPatternType" title="enum GOPatternType">GOPatternType</a>;
59
57
<a class="link" href="goffice-06-go-pattern.html#GOPatternType" title="enum GOPatternType">GOPatternType</a> <a class="link" href="goffice-06-go-pattern.html#go-pattern-from-str" title="go_pattern_from_str ()">go_pattern_from_str</a> (char const *name);
60
char const * <a class="link" href="goffice-06-go-pattern.html#go-pattern-as-str" title="go_pattern_as_str ()">go_pattern_as_str</a> (<a class="link" href="goffice-06-go-pattern.html#GOPatternType" title="enum GOPatternType">GOPatternType</a> pattern);
61
gboolean <a class="link" href="goffice-06-go-pattern.html#go-pattern-is-solid" title="go_pattern_is_solid ()">go_pattern_is_solid</a> (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> const *pat,
58
charconst * <a class="link" href="goffice-06-go-pattern.html#go-pattern-as-str" title="go_pattern_as_str ()">go_pattern_as_str</a> (<a class="link" href="goffice-06-go-pattern.html#GOPatternType" title="enum GOPatternType">GOPatternType</a> pattern);
60
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
61
>gboolean</a> <a class="link" href="goffice-06-go-pattern.html#go-pattern-is-solid" title="go_pattern_is_solid ()">go_pattern_is_solid</a> (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> const *pat,
63
63
void <a class="link" href="goffice-06-go-pattern.html#go-pattern-set-solid" title="go_pattern_set_solid ()">go_pattern_set_solid</a> (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> *pat,
65
guint8 const * <a class="link" href="goffice-06-go-pattern.html#go-pattern-get-pattern" title="go_pattern_get_pattern ()">go_pattern_get_pattern</a> (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> const *pat);
66
xmlChar * <a class="link" href="goffice-06-go-pattern.html#go-pattern-get-svg-path" title="go_pattern_get_svg_path ()">go_pattern_get_svg_path</a> (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> const *pattern,
66
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
67
>guint8</a>const * <a class="link" href="goffice-06-go-pattern.html#go-pattern-get-pattern" title="go_pattern_get_pattern ()">go_pattern_get_pattern</a> (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> const *pat);
68
xmlChar* <a class="link" href="goffice-06-go-pattern.html#go-pattern-get-svg-path" title="go_pattern_get_svg_path ()">go_pattern_get_svg_path</a> (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> const *pattern,
69
cairo_pattern_t * <a class="link" href="goffice-06-go-pattern.html#go-pattern-create-cairo-pattern" title="go_pattern_create_cairo_pattern ()">go_pattern_create_cairo_pattern</a> (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> const *pattern,
71
cairo_pattern_t* <a class="link" href="goffice-06-go-pattern.html#go-pattern-create-cairo-pattern" title="go_pattern_create_cairo_pattern ()">go_pattern_create_cairo_pattern</a> (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> const *pattern,
153
155
<div class="refsect2" lang="en">
154
156
<a name="go-pattern-as-str"></a><h3>go_pattern_as_str ()</h3>
155
<pre class="programlisting">char const * go_pattern_as_str (<a class="link" href="goffice-06-go-pattern.html#GOPatternType" title="enum GOPatternType">GOPatternType</a> pattern);</pre>
157
<pre class="programlisting">charconst * go_pattern_as_str (<a class="link" href="goffice-06-go-pattern.html#GOPatternType" title="enum GOPatternType">GOPatternType</a> pattern);</pre>
178
180
<div class="refsect2" lang="en">
179
181
<a name="go-pattern-is-solid"></a><h3>go_pattern_is_solid ()</h3>
180
<pre class="programlisting">gboolean go_pattern_is_solid (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> const *pat,
182
<pre class="programlisting"><a
183
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
184
>gboolean</a> go_pattern_is_solid (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> const *pat,
181
185
GOColor *color);</pre>
236
240
<div class="refsect2" lang="en">
237
241
<a name="go-pattern-get-pattern"></a><h3>go_pattern_get_pattern ()</h3>
238
<pre class="programlisting">guint8 const * go_pattern_get_pattern (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> const *pat);</pre>
242
<pre class="programlisting"><a
243
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"
244
>guint8</a>const * go_pattern_get_pattern (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> const *pat);</pre>
261
267
<div class="refsect2" lang="en">
262
268
<a name="go-pattern-get-svg-path"></a><h3>go_pattern_get_svg_path ()</h3>
263
<pre class="programlisting">xmlChar * go_pattern_get_svg_path (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> const *pattern,
269
<pre class="programlisting">xmlChar* go_pattern_get_svg_path (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> const *pattern,
265
271
double *height);</pre>
303
309
<div class="refsect2" lang="en">
304
310
<a name="go-pattern-create-cairo-pattern"></a><h3>go_pattern_create_cairo_pattern ()</h3>
305
<pre class="programlisting">cairo_pattern_t * go_pattern_create_cairo_pattern (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> const *pattern,
311
<pre class="programlisting">cairo_pattern_t* go_pattern_create_cairo_pattern (<a class="link" href="goffice-06-go-pattern.html#GOPattern" title="GOPattern">GOPattern</a> const *pattern,
306
312
cairo_t *cr);</pre>
308
314
Creates a cairo pattern object corresponding to <em class="parameter"><code>pattern</code></em> parameters. The returned