New upstream version 2.10.2
This commit is contained in:
@ -44,6 +44,14 @@
|
||||
<a href="../glib/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-translate" title="gimp_item_transform_translate ()">gimp_item_transform_translate</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-flip-simple" title="gimp_item_transform_flip_simple ()">gimp_item_transform_flip_simple</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
@ -121,6 +129,55 @@
|
||||
<div class="refsect1">
|
||||
<a name="libgimp-gimpitemtransform.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-item-transform-translate"></a><h3>gimp_item_transform_translate ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a>
|
||||
gimp_item_transform_translate (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> item_ID</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> off_x</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> off_y</code></em>);</pre>
|
||||
<p>Translate the item by the specified offsets.</p>
|
||||
<p>This procedure translates the item by the amounts specified in the
|
||||
off_x and off_y arguments. These can be negative, and are considered
|
||||
offsets from the current position. The offsets will be rounded to
|
||||
the nearest pixel unless the item is a path.</p>
|
||||
<p>If the item is attached to an image and has its linked flag set to
|
||||
TRUE, all additional items contained in the image which have the
|
||||
linked flag set to TRUE will also be translated by the specified
|
||||
offsets.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gimp-item-transform-translate.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" 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>item_ID</p></td>
|
||||
<td class="parameter_description"><p>The item.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>off_x</p></td>
|
||||
<td class="parameter_description"><p>Offset in x direction.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>off_y</p></td>
|
||||
<td class="parameter_description"><p>Offset in y direction.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gimp-item-transform-translate.returns"></a><h4>Returns</h4>
|
||||
<p> The translated item.</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-item-transform-flip-simple"></a><h3>gimp_item_transform_flip_simple ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a>
|
||||
gimp_item_transform_flip_simple (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> item_ID</code></em>,
|
||||
|
||||
Reference in New Issue
Block a user