Imported Upstream version 2.3.15
This commit is contained in:
@ -31,16 +31,16 @@
|
||||
<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="#id2556791" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2582609" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2555704" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2561298" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="libgimp-gimpcontext"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2556791"></a><span class="refentrytitle">gimpcontext</span>
|
||||
<a name="id2582609"></a><span class="refentrytitle">gimpcontext</span>
|
||||
</h2>
|
||||
<p>gimpcontext — Functions to manipulate a plug-in's context.</p>
|
||||
</td>
|
||||
@ -88,17 +88,17 @@ gboolean <a href="libgimp-gimpcontext.html#gimp-context-set-paint-method">gim
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2555704"></a><h2>Description</h2>
|
||||
<a name="id2561298"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions to manipulate a plug-in's context.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2553877"></a><h2>Details</h2>
|
||||
<a name="id2553884"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2553887"></a><h3>
|
||||
<a name="id2553894"></a><h3>
|
||||
<a name="gimp-context-push"></a>gimp_context_push ()</h3>
|
||||
<a class="indexterm" name="id2553902"></a><pre class="programlisting">gboolean gimp_context_push (void);</pre>
|
||||
<a class="indexterm" name="id2553909"></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>
|
||||
@ -123,9 +123,9 @@ until it is popped again using <a href="libgimp-gimpcontext.html#gimp-context-po
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2553963"></a><h3>
|
||||
<a name="id2553970"></a><h3>
|
||||
<a name="gimp-context-pop"></a>gimp_context_pop ()</h3>
|
||||
<a class="indexterm" name="id2553977"></a><pre class="programlisting">gboolean gimp_context_pop (void);</pre>
|
||||
<a class="indexterm" name="id2553985"></a><pre class="programlisting">gboolean gimp_context_pop (void);</pre>
|
||||
<p>
|
||||
Pops the topmost context from the plug-in's context stack.
|
||||
</p>
|
||||
@ -151,9 +151,9 @@ plug-in.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2554039"></a><h3>
|
||||
<a name="id2554046"></a><h3>
|
||||
<a name="gimp-context-get-foreground"></a>gimp_context_get_foreground ()</h3>
|
||||
<a class="indexterm" name="id2554052"></a><pre class="programlisting">gboolean gimp_context_get_foreground (<a
|
||||
<a class="indexterm" name="id2554060"></a><pre class="programlisting">gboolean gimp_context_get_foreground (<a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *foreground);</pre>
|
||||
<p>
|
||||
@ -187,9 +187,9 @@ blending, and bucket fill.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2554122"></a><h3>
|
||||
<a name="id2554129"></a><h3>
|
||||
<a name="gimp-context-set-foreground"></a>gimp_context_set_foreground ()</h3>
|
||||
<a class="indexterm" name="id2590474"></a><pre class="programlisting">gboolean gimp_context_set_foreground (const <a
|
||||
<a class="indexterm" name="id2550549"></a><pre class="programlisting">gboolean gimp_context_set_foreground (const <a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *foreground);</pre>
|
||||
<p>
|
||||
@ -223,9 +223,9 @@ and bucket fill will use the new value.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2590543"></a><h3>
|
||||
<a name="id2550619"></a><h3>
|
||||
<a name="gimp-context-get-background"></a>gimp_context_get_background ()</h3>
|
||||
<a class="indexterm" name="id2590556"></a><pre class="programlisting">gboolean gimp_context_get_background (<a
|
||||
<a class="indexterm" name="id2550633"></a><pre class="programlisting">gboolean gimp_context_get_background (<a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *background);</pre>
|
||||
<p>
|
||||
@ -259,9 +259,9 @@ erasing (with non-alpha images), and image filling.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2590628"></a><h3>
|
||||
<a name="id2550703"></a><h3>
|
||||
<a name="gimp-context-set-background"></a>gimp_context_set_background ()</h3>
|
||||
<a class="indexterm" name="id2590642"></a><pre class="programlisting">gboolean gimp_context_set_background (const <a
|
||||
<a class="indexterm" name="id2550717"></a><pre class="programlisting">gboolean gimp_context_set_background (const <a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *background);</pre>
|
||||
<p>
|
||||
@ -296,9 +296,9 @@ value.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2590714"></a><h3>
|
||||
<a name="id2550787"></a><h3>
|
||||
<a name="gimp-context-set-default-colors"></a>gimp_context_set_default_colors ()</h3>
|
||||
<a class="indexterm" name="id2590728"></a><pre class="programlisting">gboolean gimp_context_set_default_colors (void);</pre>
|
||||
<a class="indexterm" name="id2550801"></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.
|
||||
@ -323,9 +323,9 @@ colors to their initial default values, black and white.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2598168"></a><h3>
|
||||
<a name="id2598176"></a><h3>
|
||||
<a name="gimp-context-swap-colors"></a>gimp_context_swap_colors ()</h3>
|
||||
<a class="indexterm" name="id2598180"></a><pre class="programlisting">gboolean gimp_context_swap_colors (void);</pre>
|
||||
<a class="indexterm" name="id2598188"></a><pre class="programlisting">gboolean gimp_context_swap_colors (void);</pre>
|
||||
<p>
|
||||
Swap the current GIMP foreground and background colors.
|
||||
</p>
|
||||
@ -350,9 +350,9 @@ color and vice versa.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2598227"></a><h3>
|
||||
<a name="id2598234"></a><h3>
|
||||
<a name="gimp-context-get-opacity"></a>gimp_context_get_opacity ()</h3>
|
||||
<a class="indexterm" name="id2598239"></a><pre class="programlisting">gdouble gimp_context_get_opacity (void);</pre>
|
||||
<a class="indexterm" name="id2598247"></a><pre class="programlisting">gdouble gimp_context_get_opacity (void);</pre>
|
||||
<p>
|
||||
Get the opacity.
|
||||
</p>
|
||||
@ -376,9 +376,9 @@ floating point number between 0 and 100.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2598284"></a><h3>
|
||||
<a name="id2598291"></a><h3>
|
||||
<a name="gimp-context-set-opacity"></a>gimp_context_set_opacity ()</h3>
|
||||
<a class="indexterm" name="id2598297"></a><pre class="programlisting">gboolean gimp_context_set_opacity (gdouble opacity);</pre>
|
||||
<a class="indexterm" name="id2598304"></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="id2598359"></a><h3>
|
||||
<a name="id2598366"></a><h3>
|
||||
<a name="gimp-context-get-paint-mode"></a>gimp_context_get_paint_mode ()</h3>
|
||||
<a class="indexterm" name="id2598372"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_context_get_paint_mode
|
||||
<a class="indexterm" name="id2598378"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_context_get_paint_mode
|
||||
(void);</pre>
|
||||
<p>
|
||||
Get the paint mode.
|
||||
@ -437,9 +437,9 @@ description.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2598418"></a><h3>
|
||||
<a name="id2598424"></a><h3>
|
||||
<a name="gimp-context-set-paint-mode"></a>gimp_context_set_paint_mode ()</h3>
|
||||
<a class="indexterm" name="id2598431"></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="id2598436"></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>
|
||||
@ -469,9 +469,9 @@ This procedure modifies the paint_mode setting.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2598493"></a><h3>
|
||||
<a name="id2598498"></a><h3>
|
||||
<a name="gimp-context-get-brush"></a>gimp_context_get_brush ()</h3>
|
||||
<a class="indexterm" name="id2598505"></a><pre class="programlisting">gchar* gimp_context_get_brush (void);</pre>
|
||||
<a class="indexterm" name="id2598510"></a><pre class="programlisting">gchar* gimp_context_get_brush (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active brush.
|
||||
</p>
|
||||
@ -496,9 +496,9 @@ application of paint to the image.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2598553"></a><h3>
|
||||
<a name="id2598558"></a><h3>
|
||||
<a name="gimp-context-set-brush"></a>gimp_context_set_brush ()</h3>
|
||||
<a class="indexterm" name="id2598565"></a><pre class="programlisting">gboolean gimp_context_set_brush (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2598570"></a><pre class="programlisting">gboolean gimp_context_set_brush (const gchar *name);</pre>
|
||||
<p>
|
||||
Set the specified brush as the active brush.
|
||||
</p>
|
||||
@ -532,9 +532,9 @@ becomes active and will be used in all subsequent paint operations.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2598632"></a><h3>
|
||||
<a name="id2598638"></a><h3>
|
||||
<a name="gimp-context-get-pattern"></a>gimp_context_get_pattern ()</h3>
|
||||
<a class="indexterm" name="id2598645"></a><pre class="programlisting">gchar* gimp_context_get_pattern (void);</pre>
|
||||
<a class="indexterm" name="id2598650"></a><pre class="programlisting">gchar* gimp_context_get_pattern (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active pattern.
|
||||
</p>
|
||||
@ -559,9 +559,9 @@ to control the application of paint to the image.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2598693"></a><h3>
|
||||
<a name="id2598698"></a><h3>
|
||||
<a name="gimp-context-set-pattern"></a>gimp_context_set_pattern ()</h3>
|
||||
<a class="indexterm" name="id2598705"></a><pre class="programlisting">gboolean gimp_context_set_pattern (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2598710"></a><pre class="programlisting">gboolean gimp_context_set_pattern (const gchar *name);</pre>
|
||||
<p>
|
||||
Set the specified pattern as the active pattern.
|
||||
</p>
|
||||
@ -596,9 +596,9 @@ operations.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2598772"></a><h3>
|
||||
<a name="id2598778"></a><h3>
|
||||
<a name="gimp-context-get-gradient"></a>gimp_context_get_gradient ()</h3>
|
||||
<a class="indexterm" name="id2598786"></a><pre class="programlisting">gchar* gimp_context_get_gradient (void);</pre>
|
||||
<a class="indexterm" name="id2598791"></a><pre class="programlisting">gchar* gimp_context_get_gradient (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active gradient.
|
||||
</p>
|
||||
@ -621,9 +621,9 @@ This procedure returns the name of the currently active gradient.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2598831"></a><h3>
|
||||
<a name="id2598836"></a><h3>
|
||||
<a name="gimp-context-set-gradient"></a>gimp_context_set_gradient ()</h3>
|
||||
<a class="indexterm" name="id2598844"></a><pre class="programlisting">gboolean gimp_context_set_gradient (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2598849"></a><pre class="programlisting">gboolean gimp_context_set_gradient (const gchar *name);</pre>
|
||||
<p>
|
||||
Sets the specified gradient as the active gradient.
|
||||
</p>
|
||||
@ -658,9 +658,9 @@ operations.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2598912"></a><h3>
|
||||
<a name="id2598917"></a><h3>
|
||||
<a name="gimp-context-get-palette"></a>gimp_context_get_palette ()</h3>
|
||||
<a class="indexterm" name="id2598924"></a><pre class="programlisting">gchar* gimp_context_get_palette (void);</pre>
|
||||
<a class="indexterm" name="id2598929"></a><pre class="programlisting">gchar* gimp_context_get_palette (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active palette.
|
||||
</p>
|
||||
@ -683,9 +683,9 @@ This procedure returns the name of the the currently active palette.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2598970"></a><h3>
|
||||
<a name="id2598975"></a><h3>
|
||||
<a name="gimp-context-set-palette"></a>gimp_context_set_palette ()</h3>
|
||||
<a class="indexterm" name="id2598982"></a><pre class="programlisting">gboolean gimp_context_set_palette (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2598987"></a><pre class="programlisting">gboolean gimp_context_set_palette (const gchar *name);</pre>
|
||||
<p>
|
||||
Set the specified palette as the active palette.
|
||||
</p>
|
||||
@ -720,9 +720,9 @@ operations.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599050"></a><h3>
|
||||
<a name="id2599055"></a><h3>
|
||||
<a name="gimp-context-get-font"></a>gimp_context_get_font ()</h3>
|
||||
<a class="indexterm" name="id2599062"></a><pre class="programlisting">gchar* gimp_context_get_font (void);</pre>
|
||||
<a class="indexterm" name="id2599067"></a><pre class="programlisting">gchar* gimp_context_get_font (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active font.
|
||||
</p>
|
||||
@ -745,9 +745,9 @@ This procedure returns the name of the currently active font.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599108"></a><h3>
|
||||
<a name="id2599113"></a><h3>
|
||||
<a name="gimp-context-set-font"></a>gimp_context_set_font ()</h3>
|
||||
<a class="indexterm" name="id2599120"></a><pre class="programlisting">gboolean gimp_context_set_font (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2599125"></a><pre class="programlisting">gboolean gimp_context_set_font (const gchar *name);</pre>
|
||||
<p>
|
||||
Set the specified font as the active font.
|
||||
</p>
|
||||
@ -781,9 +781,9 @@ becomes active and will be used in all subsequent font operations.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599187"></a><h3>
|
||||
<a name="id2599192"></a><h3>
|
||||
<a name="gimp-context-get-paint-method"></a>gimp_context_get_paint_method ()</h3>
|
||||
<a class="indexterm" name="id2599202"></a><pre class="programlisting">gchar* gimp_context_get_paint_method (void);</pre>
|
||||
<a class="indexterm" name="id2599207"></a><pre class="programlisting">gchar* gimp_context_get_paint_method (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active paint method.
|
||||
</p>
|
||||
@ -807,9 +807,9 @@ method.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599248"></a><h3>
|
||||
<a name="id2599254"></a><h3>
|
||||
<a name="gimp-context-set-paint-method"></a>gimp_context_set_paint_method ()</h3>
|
||||
<a class="indexterm" name="id2599263"></a><pre class="programlisting">gboolean gimp_context_set_paint_method (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2599268"></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>
|
||||
|
Reference in New Issue
Block a user