Imported Upstream version 2.3.8

This commit is contained in:
Ari Pollak
2010-08-11 01:18:57 -04:00
parent 5bef548947
commit 836308f327
1608 changed files with 147606 additions and 134671 deletions

View File

@ -81,17 +81,17 @@ gboolean <a href="libgimp-gimpcontext.html#gimp-context-set-paint-method">gim
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2534135"></a><h2>Description</h2>
<a name="id2522655"></a><h2>Description</h2>
<p>
Functions to manipulate a plug-in's context.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2534147"></a><h2>Details</h2>
<a name="id2522667"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2534153"></a><h3>
<a name="id2522673"></a><h3>
<a name="gimp-context-push"></a>gimp_context_push ()</h3>
<a class="indexterm" name="id2537710"></a><pre class="programlisting">gboolean gimp_context_push (void);</pre>
<a class="indexterm" name="id2524802"></a><pre class="programlisting">gboolean gimp_context_push (void);</pre>
<p>
Pushes a context to the top of the plug-in's context stack.
</p>
@ -117,9 +117,9 @@ until it is popped again using gimp-context-pop.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2537760"></a><h3>
<a name="id2524852"></a><h3>
<a name="gimp-context-pop"></a>gimp_context_pop ()</h3>
<a class="indexterm" name="id2537770"></a><pre class="programlisting">gboolean gimp_context_pop (void);</pre>
<a class="indexterm" name="id2524862"></a><pre class="programlisting">gboolean gimp_context_pop (void);</pre>
<p>
Pops the topmost context from the plug-in's context stack.
</p>
@ -146,9 +146,9 @@ plug-in.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2537822"></a><h3>
<a name="id2524914"></a><h3>
<a name="gimp-context-get-foreground"></a>gimp_context_get_foreground ()</h3>
<a class="indexterm" name="id2537831"></a><pre class="programlisting">gboolean gimp_context_get_foreground (<a
<a class="indexterm" name="id2524923"></a><pre class="programlisting">gboolean gimp_context_get_foreground (<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *foreground);</pre>
<p>
@ -184,9 +184,9 @@ blending, and bucket fill.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2537901"></a><h3>
<a name="id2524993"></a><h3>
<a name="gimp-context-set-foreground"></a>gimp_context_set_foreground ()</h3>
<a class="indexterm" name="id2537910"></a><pre class="programlisting">gboolean gimp_context_set_foreground (const <a
<a class="indexterm" name="id2525002"></a><pre class="programlisting">gboolean gimp_context_set_foreground (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *foreground);</pre>
<p>
@ -222,9 +222,9 @@ and bucket fill will use the new value.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2559302"></a><h3>
<a name="id2558530"></a><h3>
<a name="gimp-context-get-background"></a>gimp_context_get_background ()</h3>
<a class="indexterm" name="id2559310"></a><pre class="programlisting">gboolean gimp_context_get_background (<a
<a class="indexterm" name="id2558539"></a><pre class="programlisting">gboolean gimp_context_get_background (<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *background);</pre>
<p>
@ -260,9 +260,9 @@ erasing (with non-alpha images), and image filling.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2559381"></a><h3>
<a name="id2558609"></a><h3>
<a name="gimp-context-set-background"></a>gimp_context_set_background ()</h3>
<a class="indexterm" name="id2559390"></a><pre class="programlisting">gboolean gimp_context_set_background (const <a
<a class="indexterm" name="id2558618"></a><pre class="programlisting">gboolean gimp_context_set_background (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *background);</pre>
<p>
@ -299,9 +299,9 @@ value.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2559460"></a><h3>
<a name="id2558688"></a><h3>
<a name="gimp-context-set-default-colors"></a>gimp_context_set_default_colors ()</h3>
<a class="indexterm" name="id2559470"></a><pre class="programlisting">gboolean gimp_context_set_default_colors (void);</pre>
<a class="indexterm" name="id2558697"></a><pre class="programlisting">gboolean gimp_context_set_default_colors (void);</pre>
<p>
Set the current GIMP foreground and background colors to black and
white.
@ -327,9 +327,9 @@ colors to their initial default values, black and white.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2559521"></a><h3>
<a name="id2558749"></a><h3>
<a name="gimp-context-swap-colors"></a>gimp_context_swap_colors ()</h3>
<a class="indexterm" name="id2559530"></a><pre class="programlisting">gboolean gimp_context_swap_colors (void);</pre>
<a class="indexterm" name="id2558758"></a><pre class="programlisting">gboolean gimp_context_swap_colors (void);</pre>
<p>
Swap the current GIMP foreground and background colors.
</p>
@ -355,9 +355,9 @@ color and vice versa.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560013"></a><h3>
<a name="id2560025"></a><h3>
<a name="gimp-context-get-opacity"></a>gimp_context_get_opacity ()</h3>
<a class="indexterm" name="id2560022"></a><pre class="programlisting">gdouble gimp_context_get_opacity (void);</pre>
<a class="indexterm" name="id2560034"></a><pre class="programlisting">gdouble gimp_context_get_opacity (void);</pre>
<p>
Get the opacity.
</p>
@ -382,9 +382,9 @@ floating point number between 0 and 100.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560072"></a><h3>
<a name="id2560084"></a><h3>
<a name="gimp-context-set-opacity"></a>gimp_context_set_opacity ()</h3>
<a class="indexterm" name="id2560081"></a><pre class="programlisting">gboolean gimp_context_set_opacity (gdouble opacity);</pre>
<a class="indexterm" name="id2560093"></a><pre class="programlisting">gboolean gimp_context_set_opacity (gdouble opacity);</pre>
<p>
Set the opacity.
</p>
@ -417,9 +417,9 @@ floating point number between 0 and 100.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560150"></a><h3>
<a name="id2560162"></a><h3>
<a name="gimp-context-get-paint-mode"></a>gimp_context_get_paint_mode ()</h3>
<a class="indexterm" name="id2560160"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_context_get_paint_mode
<a class="indexterm" name="id2560171"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_context_get_paint_mode
(void);</pre>
<p>
Get the paint mode.
@ -446,9 +446,9 @@ description.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560210"></a><h3>
<a name="id2560222"></a><h3>
<a name="gimp-context-set-paint-mode"></a>gimp_context_set_paint_mode ()</h3>
<a class="indexterm" name="id2560220"></a><pre class="programlisting">gboolean gimp_context_set_paint_mode (<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
<a class="indexterm" name="id2560231"></a><pre class="programlisting">gboolean gimp_context_set_paint_mode (<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
<p>
Set the paint mode.
</p>
@ -480,9 +480,9 @@ This procedure modifies the paint_mode setting.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560289"></a><h3>
<a name="id2560300"></a><h3>
<a name="gimp-context-get-brush"></a>gimp_context_get_brush ()</h3>
<a class="indexterm" name="id2560298"></a><pre class="programlisting">gchar* gimp_context_get_brush (void);</pre>
<a class="indexterm" name="id2560309"></a><pre class="programlisting">gchar* gimp_context_get_brush (void);</pre>
<p>
Retrieve the currently active brush.
</p>
@ -508,9 +508,9 @@ application of paint to the image.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560349"></a><h3>
<a name="id2560361"></a><h3>
<a name="gimp-context-set-brush"></a>gimp_context_set_brush ()</h3>
<a class="indexterm" name="id2560358"></a><pre class="programlisting">gboolean gimp_context_set_brush (const gchar *name);</pre>
<a class="indexterm" name="id2560370"></a><pre class="programlisting">gboolean gimp_context_set_brush (const gchar *name);</pre>
<p>
Set the specified brush as the active brush.
</p>
@ -546,9 +546,9 @@ becomes active and will be used in all subsequent paint operations.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560433"></a><h3>
<a name="id2560444"></a><h3>
<a name="gimp-context-get-pattern"></a>gimp_context_get_pattern ()</h3>
<a class="indexterm" name="id2560442"></a><pre class="programlisting">gchar* gimp_context_get_pattern (void);</pre>
<a class="indexterm" name="id2560453"></a><pre class="programlisting">gchar* gimp_context_get_pattern (void);</pre>
<p>
Retrieve the currently active pattern.
</p>
@ -574,9 +574,9 @@ to control the application of paint to the image.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560494"></a><h3>
<a name="id2560505"></a><h3>
<a name="gimp-context-set-pattern"></a>gimp_context_set_pattern ()</h3>
<a class="indexterm" name="id2560503"></a><pre class="programlisting">gboolean gimp_context_set_pattern (const gchar *name);</pre>
<a class="indexterm" name="id2560514"></a><pre class="programlisting">gboolean gimp_context_set_pattern (const gchar *name);</pre>
<p>
Set the specified pattern as the active pattern.
</p>
@ -613,9 +613,9 @@ operations.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560577"></a><h3>
<a name="id2560589"></a><h3>
<a name="gimp-context-get-gradient"></a>gimp_context_get_gradient ()</h3>
<a class="indexterm" name="id2560587"></a><pre class="programlisting">gchar* gimp_context_get_gradient (void);</pre>
<a class="indexterm" name="id2560598"></a><pre class="programlisting">gchar* gimp_context_get_gradient (void);</pre>
<p>
Retrieve the currently active gradient.
</p>
@ -639,9 +639,9 @@ This procedure returns the name of the currently active gradient.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560637"></a><h3>
<a name="id2560648"></a><h3>
<a name="gimp-context-set-gradient"></a>gimp_context_set_gradient ()</h3>
<a class="indexterm" name="id2560647"></a><pre class="programlisting">gboolean gimp_context_set_gradient (const gchar *name);</pre>
<a class="indexterm" name="id2560658"></a><pre class="programlisting">gboolean gimp_context_set_gradient (const gchar *name);</pre>
<p>
Sets the specified gradient as the active gradient.
</p>
@ -678,9 +678,9 @@ operations.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560721"></a><h3>
<a name="id2560733"></a><h3>
<a name="gimp-context-get-palette"></a>gimp_context_get_palette ()</h3>
<a class="indexterm" name="id2560730"></a><pre class="programlisting">gchar* gimp_context_get_palette (void);</pre>
<a class="indexterm" name="id2560742"></a><pre class="programlisting">gchar* gimp_context_get_palette (void);</pre>
<p>
Retrieve the currently active palette.
</p>
@ -704,9 +704,9 @@ This procedure returns the name of the the currently active palette.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560781"></a><h3>
<a name="id2560792"></a><h3>
<a name="gimp-context-set-palette"></a>gimp_context_set_palette ()</h3>
<a class="indexterm" name="id2560790"></a><pre class="programlisting">gboolean gimp_context_set_palette (const gchar *name);</pre>
<a class="indexterm" name="id2560801"></a><pre class="programlisting">gboolean gimp_context_set_palette (const gchar *name);</pre>
<p>
Set the specified palette as the active palette.
</p>
@ -743,9 +743,9 @@ operations.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560864"></a><h3>
<a name="id2560875"></a><h3>
<a name="gimp-context-get-font"></a>gimp_context_get_font ()</h3>
<a class="indexterm" name="id2560873"></a><pre class="programlisting">gchar* gimp_context_get_font (void);</pre>
<a class="indexterm" name="id2560884"></a><pre class="programlisting">gchar* gimp_context_get_font (void);</pre>
<p>
Retrieve the currently active font.
</p>
@ -769,9 +769,9 @@ This procedure returns the name of the currently active font.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560923"></a><h3>
<a name="id2560934"></a><h3>
<a name="gimp-context-set-font"></a>gimp_context_set_font ()</h3>
<a class="indexterm" name="id2560932"></a><pre class="programlisting">gboolean gimp_context_set_font (const gchar *name);</pre>
<a class="indexterm" name="id2560943"></a><pre class="programlisting">gboolean gimp_context_set_font (const gchar *name);</pre>
<p>
Set the specified font as the active font.
</p>
@ -807,9 +807,9 @@ becomes active and will be used in all subsequent font operations.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2561006"></a><h3>
<a name="id2561018"></a><h3>
<a name="gimp-context-get-paint-method"></a>gimp_context_get_paint_method ()</h3>
<a class="indexterm" name="id2566808"></a><pre class="programlisting">gchar* gimp_context_get_paint_method (void);</pre>
<a class="indexterm" name="id2566819"></a><pre class="programlisting">gchar* gimp_context_get_paint_method (void);</pre>
<p>
Retrieve the currently active paint method.
</p>
@ -834,9 +834,9 @@ method.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2566854"></a><h3>
<a name="id2566865"></a><h3>
<a name="gimp-context-set-paint-method"></a>gimp_context_set_paint_method ()</h3>
<a class="indexterm" name="id2566864"></a><pre class="programlisting">gboolean gimp_context_set_paint_method (const gchar *name);</pre>
<a class="indexterm" name="id2566876"></a><pre class="programlisting">gboolean gimp_context_set_paint_method (const gchar *name);</pre>
<p>
Set the specified paint method as the active paint method.
</p>