Imported Upstream version 2.2.7

This commit is contained in:
Ari Pollak
2010-08-11 01:14:42 -04:00
parent 60968fd622
commit 5cf49fb71c
466 changed files with 23173 additions and 18530 deletions

View File

@ -2,40 +2,96 @@
gboolean <a href="libgimp-gimpcontext.html#gimp-context-push">gimp_context_push</a> (void);
gboolean <a href="libgimp-gimpcontext.html#gimp-context-pop">gimp_context_pop</a> (void);
gboolean <a href="libgimp-gimpcontext.html#gimp-context-get-foreground">gimp_context_get_foreground</a> (<a
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpcontext.html#gimp-context-push">gimp_context_push</a> (void);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpcontext.html#gimp-context-pop">gimp_context_pop</a> (void);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpcontext.html#gimp-context-get-foreground">gimp_context_get_foreground</a> (<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *foreground);
gboolean <a href="libgimp-gimpcontext.html#gimp-context-set-foreground">gimp_context_set_foreground</a> (const <a
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpcontext.html#gimp-context-set-foreground">gimp_context_set_foreground</a> (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *foreground);
gboolean <a href="libgimp-gimpcontext.html#gimp-context-get-background">gimp_context_get_background</a> (<a
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpcontext.html#gimp-context-get-background">gimp_context_get_background</a> (<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *background);
gboolean <a href="libgimp-gimpcontext.html#gimp-context-set-background">gimp_context_set_background</a> (const <a
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpcontext.html#gimp-context-set-background">gimp_context_set_background</a> (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *background);
gboolean <a href="libgimp-gimpcontext.html#gimp-context-set-default-colors">gimp_context_set_default_colors</a> (void);
gboolean <a href="libgimp-gimpcontext.html#gimp-context-swap-colors">gimp_context_swap_colors</a> (void);
gdouble <a href="libgimp-gimpcontext.html#gimp-context-get-opacity">gimp_context_get_opacity</a> (void);
gboolean <a href="libgimp-gimpcontext.html#gimp-context-set-opacity">gimp_context_set_opacity</a> (gdouble opacity);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpcontext.html#gimp-context-set-default-colors">gimp_context_set_default_colors</a> (void);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpcontext.html#gimp-context-swap-colors">gimp_context_swap_colors</a> (void);
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> <a href="libgimp-gimpcontext.html#gimp-context-get-opacity">gimp_context_get_opacity</a> (void);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpcontext.html#gimp-context-set-opacity">gimp_context_set_opacity</a> (<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> opacity);
<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> <a href="libgimp-gimpcontext.html#gimp-context-get-paint-mode">gimp_context_get_paint_mode</a>
(void);
gboolean <a href="libgimp-gimpcontext.html#gimp-context-set-paint-mode">gimp_context_set_paint_mode</a> (<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);
gchar* <a href="libgimp-gimpcontext.html#gimp-context-get-brush">gimp_context_get_brush</a> (void);
gboolean <a href="libgimp-gimpcontext.html#gimp-context-set-brush">gimp_context_set_brush</a> (const gchar *name);
gchar* <a href="libgimp-gimpcontext.html#gimp-context-get-pattern">gimp_context_get_pattern</a> (void);
gboolean <a href="libgimp-gimpcontext.html#gimp-context-set-pattern">gimp_context_set_pattern</a> (const gchar *name);
gchar* <a href="libgimp-gimpcontext.html#gimp-context-get-gradient">gimp_context_get_gradient</a> (void);
gboolean <a href="libgimp-gimpcontext.html#gimp-context-set-gradient">gimp_context_set_gradient</a> (const gchar *name);
gchar* <a href="libgimp-gimpcontext.html#gimp-context-get-palette">gimp_context_get_palette</a> (void);
gboolean <a href="libgimp-gimpcontext.html#gimp-context-set-palette">gimp_context_set_palette</a> (const gchar *name);
gchar* <a href="libgimp-gimpcontext.html#gimp-context-get-font">gimp_context_get_font</a> (void);
gboolean <a href="libgimp-gimpcontext.html#gimp-context-set-font">gimp_context_set_font</a> (const gchar *name);
</pre></div><div class="refsect1" lang="en"><a name="id2578552"></a><h2>Description</h2><p>
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpcontext.html#gimp-context-set-paint-mode">gimp_context_set_paint_mode</a> (<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimp-gimpcontext.html#gimp-context-get-brush">gimp_context_get_brush</a> (void);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpcontext.html#gimp-context-set-brush">gimp_context_set_brush</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimp-gimpcontext.html#gimp-context-get-pattern">gimp_context_get_pattern</a> (void);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpcontext.html#gimp-context-set-pattern">gimp_context_set_pattern</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimp-gimpcontext.html#gimp-context-get-gradient">gimp_context_get_gradient</a> (void);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpcontext.html#gimp-context-set-gradient">gimp_context_set_gradient</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimp-gimpcontext.html#gimp-context-get-palette">gimp_context_get_palette</a> (void);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpcontext.html#gimp-context-set-palette">gimp_context_set_palette</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="libgimp-gimpcontext.html#gimp-context-get-font">gimp_context_get_font</a> (void);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="libgimp-gimpcontext.html#gimp-context-set-font">gimp_context_set_font</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);
</pre></div><div class="refsect1" lang="en"><a name="id2576080"></a><h2>Description</h2><p>
Functions to manipulate a plug-in's context.
</p></div><div class="refsect1" lang="en"><a name="id2543441"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id2543446"></a><h3><a name="gimp-context-push"></a>gimp_context_push ()</h3><a class="indexterm" name="id2543454"></a><pre class="programlisting">gboolean gimp_context_push (void);</pre><p>
</p></div><div class="refsect1" lang="en"><a name="id2576090"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id2576096"></a><h3><a name="gimp-context-push"></a>gimp_context_push ()</h3><a class="indexterm" name="id2576104"></a><pre class="programlisting"><a
href="../glib/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.
</p><p>
This procedure creates a new context by copying the current context.
@ -45,7 +101,9 @@ until it is popped again.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2543496"></a><h3><a name="gimp-context-pop"></a>gimp_context_pop ()</h3><a class="indexterm" name="id2543505"></a><pre class="programlisting">gboolean gimp_context_pop (void);</pre><p>
</p></div><hr><div class="refsect2" lang="en"><a name="id2576145"></a><h3><a name="gimp-context-pop"></a>gimp_context_pop ()</h3><a class="indexterm" name="id2576153"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_pop (void);</pre><p>
Pops the topmost context from the plug-in's context stack.
</p><p>
This procedure creates a new context and makes it the current
@ -54,7 +112,9 @@ context for the calling plug-in.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2543546"></a><h3><a name="gimp-context-get-foreground"></a>gimp_context_get_foreground ()</h3><a class="indexterm" name="id2543554"></a><pre class="programlisting">gboolean gimp_context_get_foreground (<a
</p></div><hr><div class="refsect2" lang="en"><a name="id2576194"></a><h3><a name="gimp-context-get-foreground"></a>gimp_context_get_foreground ()</h3><a class="indexterm" name="id2576203"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_get_foreground (<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *foreground);</pre><p>
Get the current GIMP foreground color.
@ -67,7 +127,9 @@ blending, and bucket fill.</p><p>
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2543611"></a><h3><a name="gimp-context-set-foreground"></a>gimp_context_set_foreground ()</h3><a class="indexterm" name="id2543619"></a><pre class="programlisting">gboolean gimp_context_set_foreground (const <a
</p></div><hr><div class="refsect2" lang="en"><a name="id2583641"></a><h3><a name="gimp-context-set-foreground"></a>gimp_context_set_foreground ()</h3><a class="indexterm" name="id2583649"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_foreground (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *foreground);</pre><p>
Set the current GIMP foreground color.
@ -80,7 +142,9 @@ and bucket fill will use the new value.</p><p>
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2543677"></a><h3><a name="gimp-context-get-background"></a>gimp_context_get_background ()</h3><a class="indexterm" name="id2543686"></a><pre class="programlisting">gboolean gimp_context_get_background (<a
</p></div><hr><div class="refsect2" lang="en"><a name="id2583707"></a><h3><a name="gimp-context-get-background"></a>gimp_context_get_background ()</h3><a class="indexterm" name="id2583715"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_get_background (<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *background);</pre><p>
Get the current GIMP background color.
@ -93,7 +157,9 @@ erasing (with non-alpha images), and image filling.</p><p>
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2570472"></a><h3><a name="gimp-context-set-background"></a>gimp_context_set_background ()</h3><a class="indexterm" name="id2570481"></a><pre class="programlisting">gboolean gimp_context_set_background (const <a
</p></div><hr><div class="refsect2" lang="en"><a name="id2583774"></a><h3><a name="gimp-context-set-background"></a>gimp_context_set_background ()</h3><a class="indexterm" name="id2583782"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_background (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *background);</pre><p>
Set the current GIMP background color.
@ -107,7 +173,9 @@ value.</p><p>
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2570540"></a><h3><a name="gimp-context-set-default-colors"></a>gimp_context_set_default_colors ()</h3><a class="indexterm" name="id2570551"></a><pre class="programlisting">gboolean gimp_context_set_default_colors (void);</pre><p>
</p></div><hr><div class="refsect2" lang="en"><a name="id2583841"></a><h3><a name="gimp-context-set-default-colors"></a>gimp_context_set_default_colors ()</h3><a class="indexterm" name="id2583850"></a><pre class="programlisting"><a
href="../glib/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
white.
</p><p>
@ -117,7 +185,9 @@ colors to their initial default values, black and white.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2570594"></a><h3><a name="gimp-context-swap-colors"></a>gimp_context_swap_colors ()</h3><a class="indexterm" name="id2570602"></a><pre class="programlisting">gboolean gimp_context_swap_colors (void);</pre><p>
</p></div><hr><div class="refsect2" lang="en"><a name="id2566459"></a><h3><a name="gimp-context-swap-colors"></a>gimp_context_swap_colors ()</h3><a class="indexterm" name="id2566467"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_swap_colors (void);</pre><p>
Swap the current GIMP foreground and background colors.
</p><p>
This procedure swaps the current GIMP foreground and background
@ -127,7 +197,9 @@ color and vice versa.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2570645"></a><h3><a name="gimp-context-get-opacity"></a>gimp_context_get_opacity ()</h3><a class="indexterm" name="id2570653"></a><pre class="programlisting">gdouble gimp_context_get_opacity (void);</pre><p>
</p></div><hr><div class="refsect2" lang="en"><a name="id2566510"></a><h3><a name="gimp-context-get-opacity"></a>gimp_context_get_opacity ()</h3><a class="indexterm" name="id2566518"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> gimp_context_get_opacity (void);</pre><p>
Get the opacity.
</p><p>
This procedure returns the opacity setting. The return value is a
@ -136,7 +208,11 @@ floating point number between 0 and 100.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> The opacity.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2570694"></a><h3><a name="gimp-context-set-opacity"></a>gimp_context_set_opacity ()</h3><a class="indexterm" name="id2585463"></a><pre class="programlisting">gboolean gimp_context_set_opacity (gdouble opacity);</pre><p>
</p></div><hr><div class="refsect2" lang="en"><a name="id2566559"></a><h3><a name="gimp-context-set-opacity"></a>gimp_context_set_opacity ()</h3><a class="indexterm" name="id2566567"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_opacity (<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> opacity);</pre><p>
Set the opacity.
</p><p>
This procedure modifies the opacity setting. The value should be a
@ -146,7 +222,7 @@ floating point number between 0 and 100.</p><p>
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2585520"></a><h3><a name="gimp-context-get-paint-mode"></a>gimp_context_get_paint_mode ()</h3><a class="indexterm" name="id2585528"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_context_get_paint_mode
</p></div><hr><div class="refsect2" lang="en"><a name="id2566624"></a><h3><a name="gimp-context-get-paint-mode"></a>gimp_context_get_paint_mode ()</h3><a class="indexterm" name="id2566632"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_context_get_paint_mode
(void);</pre><p>
Get the paint mode.
</p><p>
@ -157,7 +233,9 @@ description.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> The paint mode.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2585570"></a><h3><a name="gimp-context-set-paint-mode"></a>gimp_context_set_paint_mode ()</h3><a class="indexterm" name="id2585579"></a><pre class="programlisting">gboolean gimp_context_set_paint_mode (<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre><p>
</p></div><hr><div class="refsect2" lang="en"><a name="id2566674"></a><h3><a name="gimp-context-set-paint-mode"></a>gimp_context_set_paint_mode ()</h3><a class="indexterm" name="id2566683"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_paint_mode (<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre><p>
Set the paint mode.
</p><p>
This procedure modifies the paint_mode setting.</p><p>
@ -166,7 +244,9 @@ This procedure modifies the paint_mode setting.</p><p>
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2585635"></a><h3><a name="gimp-context-get-brush"></a>gimp_context_get_brush ()</h3><a class="indexterm" name="id2585643"></a><pre class="programlisting">gchar* gimp_context_get_brush (void);</pre><p>
</p></div><hr><div class="refsect2" lang="en"><a name="id2584345"></a><h3><a name="gimp-context-get-brush"></a>gimp_context_get_brush ()</h3><a class="indexterm" name="id2584353"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_context_get_brush (void);</pre><p>
Retrieve the currently active brush.
</p><p>
This procedure returns the nme of the currently active brush. All
@ -176,7 +256,11 @@ application of paint to the image.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> The name of the active brush.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2585687"></a><h3><a name="gimp-context-set-brush"></a>gimp_context_set_brush ()</h3><a class="indexterm" name="id2585695"></a><pre class="programlisting">gboolean gimp_context_set_brush (const gchar *name);</pre><p>
</p></div><hr><div class="refsect2" lang="en"><a name="id2584397"></a><h3><a name="gimp-context-set-brush"></a>gimp_context_set_brush ()</h3><a class="indexterm" name="id2584405"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_brush (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre><p>
Set the specified brush as the active brush.
</p><p>
This procedure allows the active brush to be set by specifying its
@ -189,7 +273,9 @@ becomes active and will be used in all subsequent paint operations.</p><p>
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2585756"></a><h3><a name="gimp-context-get-pattern"></a>gimp_context_get_pattern ()</h3><a class="indexterm" name="id2585765"></a><pre class="programlisting">gchar* gimp_context_get_pattern (void);</pre><p>
</p></div><hr><div class="refsect2" lang="en"><a name="id2584466"></a><h3><a name="gimp-context-get-pattern"></a>gimp_context_get_pattern ()</h3><a class="indexterm" name="id2584475"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_context_get_pattern (void);</pre><p>
Retrieve the currently active pattern.
</p><p>
This procedure returns name of the the currently active pattern. All
@ -199,7 +285,11 @@ to control the application of paint to the image.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> The name of the active pattern.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2585809"></a><h3><a name="gimp-context-set-pattern"></a>gimp_context_set_pattern ()</h3><a class="indexterm" name="id2585817"></a><pre class="programlisting">gboolean gimp_context_set_pattern (const gchar *name);</pre><p>
</p></div><hr><div class="refsect2" lang="en"><a name="id2584519"></a><h3><a name="gimp-context-set-pattern"></a>gimp_context_set_pattern ()</h3><a class="indexterm" name="id2584527"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_pattern (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre><p>
Set the specified pattern as the active pattern.
</p><p>
This procedure allows the active pattern to be set by specifying its
@ -213,7 +303,9 @@ operations.</p><p>
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2585878"></a><h3><a name="gimp-context-get-gradient"></a>gimp_context_get_gradient ()</h3><a class="indexterm" name="id2585888"></a><pre class="programlisting">gchar* gimp_context_get_gradient (void);</pre><p>
</p></div><hr><div class="refsect2" lang="en"><a name="id2584588"></a><h3><a name="gimp-context-get-gradient"></a>gimp_context_get_gradient ()</h3><a class="indexterm" name="id2584598"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_context_get_gradient (void);</pre><p>
Retrieve the currently active gradient.
</p><p>
This procedure returns the name of the currently active gradient.</p><p>
@ -221,7 +313,11 @@ This procedure returns the name of the currently active gradient.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> The name of the active gradient.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2585929"></a><h3><a name="gimp-context-set-gradient"></a>gimp_context_set_gradient ()</h3><a class="indexterm" name="id2585938"></a><pre class="programlisting">gboolean gimp_context_set_gradient (const gchar *name);</pre><p>
</p></div><hr><div class="refsect2" lang="en"><a name="id2584639"></a><h3><a name="gimp-context-set-gradient"></a>gimp_context_set_gradient ()</h3><a class="indexterm" name="id2584648"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_gradient (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre><p>
Sets the specified gradient as the active gradient.
</p><p>
This procedure lets you set the specified gradient as the active or
@ -235,7 +331,9 @@ operations.</p><p>
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2586000"></a><h3><a name="gimp-context-get-palette"></a>gimp_context_get_palette ()</h3><a class="indexterm" name="id2586008"></a><pre class="programlisting">gchar* gimp_context_get_palette (void);</pre><p>
</p></div><hr><div class="refsect2" lang="en"><a name="id2584710"></a><h3><a name="gimp-context-get-palette"></a>gimp_context_get_palette ()</h3><a class="indexterm" name="id2584718"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_context_get_palette (void);</pre><p>
Retrieve the currently active palette.
</p><p>
This procedure returns the name of the the currently active palette.</p><p>
@ -243,7 +341,11 @@ 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"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> The name of the active palette.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2586050"></a><h3><a name="gimp-context-set-palette"></a>gimp_context_set_palette ()</h3><a class="indexterm" name="id2586058"></a><pre class="programlisting">gboolean gimp_context_set_palette (const gchar *name);</pre><p>
</p></div><hr><div class="refsect2" lang="en"><a name="id2584760"></a><h3><a name="gimp-context-set-palette"></a>gimp_context_set_palette ()</h3><a class="indexterm" name="id2584768"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_palette (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre><p>
Set the specified palette as the active palette.
</p><p>
This procedure allows the active palette to be set by specifying its
@ -257,7 +359,9 @@ operations.</p><p>
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2586120"></a><h3><a name="gimp-context-get-font"></a>gimp_context_get_font ()</h3><a class="indexterm" name="id2586128"></a><pre class="programlisting">gchar* gimp_context_get_font (void);</pre><p>
</p></div><hr><div class="refsect2" lang="en"><a name="id2584830"></a><h3><a name="gimp-context-get-font"></a>gimp_context_get_font ()</h3><a class="indexterm" name="id2584838"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_context_get_font (void);</pre><p>
Retrieve the currently active font.
</p><p>
This procedure returns the name of the currently active font.</p><p>
@ -265,7 +369,11 @@ This procedure returns the name of the currently active font.</p><p>
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> The name of the active font.
</td></tr></tbody></table></div><p>Since GIMP 2.2
</p></div><hr><div class="refsect2" lang="en"><a name="id2586170"></a><h3><a name="gimp-context-set-font"></a>gimp_context_set_font ()</h3><a class="indexterm" name="id2586178"></a><pre class="programlisting">gboolean gimp_context_set_font (const gchar *name);</pre><p>
</p></div><hr><div class="refsect2" lang="en"><a name="id2584880"></a><h3><a name="gimp-context-set-font"></a>gimp_context_set_font ()</h3><a class="indexterm" name="id2584888"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_context_set_font (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *name);</pre><p>
Set the specified font as the active font.
</p><p>
This procedure allows the active font to be set by specifying its