Imported Upstream version 2.8.0
This commit is contained in:
@ -31,199 +31,190 @@
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgimp-gimpdrawabletransform.top_of_page"></a>gimpdrawabletransform</span></h2>
|
||||
<p>gimpdrawabletransform</p>
|
||||
<p>gimpdrawabletransform — Functions to perform transformatrions on drawables.</p>
|
||||
</td>
|
||||
<td valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsynopsisdiv">
|
||||
<a name="libgimp-gimpdrawabletransform.synopsis"></a><h2>Synopsis</h2>
|
||||
<pre class="synopsis"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-flip-simple" title="gimp_drawable_transform_flip_simple ()">gimp_drawable_transform_flip_simple</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<pre class="synopsis"><span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-flip-simple" title="gimp_drawable_transform_flip_simple ()">gimp_drawable_transform_flip_simple</a> (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpOrientationType" title="enum GimpOrientationType"><span class="type">GimpOrientationType</span></a> flip_type</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> auto_center</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> axis</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> clip_result</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-flip" title="gimp_drawable_transform_flip ()">gimp_drawable_transform_flip</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y1</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> supersample</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> clip_result</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-flip-default" title="gimp_drawable_transform_flip_default ()">gimp_drawable_transform_flip_default</a>
|
||||
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> clip_result</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-perspective" title="gimp_drawable_transform_perspective ()">gimp_drawable_transform_perspective</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x3</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y3</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> supersample</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-perspective-default" title="gimp_drawable_transform_perspective_default ()">gimp_drawable_transform_perspective_default</a>
|
||||
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x3</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y3</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-rotate-simple" title="gimp_drawable_transform_rotate_simple ()">gimp_drawable_transform_rotate_simple</a>
|
||||
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> auto_center</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> axis</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> clip_result</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-flip" title="gimp_drawable_transform_flip ()">gimp_drawable_transform_flip</a> (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y1</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> supersample</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> recursion_level</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> clip_result</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-flip-default" title="gimp_drawable_transform_flip_default ()">gimp_drawable_transform_flip_default</a>
|
||||
(<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> interpolate</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> clip_result</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-perspective" title="gimp_drawable_transform_perspective ()">gimp_drawable_transform_perspective</a> (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x3</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y3</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> supersample</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-perspective-default" title="gimp_drawable_transform_perspective_default ()">gimp_drawable_transform_perspective_default</a>
|
||||
(<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x3</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y3</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-rotate-simple" title="gimp_drawable_transform_rotate_simple ()">gimp_drawable_transform_rotate_simple</a>
|
||||
(<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpRotationType" title="enum GimpRotationType"><span class="type">GimpRotationType</span></a> rotate_type</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> auto_center</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> center_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> center_y</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> clip_result</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-rotate" title="gimp_drawable_transform_rotate ()">gimp_drawable_transform_rotate</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> angle</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> auto_center</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> center_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> center_y</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> supersample</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-rotate-default" title="gimp_drawable_transform_rotate_default ()">gimp_drawable_transform_rotate_default</a>
|
||||
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> angle</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> auto_center</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> center_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> center_y</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-scale" title="gimp_drawable_transform_scale ()">gimp_drawable_transform_scale</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y1</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> supersample</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-scale-default" title="gimp_drawable_transform_scale_default ()">gimp_drawable_transform_scale_default</a>
|
||||
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-shear" title="gimp_drawable_transform_shear ()">gimp_drawable_transform_shear</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> auto_center</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> center_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> center_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> clip_result</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-rotate" title="gimp_drawable_transform_rotate ()">gimp_drawable_transform_rotate</a> (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> angle</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> auto_center</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> center_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> center_y</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> supersample</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-rotate-default" title="gimp_drawable_transform_rotate_default ()">gimp_drawable_transform_rotate_default</a>
|
||||
(<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> angle</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> auto_center</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> center_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> center_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-scale" title="gimp_drawable_transform_scale ()">gimp_drawable_transform_scale</a> (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y1</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> supersample</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-scale-default" title="gimp_drawable_transform_scale_default ()">gimp_drawable_transform_scale_default</a>
|
||||
(<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-shear" title="gimp_drawable_transform_shear ()">gimp_drawable_transform_shear</a> (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpOrientationType" title="enum GimpOrientationType"><span class="type">GimpOrientationType</span></a> shear_type</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> magnitude</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> supersample</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-shear-default" title="gimp_drawable_transform_shear_default ()">gimp_drawable_transform_shear_default</a>
|
||||
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> magnitude</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> supersample</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-shear-default" title="gimp_drawable_transform_shear_default ()">gimp_drawable_transform_shear_default</a>
|
||||
(<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpOrientationType" title="enum GimpOrientationType"><span class="type">GimpOrientationType</span></a> shear_type</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> magnitude</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-2d" title="gimp_drawable_transform_2d ()">gimp_drawable_transform_2d</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> source_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> source_y</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> scale_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> scale_y</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> angle</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> dest_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> dest_y</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> supersample</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-2d-default" title="gimp_drawable_transform_2d_default ()">gimp_drawable_transform_2d_default</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> source_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> source_y</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> scale_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> scale_y</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> angle</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> dest_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> dest_y</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-matrix" title="gimp_drawable_transform_matrix ()">gimp_drawable_transform_matrix</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_0_0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_0_1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_0_2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_1_0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_1_1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_1_2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_2_0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_2_1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_2_2</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> supersample</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-matrix-default" title="gimp_drawable_transform_matrix_default ()">gimp_drawable_transform_matrix_default</a>
|
||||
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_0_0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_0_1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_0_2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_1_0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_1_1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_1_2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_2_0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_2_1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_2_2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<em class="parameter"><code><span class="type">gdouble</span> magnitude</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-2d" title="gimp_drawable_transform_2d ()">gimp_drawable_transform_2d</a> (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> source_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> source_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> scale_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> scale_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> angle</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> dest_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> dest_y</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> supersample</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-2d-default" title="gimp_drawable_transform_2d_default ()">gimp_drawable_transform_2d_default</a> (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> source_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> source_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> scale_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> scale_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> angle</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> dest_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> dest_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-matrix" title="gimp_drawable_transform_matrix ()">gimp_drawable_transform_matrix</a> (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_0_0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_0_1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_0_2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_1_0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_1_1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_1_2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_2_0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_2_1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_2_2</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> supersample</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
<span class="returnvalue">gint32</span> <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-matrix-default" title="gimp_drawable_transform_matrix_default ()">gimp_drawable_transform_matrix_default</a>
|
||||
(<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_0_0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_0_1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_0_2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_1_0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_1_1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_1_2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_2_0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_2_1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_2_2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgimp-gimpdrawabletransform.description"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions to perform transformatrions on drawables.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgimp-gimpdrawabletransform.details"></a><h2>Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-drawable-transform-flip-simple"></a><h3>gimp_drawable_transform_flip_simple ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_drawable_transform_flip_simple (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_drawable_transform_flip_simple (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpOrientationType" title="enum GimpOrientationType"><span class="type">GimpOrientationType</span></a> flip_type</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> auto_center</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> axis</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> clip_result</code></em>);</pre>
|
||||
<p>
|
||||
Flip the specified drawable either vertically or horizontally.
|
||||
</p>
|
||||
<p>
|
||||
This procedure flips the specified drawable if no selection exists.
|
||||
If a selection exists, the portion of the drawable which lies under
|
||||
the selection is cut from the drawable and made into a floating
|
||||
selection which is then flipped. If auto_center is set to TRUE, the
|
||||
flip is around the selection's center. Otherwise, the coordinate of
|
||||
the axis needs to be specified. The return value is the ID of the
|
||||
flipped drawable. If there was no selection, this will be equal to
|
||||
the drawable ID supplied as input. Otherwise, this will be the newly
|
||||
created and flipped drawable.
|
||||
</p>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> auto_center</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> axis</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> clip_result</code></em>);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_drawable_transform_flip_simple</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-flip-simple" title="gimp_item_transform_flip_simple ()"><code class="function">gimp_item_transform_flip_simple()</code></a> instead.</p>
|
||||
</div>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
@ -258,31 +249,20 @@ created and flipped drawable.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-drawable-transform-flip"></a><h3>gimp_drawable_transform_flip ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_drawable_transform_flip (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y1</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> supersample</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> clip_result</code></em>);</pre>
|
||||
<p>
|
||||
Flip the specified drawable around a given line.
|
||||
</p>
|
||||
<p>
|
||||
This procedure flips the specified drawable if no selection exists.
|
||||
If a selection exists, the portion of the drawable which lies under
|
||||
the selection is cut from the drawable and made into a floating
|
||||
selection which is then flipped. The axis to flip around is
|
||||
specified by specifying two points from that line. The return value
|
||||
is the ID of the flipped drawable. If there was no selection, this
|
||||
will be equal to the drawable ID supplied as input. Otherwise, this
|
||||
will be the newly created and flipped drawable. The clip results
|
||||
parameter specifies wheter current selection will affect the
|
||||
transform.
|
||||
</p>
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_drawable_transform_flip (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y1</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> supersample</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> recursion_level</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> clip_result</code></em>);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_drawable_transform_flip</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-flip" title="gimp_item_transform_flip ()"><code class="function">gimp_item_transform_flip()</code></a> instead.</p>
|
||||
</div>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
@ -337,22 +317,18 @@ transform.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-drawable-transform-flip-default"></a><h3>gimp_drawable_transform_flip_default ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_drawable_transform_flip_default
|
||||
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> clip_result</code></em>);</pre>
|
||||
<p>
|
||||
Flip the specified drawable around a given line.
|
||||
</p>
|
||||
<p>
|
||||
This procedure is a variant of <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-flip" title="gimp_drawable_transform_flip ()"><code class="function">gimp_drawable_transform_flip()</code></a> which
|
||||
uses no interpolation/supersampling at all, or default values
|
||||
(depending on the 'interpolate' parameter).
|
||||
</p>
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_drawable_transform_flip_default
|
||||
(<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> interpolate</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> clip_result</code></em>);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_drawable_transform_flip_default</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-flip" title="gimp_item_transform_flip ()"><code class="function">gimp_item_transform_flip()</code></a> instead.</p>
|
||||
</div>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
@ -395,41 +371,24 @@ uses no interpolation/supersampling at all, or default values
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-drawable-transform-perspective"></a><h3>gimp_drawable_transform_perspective ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_drawable_transform_perspective (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x3</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y3</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> supersample</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<p>
|
||||
Perform a possibly non-affine transformation on the specified
|
||||
drawable, with extra parameters.
|
||||
</p>
|
||||
<p>
|
||||
This procedure performs a possibly non-affine transformation on the
|
||||
specified drawable by allowing the corners of the original bounding
|
||||
box to be arbitrarily remapped to any values. The specified drawable
|
||||
is remapped if no selection exists. However, if a selection exists,
|
||||
the portion of the drawable which lies under the selection is cut
|
||||
from the drawable and made into a floating selection which is then
|
||||
remapped as specified. The return value is the ID of the remapped
|
||||
drawable. If there was no selection, this will be equal to the
|
||||
drawable ID supplied as input. Otherwise, this will be the newly
|
||||
created and remapped drawable. The 4 coordinates specify the new
|
||||
locations of each corner of the original bounding box. By specifying
|
||||
these values, any affine transformation (rotation, scaling,
|
||||
translation) can be affected. Additionally, these values can be
|
||||
specified such that the resulting transformed drawable will appear
|
||||
to have been projected via a perspective transform.
|
||||
</p>
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_drawable_transform_perspective (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x3</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y3</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> supersample</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_drawable_transform_perspective</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-perspective" title="gimp_item_transform_perspective ()"><code class="function">gimp_item_transform_perspective()</code></a> instead.</p>
|
||||
</div>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
@ -500,27 +459,22 @@ to have been projected via a perspective transform.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-drawable-transform-perspective-default"></a><h3>gimp_drawable_transform_perspective_default ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_drawable_transform_perspective_default
|
||||
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x3</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y3</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<p>
|
||||
Perform a possibly non-affine transformation on the specified
|
||||
drawable, with extra parameters.
|
||||
</p>
|
||||
<p>
|
||||
This procedure is a variant of <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-perspective" title="gimp_drawable_transform_perspective ()"><code class="function">gimp_drawable_transform_perspective()</code></a>
|
||||
which uses no interpolation/supersampling at all, or default values
|
||||
(depending on the 'interpolate' parameter).
|
||||
</p>
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_drawable_transform_perspective_default
|
||||
(<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x3</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y3</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_drawable_transform_perspective_default</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-perspective" title="gimp_item_transform_perspective ()"><code class="function">gimp_item_transform_perspective()</code></a> instead.</p>
|
||||
</div>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
@ -579,26 +533,17 @@ which uses no interpolation/supersampling at all, or default values
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-drawable-transform-rotate-simple"></a><h3>gimp_drawable_transform_rotate_simple ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_drawable_transform_rotate_simple
|
||||
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_drawable_transform_rotate_simple
|
||||
(<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpRotationType" title="enum GimpRotationType"><span class="type">GimpRotationType</span></a> rotate_type</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> auto_center</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> center_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> center_y</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> clip_result</code></em>);</pre>
|
||||
<p>
|
||||
Rotate the specified drawable about given coordinates through the
|
||||
specified angle.
|
||||
</p>
|
||||
<p>
|
||||
This function rotates the specified drawable if no selection exists.
|
||||
If a selection exists, the portion of the drawable which lies under
|
||||
the selection is cut from the drawable and made into a floating
|
||||
selection which is then rotated by the specified amount. The return
|
||||
value is the ID of the rotated drawable. If there was no selection,
|
||||
this will be equal to the drawable ID supplied as input. Otherwise,
|
||||
this will be the newly created and rotated drawable.
|
||||
</p>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> auto_center</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> center_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> center_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> clip_result</code></em>);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_drawable_transform_rotate_simple</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-rotate-simple" title="gimp_item_transform_rotate_simple ()"><code class="function">gimp_item_transform_rotate_simple()</code></a> instead.</p>
|
||||
</div>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
@ -637,29 +582,20 @@ this will be the newly created and rotated drawable.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-drawable-transform-rotate"></a><h3>gimp_drawable_transform_rotate ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_drawable_transform_rotate (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> angle</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> auto_center</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> center_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> center_y</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> supersample</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<p>
|
||||
Rotate the specified drawable about given coordinates through the
|
||||
specified angle.
|
||||
</p>
|
||||
<p>
|
||||
This function rotates the specified drawable if no selection exists.
|
||||
If a selection exists, the portion of the drawable which lies under
|
||||
the selection is cut from the drawable and made into a floating
|
||||
selection which is then rotated by the specified amount. The return
|
||||
value is the ID of the rotated drawable. If there was no selection,
|
||||
this will be equal to the drawable ID supplied as input. Otherwise,
|
||||
this will be the newly created and rotated drawable.
|
||||
</p>
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_drawable_transform_rotate (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> angle</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> auto_center</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> center_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> center_y</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> supersample</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_drawable_transform_rotate</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-rotate" title="gimp_item_transform_rotate ()"><code class="function">gimp_item_transform_rotate()</code></a> instead.</p>
|
||||
</div>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
@ -714,23 +650,18 @@ this will be the newly created and rotated drawable.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-drawable-transform-rotate-default"></a><h3>gimp_drawable_transform_rotate_default ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_drawable_transform_rotate_default
|
||||
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> angle</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> auto_center</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> center_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> center_y</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<p>
|
||||
Rotate the specified drawable about given coordinates through the
|
||||
specified angle.
|
||||
</p>
|
||||
<p>
|
||||
This procedure is a variant of <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-rotate" title="gimp_drawable_transform_rotate ()"><code class="function">gimp_drawable_transform_rotate()</code></a>
|
||||
which uses no interpolation/supersampling at all, or default values
|
||||
(depending on the 'interpolate' parameter).
|
||||
</p>
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_drawable_transform_rotate_default
|
||||
(<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> angle</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> auto_center</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> center_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> center_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_drawable_transform_rotate_default</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-rotate" title="gimp_item_transform_rotate ()"><code class="function">gimp_item_transform_rotate()</code></a> instead.</p>
|
||||
</div>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
@ -773,28 +704,20 @@ which uses no interpolation/supersampling at all, or default values
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-drawable-transform-scale"></a><h3>gimp_drawable_transform_scale ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_drawable_transform_scale (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y1</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> supersample</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<p>
|
||||
Scale the specified drawable with extra parameters
|
||||
</p>
|
||||
<p>
|
||||
This procedure scales the specified drawable if no selection exists.
|
||||
If a selection exists, the portion of the drawable which lies under
|
||||
the selection is cut from the drawable and made into a floating
|
||||
selection which is then scaled by the specified amount. The return
|
||||
value is the ID of the scaled drawable. If there was no selection,
|
||||
this will be equal to the drawable ID supplied as input. Otherwise,
|
||||
this will be the newly created and scaled drawable.
|
||||
</p>
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_drawable_transform_scale (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y1</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> supersample</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_drawable_transform_scale</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-scale" title="gimp_item_transform_scale ()"><code class="function">gimp_item_transform_scale()</code></a> instead.</p>
|
||||
</div>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
@ -849,22 +772,18 @@ this will be the newly created and scaled drawable.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-drawable-transform-scale-default"></a><h3>gimp_drawable_transform_scale_default ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_drawable_transform_scale_default
|
||||
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<p>
|
||||
Scale the specified drawable with extra parameters
|
||||
</p>
|
||||
<p>
|
||||
This procedure is a variant of <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-scale" title="gimp_drawable_transform_scale ()"><code class="function">gimp_drawable_transform_scale()</code></a> which
|
||||
uses no interpolation/supersampling at all, or default values
|
||||
(depending on the 'interpolate' parameter).
|
||||
</p>
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_drawable_transform_scale_default
|
||||
(<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> x1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> y1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_drawable_transform_scale_default</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-scale" title="gimp_item_transform_scale ()"><code class="function">gimp_item_transform_scale()</code></a> instead.</p>
|
||||
</div>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
@ -907,30 +826,18 @@ uses no interpolation/supersampling at all, or default values
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-drawable-transform-shear"></a><h3>gimp_drawable_transform_shear ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_drawable_transform_shear (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_drawable_transform_shear (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpOrientationType" title="enum GimpOrientationType"><span class="type">GimpOrientationType</span></a> shear_type</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> magnitude</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> supersample</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<p>
|
||||
Shear the specified drawable about its center by the specified
|
||||
magnitude, with extra parameters.
|
||||
</p>
|
||||
<p>
|
||||
This procedure shears the specified drawable if no selection exists.
|
||||
If a selection exists, the portion of the drawable which lies under
|
||||
the selection is cut from the drawable and made into a floating
|
||||
selection which is then sheard by the specified amount. The return
|
||||
value is the ID of the sheard drawable. If there was no selection,
|
||||
this will be equal to the drawable ID supplied as input. Otherwise,
|
||||
this will be the newly created and sheard drawable. The shear type
|
||||
parameter indicates whether the shear will be applied horizontally
|
||||
or vertically. The magnitude can be either positive or negative and
|
||||
indicates the extent (in pixels) to shear by.
|
||||
</p>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> magnitude</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> supersample</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_drawable_transform_shear</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-shear" title="gimp_item_transform_shear ()"><code class="function">gimp_item_transform_shear()</code></a> instead.</p>
|
||||
</div>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
@ -977,21 +884,16 @@ indicates the extent (in pixels) to shear by.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-drawable-transform-shear-default"></a><h3>gimp_drawable_transform_shear_default ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_drawable_transform_shear_default
|
||||
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_drawable_transform_shear_default
|
||||
(<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgimp-gimpenums.html#GimpOrientationType" title="enum GimpOrientationType"><span class="type">GimpOrientationType</span></a> shear_type</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> magnitude</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<p>
|
||||
Shear the specified drawable about its center by the specified
|
||||
magnitude, with extra parameters.
|
||||
</p>
|
||||
<p>
|
||||
This procedure is a variant of <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-shear" title="gimp_drawable_transform_shear ()"><code class="function">gimp_drawable_transform_shear()</code></a> which
|
||||
uses no interpolation/supersampling at all, or default values
|
||||
(depending on the 'interpolate' parameter).
|
||||
</p>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> magnitude</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_drawable_transform_shear_default</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-shear" title="gimp_item_transform_shear ()"><code class="function">gimp_item_transform_shear()</code></a> instead.</p>
|
||||
</div>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
@ -1026,34 +928,23 @@ uses no interpolation/supersampling at all, or default values
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-drawable-transform-2d"></a><h3>gimp_drawable_transform_2d ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_drawable_transform_2d (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> source_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> source_y</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> scale_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> scale_y</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> angle</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> dest_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> dest_y</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> supersample</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<p>
|
||||
Transform the specified drawable in 2d, with extra parameters.
|
||||
</p>
|
||||
<p>
|
||||
This procedure transforms the specified drawable if no selection
|
||||
exists. If a selection exists, the portion of the drawable which
|
||||
lies under the selection is cut from the drawable and made into a
|
||||
floating selection which is then transformed. The transformation is
|
||||
done by scaling the image by the x and y scale factors about the
|
||||
point (source_x, source_y), then rotating around the same point,
|
||||
then translating that point to the new position (dest_x, dest_y).
|
||||
The return value is the ID of the rotated drawable. If there was no
|
||||
selection, this will be equal to the drawable ID supplied as input.
|
||||
Otherwise, this will be the newly created and transformed drawable.
|
||||
</p>
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_drawable_transform_2d (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> source_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> source_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> scale_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> scale_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> angle</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> dest_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> dest_y</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> supersample</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_drawable_transform_2d</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-2d" title="gimp_item_transform_2d ()"><code class="function">gimp_item_transform_2d()</code></a> instead.</p>
|
||||
</div>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
@ -1120,24 +1011,20 @@ Otherwise, this will be the newly created and transformed drawable.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-drawable-transform-2d-default"></a><h3>gimp_drawable_transform_2d_default ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_drawable_transform_2d_default (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> source_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> source_y</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> scale_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> scale_y</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> angle</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> dest_x</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> dest_y</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<p>
|
||||
Transform the specified drawable in 2d, with extra parameters.
|
||||
</p>
|
||||
<p>
|
||||
This procedure is a variant of <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-2d" title="gimp_drawable_transform_2d ()"><code class="function">gimp_drawable_transform_2d()</code></a> which
|
||||
uses no interpolation/supersampling at all, or default values
|
||||
(depending on the 'interpolate' parameter).
|
||||
</p>
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_drawable_transform_2d_default (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> source_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> source_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> scale_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> scale_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> angle</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> dest_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> dest_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_drawable_transform_2d_default</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-2d" title="gimp_item_transform_2d ()"><code class="function">gimp_item_transform_2d()</code></a> instead.</p>
|
||||
</div>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
@ -1192,34 +1079,25 @@ uses no interpolation/supersampling at all, or default values
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-drawable-transform-matrix"></a><h3>gimp_drawable_transform_matrix ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_drawable_transform_matrix (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_0_0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_0_1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_0_2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_1_0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_1_1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_1_2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_2_0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_2_1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_2_2</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> supersample</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<p>
|
||||
Transform the specified drawable in 2d, with extra parameters.
|
||||
</p>
|
||||
<p>
|
||||
This procedure transforms the specified drawable if no selection
|
||||
exists. If a selection exists, the portion of the drawable which
|
||||
lies under the selection is cut from the drawable and made into a
|
||||
floating selection which is then transformed. The transformation is
|
||||
done by assembling a 3x3 matrix from the coefficients passed. The
|
||||
return value is the ID of the rotated drawable. If there was no
|
||||
selection, this will be equal to the drawable ID supplied as input.
|
||||
Otherwise, this will be the newly created and transformed drawable.
|
||||
</p>
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_drawable_transform_matrix (<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_0_0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_0_1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_0_2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_1_0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_1_1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_1_2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_2_0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_2_1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_2_2</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection"><span class="type">GimpTransformDirection</span></a> transform_direction</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpInterpolationType"><span class="type">GimpInterpolationType</span></a> interpolation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> supersample</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> recursion_level</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_drawable_transform_matrix</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-matrix" title="gimp_item_transform_matrix ()"><code class="function">gimp_item_transform_matrix()</code></a> instead.</p>
|
||||
</div>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
@ -1294,27 +1172,23 @@ Otherwise, this will be the newly created and transformed drawable.
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-drawable-transform-matrix-default"></a><h3>gimp_drawable_transform_matrix_default ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_drawable_transform_matrix_default
|
||||
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_0_0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_0_1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_0_2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_1_0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_1_1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_1_2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_2_0</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_2_1</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> coeff_2_2</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<p>
|
||||
Transform the specified drawable in 2d, with extra parameters.
|
||||
</p>
|
||||
<p>
|
||||
This procedure is a variant of <a class="link" href="libgimp-gimpdrawabletransform.html#gimp-drawable-transform-matrix" title="gimp_drawable_transform_matrix ()"><code class="function">gimp_drawable_transform_matrix()</code></a>
|
||||
which uses no interpolation/supersampling at all, or default values
|
||||
(depending on the 'interpolate' parameter).
|
||||
</p>
|
||||
<pre class="programlisting"><span class="returnvalue">gint32</span> gimp_drawable_transform_matrix_default
|
||||
(<em class="parameter"><code><span class="type">gint32</span> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_0_0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_0_1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_0_2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_1_0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_1_1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_1_2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_2_0</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_2_1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> coeff_2_2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> interpolate</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformResize"><span class="type">GimpTransformResize</span></a> clip_result</code></em>);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_drawable_transform_matrix_default</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="libgimp-gimpitemtransform.html#gimp-item-transform-matrix" title="gimp_item_transform_matrix ()"><code class="function">gimp_item_transform_matrix()</code></a> instead.</p>
|
||||
</div>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
|
Reference in New Issue
Block a user