Imported Upstream version 2.4.0~rc2
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>gimpguides</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
|
||||
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
|
||||
<link rel="up" href="libgimp-image.html" title="Manupulating Images and their Properties">
|
||||
<link rel="prev" href="libgimp-gimpgrid.html" title="gimpgrid">
|
||||
@ -31,16 +31,16 @@
|
||||
<th width="100%" align="center">GIMP Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimp-gimpimage.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="#id2583394" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2583370" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2638163" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2641717" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="libgimp-gimpguides"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2583394"></a><span class="refentrytitle">gimpguides</span>
|
||||
<a name="id2583370"></a><span class="refentrytitle">gimpguides</span>
|
||||
</h2>
|
||||
<p>gimpguides — Functions for manipulating guides.</p>
|
||||
</td>
|
||||
@ -52,74 +52,34 @@
|
||||
|
||||
|
||||
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> <a href="libgimp-gimpguides.html#gimp-image-add-hguide">gimp_image_add_hguide</a> (<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> yposition);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> <a href="libgimp-gimpguides.html#gimp-image-add-vguide">gimp_image_add_vguide</a> (<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> xposition);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a href="libgimp-gimpguides.html#gimp-image-delete-guide">gimp_image_delete_guide</a> (<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> guide_ID);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> <a href="libgimp-gimpguides.html#gimp-image-find-next-guide">gimp_image_find_next_guide</a> (<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> guide_ID);
|
||||
<a href="libgimp-gimpenums.html#GimpOrientationType">GimpOrientationType</a> <a href="libgimp-gimpguides.html#gimp-image-get-guide-orientation">gimp_image_get_guide_orientation</a> (<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> guide_ID);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> <a href="libgimp-gimpguides.html#gimp-image-get-guide-position">gimp_image_get_guide_position</a> (<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> guide_ID);
|
||||
gint32 <a class="link" href="libgimp-gimpguides.html#gimp-image-add-hguide">gimp_image_add_hguide</a> (gint32 image_ID,
|
||||
gint yposition);
|
||||
gint32 <a class="link" href="libgimp-gimpguides.html#gimp-image-add-vguide">gimp_image_add_vguide</a> (gint32 image_ID,
|
||||
gint xposition);
|
||||
gboolean <a class="link" href="libgimp-gimpguides.html#gimp-image-delete-guide">gimp_image_delete_guide</a> (gint32 image_ID,
|
||||
gint32 guide_ID);
|
||||
gint32 <a class="link" href="libgimp-gimpguides.html#gimp-image-find-next-guide">gimp_image_find_next_guide</a> (gint32 image_ID,
|
||||
gint32 guide_ID);
|
||||
<a class="link" href="libgimp-gimpenums.html#GimpOrientationType">GimpOrientationType</a> <a class="link" href="libgimp-gimpguides.html#gimp-image-get-guide-orientation">gimp_image_get_guide_orientation</a> (gint32 image_ID,
|
||||
gint32 guide_ID);
|
||||
gint <a class="link" href="libgimp-gimpguides.html#gimp-image-get-guide-position">gimp_image_get_guide_position</a> (gint32 image_ID,
|
||||
gint32 guide_ID);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2638163"></a><h2>Description</h2>
|
||||
<a name="id2641717"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions for manipulating guides.
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2638178"></a><h2>Details</h2>
|
||||
<a name="id2653811"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2638189"></a><h3>
|
||||
<a name="id2653822"></a><h3>
|
||||
<a name="gimp-image-add-hguide"></a>gimp_image_add_hguide ()</h3>
|
||||
<a class="indexterm" name="id2638200"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> gimp_image_add_hguide (<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> yposition);</pre>
|
||||
<a class="indexterm" name="id2653833"></a><pre class="programlisting">gint32 gimp_image_add_hguide (gint32 image_ID,
|
||||
gint yposition);</pre>
|
||||
<p>
|
||||
Add a horizontal guide to an image.
|
||||
</p>
|
||||
@ -134,17 +94,17 @@ returns the guide ID of the new guide.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>yposition</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>yposition</code></em> :</span></p></td>
|
||||
<td> The guide's y-offset from top of image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td> The new guide.
|
||||
</td>
|
||||
</tr>
|
||||
@ -153,16 +113,10 @@ returns the guide ID of the new guide.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2638288"></a><h3>
|
||||
<a name="id2653921"></a><h3>
|
||||
<a name="gimp-image-add-vguide"></a>gimp_image_add_vguide ()</h3>
|
||||
<a class="indexterm" name="id2638299"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> gimp_image_add_vguide (<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> xposition);</pre>
|
||||
<a class="indexterm" name="id2653932"></a><pre class="programlisting">gint32 gimp_image_add_vguide (gint32 image_ID,
|
||||
gint xposition);</pre>
|
||||
<p>
|
||||
Add a vertical guide to an image.
|
||||
</p>
|
||||
@ -177,17 +131,17 @@ the guide ID of the new guide.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>xposition</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>xposition</code></em> :</span></p></td>
|
||||
<td> The guide's x-offset from left of image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td> The new guide.
|
||||
</td>
|
||||
</tr>
|
||||
@ -196,16 +150,10 @@ the guide ID of the new guide.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2637863"></a><h3>
|
||||
<a name="id2654019"></a><h3>
|
||||
<a name="gimp-image-delete-guide"></a>gimp_image_delete_guide ()</h3>
|
||||
<a class="indexterm" name="id2637874"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_image_delete_guide (<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> guide_ID);</pre>
|
||||
<a class="indexterm" name="id2654031"></a><pre class="programlisting">gboolean gimp_image_delete_guide (gint32 image_ID,
|
||||
gint32 guide_ID);</pre>
|
||||
<p>
|
||||
Deletes a guide from an image.
|
||||
</p>
|
||||
@ -219,17 +167,17 @@ the specified guide from the specified image.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>guide_ID</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>guide_ID</code></em> :</span></p></td>
|
||||
<td> The ID of the guide to be removed.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -238,16 +186,10 @@ the specified guide from the specified image.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2637960"></a><h3>
|
||||
<a name="id2641197"></a><h3>
|
||||
<a name="gimp-image-find-next-guide"></a>gimp_image_find_next_guide ()</h3>
|
||||
<a class="indexterm" name="id2637972"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> gimp_image_find_next_guide (<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> guide_ID);</pre>
|
||||
<a class="indexterm" name="id2641209"></a><pre class="programlisting">gint32 gimp_image_find_next_guide (gint32 image_ID,
|
||||
gint32 guide_ID);</pre>
|
||||
<p>
|
||||
Find next guide on an image.
|
||||
</p>
|
||||
@ -264,17 +206,17 @@ as an argument or the image has no guides.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>guide_ID</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>guide_ID</code></em> :</span></p></td>
|
||||
<td> The ID of the current guide (0 if first invocation).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td> The next guide's ID.
|
||||
</td>
|
||||
</tr>
|
||||
@ -283,14 +225,10 @@ as an argument or the image has no guides.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2636638"></a><h3>
|
||||
<a name="id2641299"></a><h3>
|
||||
<a name="gimp-image-get-guide-orientation"></a>gimp_image_get_guide_orientation ()</h3>
|
||||
<a class="indexterm" name="id2636649"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpOrientationType">GimpOrientationType</a> gimp_image_get_guide_orientation (<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> guide_ID);</pre>
|
||||
<a class="indexterm" name="id2641310"></a><pre class="programlisting"><a class="link" href="libgimp-gimpenums.html#GimpOrientationType">GimpOrientationType</a> gimp_image_get_guide_orientation (gint32 image_ID,
|
||||
gint32 guide_ID);</pre>
|
||||
<p>
|
||||
Get orientation of a guide on an image.
|
||||
</p>
|
||||
@ -304,17 +242,17 @@ the orientations of the guide.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>guide_ID</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>guide_ID</code></em> :</span></p></td>
|
||||
<td> The guide.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td> The guide's orientation.
|
||||
</td>
|
||||
</tr>
|
||||
@ -323,16 +261,10 @@ the orientations of the guide.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2636734"></a><h3>
|
||||
<a name="id2641396"></a><h3>
|
||||
<a name="gimp-image-get-guide-position"></a>gimp_image_get_guide_position ()</h3>
|
||||
<a class="indexterm" name="id2636746"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> gimp_image_get_guide_position (<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> guide_ID);</pre>
|
||||
<a class="indexterm" name="id2641407"></a><pre class="programlisting">gint gimp_image_get_guide_position (gint32 image_ID,
|
||||
gint32 guide_ID);</pre>
|
||||
<p>
|
||||
Get position of a guide on an image.
|
||||
</p>
|
||||
@ -346,17 +278,17 @@ the position of the guide relative to the top or left of the image.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>guide_ID</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>guide_ID</code></em> :</span></p></td>
|
||||
<td> The guide.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td> The guide's position relative to top or left of image.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user