8
8
<link rel="up" href="libgimp-data.html" title="Data Objects">
9
9
<link rel="prev" href="libgimp-gimppalettes.html" title="gimppalettes">
10
10
<link rel="next" href="libgimp-gimppatterns.html" title="gimppatterns">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="libgimp.html" title="Part I. GIMP Library">
14
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
15
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
16
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
17
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
18
<link rel="part" href="libgimpui.html" title="Part II. GIMP User Interface Library">
19
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
20
<link rel="index" href="libgimp-index.html" title="Index">
21
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
22
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
23
<link rel="index" href="libgimp-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
24
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
26
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
27
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
35
23
<tr><td colspan="5" class="shortcuts">
36
24
<a href="#libgimp-gimppattern.synopsis" class="shortcut">Top</a>
38
<a href="#libgimp-gimppattern.description" class="shortcut">Description</a>
26
<a href="#libgimp-gimppattern.description" class="shortcut">Description</a>
41
29
<div class="refentry" title="gimppattern">
49
37
</tr></table></div>
50
38
<div class="refsynopsisdiv" title="Synopsis">
51
39
<a name="libgimp-gimppattern.synopsis"></a><h2>Synopsis</h2>
52
<pre class="synopsis">
54
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
55
>gboolean</a> <a class="link" href="libgimp-gimppattern.html#gimp-pattern-get-info" title="gimp_pattern_get_info ()">gimp_pattern_get_info</a> (const <a
56
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
59
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
62
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
65
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
68
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
69
>gboolean</a> <a class="link" href="libgimp-gimppattern.html#gimp-pattern-get-pixels" title="gimp_pattern_get_pixels ()">gimp_pattern_get_pixels</a> (const <a
70
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
73
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
76
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
79
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
82
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
83
>gint</a> *num_color_bytes,
85
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
86
>guint8</a> **color_bytes);
40
<pre class="synopsis"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimppattern.html#gimp-pattern-get-info" title="gimp_pattern_get_info ()">gimp_pattern_get_info</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
41
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
42
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>,
43
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *bpp</code></em>);
44
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimppattern.html#gimp-pattern-get-pixels" title="gimp_pattern_get_pixels ()">gimp_pattern_get_pixels</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
45
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
46
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>,
47
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *bpp</code></em>,
48
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_color_bytes</code></em>,
49
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> **color_bytes</code></em>);
89
52
<div class="refsect1" title="Description">
96
59
<a name="libgimp-gimppattern.details"></a><h2>Details</h2>
97
60
<div class="refsect2" title="gimp_pattern_get_info ()">
98
61
<a name="gimp-pattern-get-info"></a><h3>gimp_pattern_get_info ()</h3>
99
<pre class="programlisting"><a
100
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
101
>gboolean</a> gimp_pattern_get_info (const <a
102
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
105
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
108
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
111
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
112
>gint</a> *bpp);</pre>
62
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_pattern_get_info (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
63
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
64
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>,
65
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *bpp</code></em>);</pre>
114
67
Retrieve information about the specified pattern.
117
70
This procedure retrieves information about the specified pattern.
118
This includes the pattern extents (width and height).</p>
71
This includes the pattern extents (width and height).
121
73
<div class="variablelist"><table border="0">
122
74
<col align="left" valign="top">
125
77
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
126
<td> The pattern name.
130
82
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
131
<td> The pattern width.
83
<td>The pattern width.
135
87
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
136
<td> The pattern height.
88
<td>The pattern height.
140
92
<td><p><span class="term"><em class="parameter"><code>bpp</code></em> :</span></p></td>
141
<td> The pattern bpp.
155
107
<div class="refsect2" title="gimp_pattern_get_pixels ()">
156
108
<a name="gimp-pattern-get-pixels"></a><h3>gimp_pattern_get_pixels ()</h3>
157
<pre class="programlisting"><a
158
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
159
>gboolean</a> gimp_pattern_get_pixels (const <a
160
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
163
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
166
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
169
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
172
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
173
>gint</a> *num_color_bytes,
175
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"
176
>guint8</a> **color_bytes);</pre>
109
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_pattern_get_pixels (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
110
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
111
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>,
112
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *bpp</code></em>,
113
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_color_bytes</code></em>,
114
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> **color_bytes</code></em>);</pre>
178
116
Retrieve information about the specified pattern (including pixels).
181
119
This procedure retrieves information about the specified. This
182
120
includes the pattern extents (width and height), its bpp and its
186
123
<div class="variablelist"><table border="0">
187
124
<col align="left" valign="top">
190
127
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
191
<td> The pattern name.
128
<td>The pattern name.
195
132
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
196
<td> The pattern width.
133
<td>The pattern width.
200
137
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
201
<td> The pattern height.
138
<td>The pattern height.
205
142
<td><p><span class="term"><em class="parameter"><code>bpp</code></em> :</span></p></td>
206
<td> The pattern bpp.
210
147
<td><p><span class="term"><em class="parameter"><code>num_color_bytes</code></em> :</span></p></td>
211
<td> Number of pattern bytes.
148
<td>Number of pattern bytes.
215
152
<td><p><span class="term"><em class="parameter"><code>color_bytes</code></em> :</span></p></td>
216
<td> The pattern data.
153
<td>The pattern data.