Imported Upstream version 2.2.11

This commit is contained in:
Ari Pollak
2010-08-11 01:16:22 -04:00
parent c9211190ce
commit 36a37ecc21
253 changed files with 9385 additions and 8966 deletions

View File

@ -75,17 +75,17 @@ gboolean <a href="libgimp-gimpcontext.html#gimp-context-set-font">gimp_contex
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2522922"></a><h2>Description</h2>
<a name="id2517310"></a><h2>Description</h2>
<p>
Functions to manipulate a plug-in's context.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2522934"></a><h2>Details</h2>
<a name="id2517322"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2522940"></a><h3>
<a name="id2517328"></a><h3>
<a name="gimp-context-push"></a>gimp_context_push ()</h3>
<a class="indexterm" name="id2522950"></a><pre class="programlisting">gboolean gimp_context_push (void);</pre>
<a class="indexterm" name="id2517338"></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>
@ -111,9 +111,9 @@ until it is popped again.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2523000"></a><h3>
<a name="id2517388"></a><h3>
<a name="gimp-context-pop"></a>gimp_context_pop ()</h3>
<a class="indexterm" name="id2523010"></a><pre class="programlisting">gboolean gimp_context_pop (void);</pre>
<a class="indexterm" name="id2517398"></a><pre class="programlisting">gboolean gimp_context_pop (void);</pre>
<p>
Pops the topmost context from the plug-in's context stack.
</p>
@ -138,9 +138,9 @@ context for the calling plug-in.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560950"></a><h3>
<a name="id2561383"></a><h3>
<a name="gimp-context-get-foreground"></a>gimp_context_get_foreground ()</h3>
<a class="indexterm" name="id2560958"></a><pre class="programlisting">gboolean gimp_context_get_foreground (<a
<a class="indexterm" name="id2561391"></a><pre class="programlisting">gboolean gimp_context_get_foreground (<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *foreground);</pre>
<p>
@ -176,9 +176,9 @@ blending, and bucket fill.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2561028"></a><h3>
<a name="id2561461"></a><h3>
<a name="gimp-context-set-foreground"></a>gimp_context_set_foreground ()</h3>
<a class="indexterm" name="id2561037"></a><pre class="programlisting">gboolean gimp_context_set_foreground (const <a
<a class="indexterm" name="id2561470"></a><pre class="programlisting">gboolean gimp_context_set_foreground (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *foreground);</pre>
<p>
@ -214,9 +214,9 @@ and bucket fill will use the new value.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2561107"></a><h3>
<a name="id2561541"></a><h3>
<a name="gimp-context-get-background"></a>gimp_context_get_background ()</h3>
<a class="indexterm" name="id2561116"></a><pre class="programlisting">gboolean gimp_context_get_background (<a
<a class="indexterm" name="id2561550"></a><pre class="programlisting">gboolean gimp_context_get_background (<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *background);</pre>
<p>
@ -252,9 +252,9 @@ erasing (with non-alpha images), and image filling.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2561188"></a><h3>
<a name="id2561621"></a><h3>
<a name="gimp-context-set-background"></a>gimp_context_set_background ()</h3>
<a class="indexterm" name="id2561197"></a><pre class="programlisting">gboolean gimp_context_set_background (const <a
<a class="indexterm" name="id2561630"></a><pre class="programlisting">gboolean gimp_context_set_background (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *background);</pre>
<p>
@ -291,9 +291,9 @@ value.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2559228"></a><h3>
<a name="id2559662"></a><h3>
<a name="gimp-context-set-default-colors"></a>gimp_context_set_default_colors ()</h3>
<a class="indexterm" name="id2559237"></a><pre class="programlisting">gboolean gimp_context_set_default_colors (void);</pre>
<a class="indexterm" name="id2559671"></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.
@ -319,9 +319,9 @@ colors to their initial default values, black and white.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2559288"></a><h3>
<a name="id2559722"></a><h3>
<a name="gimp-context-swap-colors"></a>gimp_context_swap_colors ()</h3>
<a class="indexterm" name="id2559297"></a><pre class="programlisting">gboolean gimp_context_swap_colors (void);</pre>
<a class="indexterm" name="id2559731"></a><pre class="programlisting">gboolean gimp_context_swap_colors (void);</pre>
<p>
Swap the current GIMP foreground and background colors.
</p>
@ -347,9 +347,9 @@ color and vice versa.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2559348"></a><h3>
<a name="id2559783"></a><h3>
<a name="gimp-context-get-opacity"></a>gimp_context_get_opacity ()</h3>
<a class="indexterm" name="id2559357"></a><pre class="programlisting">gdouble gimp_context_get_opacity (void);</pre>
<a class="indexterm" name="id2559792"></a><pre class="programlisting">gdouble gimp_context_get_opacity (void);</pre>
<p>
Get the opacity.
</p>
@ -374,9 +374,9 @@ floating point number between 0 and 100.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2559407"></a><h3>
<a name="id2559842"></a><h3>
<a name="gimp-context-set-opacity"></a>gimp_context_set_opacity ()</h3>
<a class="indexterm" name="id2559416"></a><pre class="programlisting">gboolean gimp_context_set_opacity (gdouble opacity);</pre>
<a class="indexterm" name="id2559851"></a><pre class="programlisting">gboolean gimp_context_set_opacity (gdouble opacity);</pre>
<p>
Set the opacity.
</p>
@ -409,9 +409,9 @@ floating point number between 0 and 100.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2561742"></a><h3>
<a name="id2562174"></a><h3>
<a name="gimp-context-get-paint-mode"></a>gimp_context_get_paint_mode ()</h3>
<a class="indexterm" name="id2561751"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_context_get_paint_mode
<a class="indexterm" name="id2562183"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_context_get_paint_mode
(void);</pre>
<p>
Get the paint mode.
@ -438,9 +438,9 @@ description.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2561802"></a><h3>
<a name="id2562234"></a><h3>
<a name="gimp-context-set-paint-mode"></a>gimp_context_set_paint_mode ()</h3>
<a class="indexterm" name="id2561811"></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="id2562243"></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>
@ -472,9 +472,9 @@ This procedure modifies the paint_mode setting.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2561879"></a><h3>
<a name="id2562311"></a><h3>
<a name="gimp-context-get-brush"></a>gimp_context_get_brush ()</h3>
<a class="indexterm" name="id2561888"></a><pre class="programlisting">gchar* gimp_context_get_brush (void);</pre>
<a class="indexterm" name="id2562320"></a><pre class="programlisting">gchar* gimp_context_get_brush (void);</pre>
<p>
Retrieve the currently active brush.
</p>
@ -500,9 +500,9 @@ application of paint to the image.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2561940"></a><h3>
<a name="id2562371"></a><h3>
<a name="gimp-context-set-brush"></a>gimp_context_set_brush ()</h3>
<a class="indexterm" name="id2561949"></a><pre class="programlisting">gboolean gimp_context_set_brush (const gchar *name);</pre>
<a class="indexterm" name="id2562380"></a><pre class="programlisting">gboolean gimp_context_set_brush (const gchar *name);</pre>
<p>
Set the specified brush as the active brush.
</p>
@ -538,9 +538,9 @@ becomes active and will be used in all subsequent paint operations.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2562023"></a><h3>
<a name="id2562455"></a><h3>
<a name="gimp-context-get-pattern"></a>gimp_context_get_pattern ()</h3>
<a class="indexterm" name="id2562032"></a><pre class="programlisting">gchar* gimp_context_get_pattern (void);</pre>
<a class="indexterm" name="id2562464"></a><pre class="programlisting">gchar* gimp_context_get_pattern (void);</pre>
<p>
Retrieve the currently active pattern.
</p>
@ -566,9 +566,9 @@ to control the application of paint to the image.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2562085"></a><h3>
<a name="id2562516"></a><h3>
<a name="gimp-context-set-pattern"></a>gimp_context_set_pattern ()</h3>
<a class="indexterm" name="id2562094"></a><pre class="programlisting">gboolean gimp_context_set_pattern (const gchar *name);</pre>
<a class="indexterm" name="id2562525"></a><pre class="programlisting">gboolean gimp_context_set_pattern (const gchar *name);</pre>
<p>
Set the specified pattern as the active pattern.
</p>
@ -605,9 +605,9 @@ operations.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2562168"></a><h3>
<a name="id2562599"></a><h3>
<a name="gimp-context-get-gradient"></a>gimp_context_get_gradient ()</h3>
<a class="indexterm" name="id2562178"></a><pre class="programlisting">gchar* gimp_context_get_gradient (void);</pre>
<a class="indexterm" name="id2562609"></a><pre class="programlisting">gchar* gimp_context_get_gradient (void);</pre>
<p>
Retrieve the currently active gradient.
</p>
@ -631,9 +631,9 @@ This procedure returns the name of the currently active gradient.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2559602"></a><h3>
<a name="id2560033"></a><h3>
<a name="gimp-context-set-gradient"></a>gimp_context_set_gradient ()</h3>
<a class="indexterm" name="id2559612"></a><pre class="programlisting">gboolean gimp_context_set_gradient (const gchar *name);</pre>
<a class="indexterm" name="id2560043"></a><pre class="programlisting">gboolean gimp_context_set_gradient (const gchar *name);</pre>
<p>
Sets the specified gradient as the active gradient.
</p>
@ -670,9 +670,9 @@ operations.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2559686"></a><h3>
<a name="id2560118"></a><h3>
<a name="gimp-context-get-palette"></a>gimp_context_get_palette ()</h3>
<a class="indexterm" name="id2559695"></a><pre class="programlisting">gchar* gimp_context_get_palette (void);</pre>
<a class="indexterm" name="id2560127"></a><pre class="programlisting">gchar* gimp_context_get_palette (void);</pre>
<p>
Retrieve the currently active palette.
</p>
@ -696,9 +696,9 @@ This procedure returns the name of the the currently active palette.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2559746"></a><h3>
<a name="id2560177"></a><h3>
<a name="gimp-context-set-palette"></a>gimp_context_set_palette ()</h3>
<a class="indexterm" name="id2559754"></a><pre class="programlisting">gboolean gimp_context_set_palette (const gchar *name);</pre>
<a class="indexterm" name="id2560186"></a><pre class="programlisting">gboolean gimp_context_set_palette (const gchar *name);</pre>
<p>
Set the specified palette as the active palette.
</p>
@ -735,9 +735,9 @@ operations.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2559829"></a><h3>
<a name="id2560260"></a><h3>
<a name="gimp-context-get-font"></a>gimp_context_get_font ()</h3>
<a class="indexterm" name="id2559838"></a><pre class="programlisting">gchar* gimp_context_get_font (void);</pre>
<a class="indexterm" name="id2560269"></a><pre class="programlisting">gchar* gimp_context_get_font (void);</pre>
<p>
Retrieve the currently active font.
</p>
@ -761,9 +761,9 @@ This procedure returns the name of the currently active font.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2559888"></a><h3>
<a name="id2560319"></a><h3>
<a name="gimp-context-set-font"></a>gimp_context_set_font ()</h3>
<a class="indexterm" name="id2559897"></a><pre class="programlisting">gboolean gimp_context_set_font (const gchar *name);</pre>
<a class="indexterm" name="id2560328"></a><pre class="programlisting">gboolean gimp_context_set_font (const gchar *name);</pre>
<p>
Set the specified font as the active font.
</p>