Imported Upstream version 2.8.16
This commit is contained in:
@ -2,13 +2,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GIMP Library Reference Manual: gimppattern</title>
|
||||
<title>gimppattern: GIMP Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<link rel="home" href="index.html" title="GIMP Library Reference Manual">
|
||||
<link rel="up" href="libgimp-data.html" title="Data Objects">
|
||||
<link rel="prev" href="libgimp-gimppalettes.html" title="gimppalettes">
|
||||
<link rel="next" href="libgimp-gimppatterns.html" title="gimppatterns">
|
||||
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -27,7 +27,7 @@
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgimp-gimppattern.top_of_page"></a>gimppattern</span></h2>
|
||||
<p>gimppattern — Functions operating on a single pattern.</p>
|
||||
<p>gimppattern</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
@ -41,7 +41,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgimp-gimppattern.html#gimp-pattern-get-info" title="gimp_pattern_get_info ()">gimp_pattern_get_info</a> <span class="c_punctuation">()</span>
|
||||
@ -49,7 +49,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgimp-gimppattern.html#gimp-pattern-get-pixels" title="gimp_pattern_get_pixels ()">gimp_pattern_get_pixels</a> <span class="c_punctuation">()</span>
|
||||
@ -60,121 +60,29 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgimp-gimppattern.description"></a><h2>Description</h2>
|
||||
<p>Functions operating on a single pattern.</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgimp-gimppattern.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-pattern-get-info"></a><h3>gimp_pattern_get_info ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gimp_pattern_get_info (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *height</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *bpp</code></em>);</pre>
|
||||
<p>Retrieve information about the specified pattern.</p>
|
||||
<p>This procedure retrieves information about the specified pattern.
|
||||
This includes the pattern extents (width and height).</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.5.10.5.2.6"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>name</p></td>
|
||||
<td class="parameter_description"><p>The pattern name.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>width</p></td>
|
||||
<td class="parameter_description"><p>The pattern width.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>height</p></td>
|
||||
<td class="parameter_description"><p>The pattern height.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>bpp</p></td>
|
||||
<td class="parameter_description"><p>The pattern bpp.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.5.10.5.2.7"></a><h4>Returns</h4>
|
||||
<p> TRUE on success.</p>
|
||||
<p></p>
|
||||
</div>
|
||||
<p class="since">Since GIMP 2.2</p>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gimp_pattern_get_info (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *bpp</code></em>);</pre>
|
||||
<p class="since">Since: GIMP 2.2</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-pattern-get-pixels"></a><h3>gimp_pattern_get_pixels ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gimp_pattern_get_pixels (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *height</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *bpp</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *num_color_bytes</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint8</span> **color_bytes</code></em>);</pre>
|
||||
<p>Retrieve information about the specified pattern (including pixels).</p>
|
||||
<p>This procedure retrieves information about the specified. This
|
||||
includes the pattern extents (width and height), its bpp and its
|
||||
pixel data.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.5.10.5.3.6"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>name</p></td>
|
||||
<td class="parameter_description"><p>The pattern name.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>width</p></td>
|
||||
<td class="parameter_description"><p>The pattern width.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>height</p></td>
|
||||
<td class="parameter_description"><p>The pattern height.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>bpp</p></td>
|
||||
<td class="parameter_description"><p>The pattern bpp.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>num_color_bytes</p></td>
|
||||
<td class="parameter_description"><p>Number of pattern bytes.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>color_bytes</p></td>
|
||||
<td class="parameter_description"><p>The pattern data.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.5.10.5.3.7"></a><h4>Returns</h4>
|
||||
<p> TRUE on success.</p>
|
||||
<p></p>
|
||||
</div>
|
||||
<p class="since">Since GIMP 2.2</p>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gimp_pattern_get_pixels (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *bpp</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *num_color_bytes</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> **color_bytes</code></em>);</pre>
|
||||
<p class="since">Since: GIMP 2.2</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
@ -182,7 +90,6 @@ pixel data.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
Generated by GTK-Doc V1.21</div>
|
||||
<hr>Generated by GTK-Doc V1.24</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user