Imported Upstream version 2.6.6

This commit is contained in:
Ari Pollak
2010-08-11 01:27:05 -04:00
parent 642a129e54
commit 50c86845f0
471 changed files with 44753 additions and 45585 deletions

View File

@ -8,7 +8,7 @@
<link rel="up" href="libgimp-general.html" title="Functions not Related to Specific Images">
<link rel="prev" href="libgimp-gimpbuffer.html" title="gimpbuffer">
<link rel="next" href="libgimp-gimpgimprc.html" title="gimpgimprc">
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimp.html" title="Part I. GIMP Library">
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
@ -32,9 +32,11 @@
<th width="100%" align="center">GIMP Library Reference Manual</th>
<td><a accesskey="n" href="libgimp-gimpgimprc.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#libgimp-gimpcontext.synopsis" class="shortcut">Top</a>
 | 
<a href="#libgimp-gimpcontext.description" class="shortcut">Description</a></nobr></td></tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libgimp-gimpcontext.synopsis" class="shortcut">Top</a>
 | 
<a href="#libgimp-gimpcontext.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimp-gimpcontext"></a><div class="titlepage"></div>
@ -49,104 +51,104 @@
<a name="libgimp-gimpcontext.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-push" title="gimp_context_push ()">gimp_context_push</a> (void);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-pop" title="gimp_context_pop ()">gimp_context_pop</a> (void);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-foreground" title="gimp_context_get_foreground ()">gimp_context_get_foreground</a> (<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *foreground);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-foreground" title="gimp_context_set_foreground ()">gimp_context_set_foreground</a> (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *foreground);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-background" title="gimp_context_get_background ()">gimp_context_get_background</a> (<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *background);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-background" title="gimp_context_set_background ()">gimp_context_set_background</a> (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *background);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-default-colors" title="gimp_context_set_default_colors ()">gimp_context_set_default_colors</a> (void);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-swap-colors" title="gimp_context_swap_colors ()">gimp_context_swap_colors</a> (void);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
>gdouble</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-opacity" title="gimp_context_get_opacity ()">gimp_context_get_opacity</a> (void);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-opacity" title="gimp_context_set_opacity ()">gimp_context_set_opacity</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
>gdouble</a> opacity);
<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-paint-mode" title="gimp_context_get_paint_mode ()">gimp_context_get_paint_mode</a> (void);
<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-paint-mode" title="gimp_context_get_paint_mode ()">gimp_context_get_paint_mode</a> (void);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-paint-mode" title="gimp_context_set_paint_mode ()">gimp_context_set_paint_mode</a> (<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-brush" title="gimp_context_get_brush ()">gimp_context_get_brush</a> (void);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-brush" title="gimp_context_set_brush ()">gimp_context_set_brush</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *name);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-pattern" title="gimp_context_get_pattern ()">gimp_context_get_pattern</a> (void);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-pattern" title="gimp_context_set_pattern ()">gimp_context_set_pattern</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *name);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-gradient" title="gimp_context_get_gradient ()">gimp_context_get_gradient</a> (void);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-gradient" title="gimp_context_set_gradient ()">gimp_context_set_gradient</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *name);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-palette" title="gimp_context_get_palette ()">gimp_context_get_palette</a> (void);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-palette" title="gimp_context_set_palette ()">gimp_context_set_palette</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *name);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-font" title="gimp_context_get_font ()">gimp_context_get_font</a> (void);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-font" title="gimp_context_set_font ()">gimp_context_set_font</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *name);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-paint-method" title="gimp_context_get_paint_method ()">gimp_context_get_paint_method</a> (void);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-paint-method" title="gimp_context_set_paint_method ()">gimp_context_set_paint_method</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *name);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-list-paint-methods" title="gimp_context_list_paint_methods ()">gimp_context_list_paint_methods</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
>gint</a> *num_paint_methods,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> ***paint_methods);
</pre>
</div>
@ -161,7 +163,7 @@ Functions to manipulate a plug-in's context.
<div class="refsect2" lang="en">
<a name="gimp-context-push"></a><h3>gimp_context_push ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_push (void);</pre>
<p>
Pushes a context to the top of the plug-in's context stack.
@ -171,7 +173,6 @@ This procedure creates a new context by copying the current context.
This copy becomes the new current context for the calling plug-in
until it is popped again using <a class="link" href="libgimp-gimpcontext.html#gimp-context-pop" title="gimp_context_pop ()"><code class="function">gimp_context_pop()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -182,14 +183,13 @@ until it is popped again using <a class="link" href="libgimp-gimpcontext.html#gi
</td>
</tr></tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-pop"></a><h3>gimp_context_pop ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_pop (void);</pre>
<p>
Pops the topmost context from the plug-in's context stack.
@ -200,7 +200,6 @@ context stack. The context that was active before the corresponding
call to <a class="link" href="libgimp-gimpcontext.html#gimp-context-push" title="gimp_context_push ()"><code class="function">gimp_context_push()</code></a> becomes the new current context of the
plug-in.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -211,14 +210,13 @@ plug-in.</p>
</td>
</tr></tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-get-foreground"></a><h3>gimp_context_get_foreground ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_get_foreground (<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *foreground);</pre>
@ -230,7 +228,6 @@ This procedure returns the current GIMP foreground color. The
foreground color is used in a variety of tools such as paint tools,
blending, and bucket fill.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -248,14 +245,13 @@ blending, and bucket fill.</p>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-set-foreground"></a><h3>gimp_context_set_foreground ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_foreground (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *foreground);</pre>
@ -267,7 +263,6 @@ This procedure sets the current GIMP foreground color. After this is
set, operations which use foreground such as paint tools, blending,
and bucket fill will use the new value.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -285,14 +280,13 @@ and bucket fill will use the new value.</p>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-get-background"></a><h3>gimp_context_get_background ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_get_background (<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *background);</pre>
@ -304,7 +298,6 @@ This procedure returns the current GIMP background color. The
background color is used in a variety of tools such as blending,
erasing (with non-alpha images), and image filling.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -322,14 +315,13 @@ erasing (with non-alpha images), and image filling.</p>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-set-background"></a><h3>gimp_context_set_background ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_background (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *background);</pre>
@ -342,7 +334,6 @@ set, operations which use background such as blending, filling
images, clearing, and erasing (in non-alpha images) will use the new
value.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -360,14 +351,13 @@ value.</p>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-set-default-colors"></a><h3>gimp_context_set_default_colors ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_default_colors (void);</pre>
<p>
Set the current GIMP foreground and background colors to black and
@ -377,7 +367,6 @@ white.
This procedure sets the current GIMP foreground and background
colors to their initial default values, black and white.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -388,14 +377,13 @@ colors to their initial default values, black and white.</p>
</td>
</tr></tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-swap-colors"></a><h3>gimp_context_swap_colors ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_swap_colors (void);</pre>
<p>
Swap the current GIMP foreground and background colors.
@ -405,7 +393,6 @@ This procedure swaps the current GIMP foreground and background
colors, so that the new foreground color becomes the old background
color and vice versa.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -416,14 +403,13 @@ color and vice versa.</p>
</td>
</tr></tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-get-opacity"></a><h3>gimp_context_get_opacity ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
>gdouble</a> gimp_context_get_opacity (void);</pre>
<p>
Get the opacity.
@ -432,7 +418,6 @@ Get the opacity.
This procedure returns the opacity setting. The return value is a
floating point number between 0 and 100.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -443,16 +428,15 @@ floating point number between 0 and 100.</p>
</td>
</tr></tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-set-opacity"></a><h3>gimp_context_set_opacity ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_opacity (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
>gdouble</a> opacity);</pre>
<p>
Set the opacity.
@ -461,7 +445,6 @@ Set the opacity.
This procedure modifies the opacity setting. The value should be a
floating point number between 0 and 100.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -479,13 +462,12 @@ floating point number between 0 and 100.</p>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-get-paint-mode"></a><h3>gimp_context_get_paint_mode ()</h3>
<pre class="programlisting"><a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_context_get_paint_mode (void);</pre>
<pre class="programlisting"><a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_context_get_paint_mode (void);</pre>
<p>
Get the paint mode.
</p>
@ -494,7 +476,6 @@ This procedure returns the paint-mode setting. The return value is
an integer which corresponds to the values listed in the argument
description.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -505,14 +486,13 @@ description.</p>
</td>
</tr></tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-set-paint-mode"></a><h3>gimp_context_set_paint_mode ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_paint_mode (<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
<p>
Set the paint mode.
@ -520,7 +500,6 @@ Set the paint mode.
<p>
This procedure modifies the paint_mode setting.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -538,14 +517,13 @@ This procedure modifies the paint_mode setting.</p>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-get-brush"></a><h3>gimp_context_get_brush ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_context_get_brush (void);</pre>
<p>
Retrieve the currently active brush.
@ -555,7 +533,6 @@ This procedure returns the name of the currently active brush. All
paint operations and stroke operations use this brush to control the
application of paint to the image.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -566,16 +543,15 @@ application of paint to the image.</p>
</td>
</tr></tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-set-brush"></a><h3>gimp_context_set_brush ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_brush (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre>
<p>
Set the specified brush as the active brush.
@ -587,7 +563,6 @@ names of the installed brushes. If there is no matching brush found,
this procedure will return an error. Otherwise, the specified brush
becomes active and will be used in all subsequent paint operations.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -605,14 +580,13 @@ becomes active and will be used in all subsequent paint operations.</p>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-get-pattern"></a><h3>gimp_context_get_pattern ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_context_get_pattern (void);</pre>
<p>
Retrieve the currently active pattern.
@ -622,7 +596,6 @@ This procedure returns name of the the currently active pattern. All
clone and bucket-fill operations with patterns will use this pattern
to control the application of paint to the image.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -633,16 +606,15 @@ to control the application of paint to the image.</p>
</td>
</tr></tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-set-pattern"></a><h3>gimp_context_set_pattern ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_pattern (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre>
<p>
Set the specified pattern as the active pattern.
@ -655,7 +627,6 @@ found, this procedure will return an error. Otherwise, the specified
pattern becomes active and will be used in all subsequent paint
operations.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -673,14 +644,13 @@ operations.</p>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-get-gradient"></a><h3>gimp_context_get_gradient ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_context_get_gradient (void);</pre>
<p>
Retrieve the currently active gradient.
@ -688,7 +658,6 @@ Retrieve the currently active gradient.
<p>
This procedure returns the name of the currently active gradient.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -699,16 +668,15 @@ This procedure returns the name of the currently active gradient.</p>
</td>
</tr></tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-set-gradient"></a><h3>gimp_context_set_gradient ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_gradient (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre>
<p>
Sets the specified gradient as the active gradient.
@ -721,7 +689,6 @@ procedure will return an error. Otherwise, the specified gradient
will become active and will be used for subsequent custom gradient
operations.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -739,14 +706,13 @@ operations.</p>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-get-palette"></a><h3>gimp_context_get_palette ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_context_get_palette (void);</pre>
<p>
Retrieve the currently active palette.
@ -754,7 +720,6 @@ Retrieve the currently active palette.
<p>
This procedure returns the name of the the currently active palette.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -765,16 +730,15 @@ This procedure returns the name of the the currently active palette.</p>
</td>
</tr></tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-set-palette"></a><h3>gimp_context_set_palette ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_palette (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre>
<p>
Set the specified palette as the active palette.
@ -787,7 +751,6 @@ this procedure will return an error. Otherwise, the specified
palette becomes active and will be used in all subsequent palette
operations.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -805,14 +768,13 @@ operations.</p>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-get-font"></a><h3>gimp_context_get_font ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_context_get_font (void);</pre>
<p>
Retrieve the currently active font.
@ -820,7 +782,6 @@ Retrieve the currently active font.
<p>
This procedure returns the name of the currently active font.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -831,16 +792,15 @@ This procedure returns the name of the currently active font.</p>
</td>
</tr></tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-set-font"></a><h3>gimp_context_set_font ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_font (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre>
<p>
Set the specified font as the active font.
@ -852,7 +812,6 @@ names of the installed fonts. If no matching font is found, this
procedure will return an error. Otherwise, the specified font
becomes active and will be used in all subsequent font operations.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -870,14 +829,13 @@ becomes active and will be used in all subsequent font operations.</p>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-get-paint-method"></a><h3>gimp_context_get_paint_method ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_context_get_paint_method (void);</pre>
<p>
Retrieve the currently active paint method.
@ -886,7 +844,6 @@ Retrieve the currently active paint method.
This procedure returns the name of the currently active paint
method.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -897,16 +854,15 @@ method.</p>
</td>
</tr></tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
<p class="since">Since GIMP 2.4</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-set-paint-method"></a><h3>gimp_context_set_paint_method ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_paint_method (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre>
<p>
Set the specified paint method as the active paint method.
@ -919,7 +875,6 @@ matching method found, this procedure will return an error.
Otherwise, the specified method becomes active and will be used in
all subsequent paint operations.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -937,19 +892,18 @@ all subsequent paint operations.</p>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
<p class="since">Since GIMP 2.4</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-list-paint-methods"></a><h3>gimp_context_list_paint_methods ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_list_paint_methods (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
>gint</a> *num_paint_methods,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> ***paint_methods);</pre>
<p>
Lists the available paint methods.
@ -958,7 +912,6 @@ Lists the available paint methods.
This procedure lists the names of the available paint methods. Any
of the results can be used for <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-paint-method" title="gimp_context_set_paint_method ()"><code class="function">gimp_context_set_paint_method()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -981,13 +934,12 @@ of the results can be used for <a class="link" href="libgimp-gimpcontext.html#gi
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
<p class="since">Since GIMP 2.4</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.10</div>
Generated by GTK-Doc V1.11</div>
</body>
</html>