Imported Upstream version 2.4.0~rc1
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="#id2574034" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2586670" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2576403" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2599424" 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="id2574034"></a><span class="refentrytitle">gimpcontext</span>
|
||||
<a name="id2586670"></a><span class="refentrytitle">gimpcontext</span>
|
||||
</h2>
|
||||
<p>gimpcontext — Functions to manipulate a plug-in's context.</p>
|
||||
</td>
|
||||
@ -52,52 +52,114 @@
|
||||
|
||||
|
||||
|
||||
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);
|
||||
gchar* <a href="libgimp-gimpcontext.html#gimp-context-get-paint-method">gimp_context_get_paint_method</a> (void);
|
||||
gboolean <a href="libgimp-gimpcontext.html#gimp-context-set-paint-method">gimp_context_set_paint_method</a> (const gchar *name);
|
||||
<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);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* <a href="libgimp-gimpcontext.html#gimp-context-get-paint-method">gimp_context_get_paint_method</a> (void);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a href="libgimp-gimpcontext.html#gimp-context-set-paint-method">gimp_context_set_paint_method</a> (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2576403"></a><h2>Description</h2>
|
||||
<a name="id2599424"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions to manipulate a plug-in's context.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2601408"></a><h2>Details</h2>
|
||||
<a name="id2599440"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2601419"></a><h3>
|
||||
<a name="id2566440"></a><h3>
|
||||
<a name="gimp-context-push"></a>gimp_context_push ()</h3>
|
||||
<a class="indexterm" name="id2601433"></a><pre class="programlisting">gboolean gimp_context_push (void);</pre>
|
||||
<a class="indexterm" name="id2566454"></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>
|
||||
@ -122,9 +184,11 @@ until it is popped again using <a href="libgimp-gimpcontext.html#gimp-context-po
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2601498"></a><h3>
|
||||
<a name="id2566518"></a><h3>
|
||||
<a name="gimp-context-pop"></a>gimp_context_pop ()</h3>
|
||||
<a class="indexterm" name="id2601512"></a><pre class="programlisting">gboolean gimp_context_pop (void);</pre>
|
||||
<a class="indexterm" name="id2566533"></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>
|
||||
@ -150,9 +214,11 @@ plug-in.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2601577"></a><h3>
|
||||
<a name="id2566598"></a><h3>
|
||||
<a name="gimp-context-get-foreground"></a>gimp_context_get_foreground ()</h3>
|
||||
<a class="indexterm" name="id2601590"></a><pre class="programlisting">gboolean gimp_context_get_foreground (<a
|
||||
<a class="indexterm" name="id2566611"></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>
|
||||
@ -186,9 +252,11 @@ blending, and bucket fill.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2565545"></a><h3>
|
||||
<a name="id2566684"></a><h3>
|
||||
<a name="gimp-context-set-foreground"></a>gimp_context_set_foreground ()</h3>
|
||||
<a class="indexterm" name="id2565559"></a><pre class="programlisting">gboolean gimp_context_set_foreground (const <a
|
||||
<a class="indexterm" name="id2598410"></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>
|
||||
@ -222,9 +290,11 @@ and bucket fill will use the new value.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2565632"></a><h3>
|
||||
<a name="id2598483"></a><h3>
|
||||
<a name="gimp-context-get-background"></a>gimp_context_get_background ()</h3>
|
||||
<a class="indexterm" name="id2565646"></a><pre class="programlisting">gboolean gimp_context_get_background (<a
|
||||
<a class="indexterm" name="id2598497"></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>
|
||||
@ -258,9 +328,11 @@ erasing (with non-alpha images), and image filling.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2565719"></a><h3>
|
||||
<a name="id2598570"></a><h3>
|
||||
<a name="gimp-context-set-background"></a>gimp_context_set_background ()</h3>
|
||||
<a class="indexterm" name="id2565733"></a><pre class="programlisting">gboolean gimp_context_set_background (const <a
|
||||
<a class="indexterm" name="id2598584"></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>
|
||||
@ -295,9 +367,11 @@ value.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2565807"></a><h3>
|
||||
<a name="id2598658"></a><h3>
|
||||
<a name="gimp-context-set-default-colors"></a>gimp_context_set_default_colors ()</h3>
|
||||
<a class="indexterm" name="id2606616"></a><pre class="programlisting">gboolean gimp_context_set_default_colors (void);</pre>
|
||||
<a class="indexterm" name="id2606770"></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.
|
||||
@ -322,9 +396,11 @@ colors to their initial default values, black and white.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2606665"></a><h3>
|
||||
<a name="id2606819"></a><h3>
|
||||
<a name="gimp-context-swap-colors"></a>gimp_context_swap_colors ()</h3>
|
||||
<a class="indexterm" name="id2606677"></a><pre class="programlisting">gboolean gimp_context_swap_colors (void);</pre>
|
||||
<a class="indexterm" name="id2606831"></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>
|
||||
@ -349,9 +425,11 @@ color and vice versa.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2606726"></a><h3>
|
||||
<a name="id2606880"></a><h3>
|
||||
<a name="gimp-context-get-opacity"></a>gimp_context_get_opacity ()</h3>
|
||||
<a class="indexterm" name="id2606738"></a><pre class="programlisting">gdouble gimp_context_get_opacity (void);</pre>
|
||||
<a class="indexterm" name="id2606892"></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>
|
||||
@ -375,9 +453,13 @@ floating point number between 0 and 100.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2606785"></a><h3>
|
||||
<a name="id2606939"></a><h3>
|
||||
<a name="gimp-context-set-opacity"></a>gimp_context_set_opacity ()</h3>
|
||||
<a class="indexterm" name="id2606798"></a><pre class="programlisting">gboolean gimp_context_set_opacity (gdouble opacity);</pre>
|
||||
<a class="indexterm" name="id2606952"></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>
|
||||
@ -408,9 +490,9 @@ floating point number between 0 and 100.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2606862"></a><h3>
|
||||
<a name="id2607017"></a><h3>
|
||||
<a name="gimp-context-get-paint-mode"></a>gimp_context_get_paint_mode ()</h3>
|
||||
<a class="indexterm" name="id2606875"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_context_get_paint_mode (void);</pre>
|
||||
<a class="indexterm" name="id2607029"></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>
|
||||
@ -435,9 +517,11 @@ description.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2606921"></a><h3>
|
||||
<a name="id2607076"></a><h3>
|
||||
<a name="gimp-context-set-paint-mode"></a>gimp_context_set_paint_mode ()</h3>
|
||||
<a class="indexterm" name="id2606934"></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="id2607088"></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>
|
||||
@ -467,9 +551,11 @@ This procedure modifies the paint_mode setting.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2606998"></a><h3>
|
||||
<a name="id2607152"></a><h3>
|
||||
<a name="gimp-context-get-brush"></a>gimp_context_get_brush ()</h3>
|
||||
<a class="indexterm" name="id2607010"></a><pre class="programlisting">gchar* gimp_context_get_brush (void);</pre>
|
||||
<a class="indexterm" name="id2607164"></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>
|
||||
@ -494,9 +580,13 @@ application of paint to the image.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2607058"></a><h3>
|
||||
<a name="id2607214"></a><h3>
|
||||
<a name="gimp-context-set-brush"></a>gimp_context_set_brush ()</h3>
|
||||
<a class="indexterm" name="id2607070"></a><pre class="programlisting">gboolean gimp_context_set_brush (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2607226"></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>
|
||||
@ -530,9 +620,11 @@ becomes active and will be used in all subsequent paint operations.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2607140"></a><h3>
|
||||
<a name="id2607296"></a><h3>
|
||||
<a name="gimp-context-get-pattern"></a>gimp_context_get_pattern ()</h3>
|
||||
<a class="indexterm" name="id2607152"></a><pre class="programlisting">gchar* gimp_context_get_pattern (void);</pre>
|
||||
<a class="indexterm" name="id2607308"></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>
|
||||
@ -557,9 +649,13 @@ to control the application of paint to the image.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2607201"></a><h3>
|
||||
<a name="id2607358"></a><h3>
|
||||
<a name="gimp-context-set-pattern"></a>gimp_context_set_pattern ()</h3>
|
||||
<a class="indexterm" name="id2607213"></a><pre class="programlisting">gboolean gimp_context_set_pattern (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2607370"></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>
|
||||
@ -594,9 +690,11 @@ operations.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2607283"></a><h3>
|
||||
<a name="id2607440"></a><h3>
|
||||
<a name="gimp-context-get-gradient"></a>gimp_context_get_gradient ()</h3>
|
||||
<a class="indexterm" name="id2607295"></a><pre class="programlisting">gchar* gimp_context_get_gradient (void);</pre>
|
||||
<a class="indexterm" name="id2607453"></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>
|
||||
@ -619,9 +717,13 @@ This procedure returns the name of the currently active gradient.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2607343"></a><h3>
|
||||
<a name="id2607501"></a><h3>
|
||||
<a name="gimp-context-set-gradient"></a>gimp_context_set_gradient ()</h3>
|
||||
<a class="indexterm" name="id2607356"></a><pre class="programlisting">gboolean gimp_context_set_gradient (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2607514"></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>
|
||||
@ -656,9 +758,11 @@ operations.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2607426"></a><h3>
|
||||
<a name="id2607584"></a><h3>
|
||||
<a name="gimp-context-get-palette"></a>gimp_context_get_palette ()</h3>
|
||||
<a class="indexterm" name="id2607438"></a><pre class="programlisting">gchar* gimp_context_get_palette (void);</pre>
|
||||
<a class="indexterm" name="id2607596"></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>
|
||||
@ -681,9 +785,13 @@ This procedure returns the name of the the currently active palette.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2607486"></a><h3>
|
||||
<a name="id2607644"></a><h3>
|
||||
<a name="gimp-context-set-palette"></a>gimp_context_set_palette ()</h3>
|
||||
<a class="indexterm" name="id2607499"></a><pre class="programlisting">gboolean gimp_context_set_palette (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2607656"></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>
|
||||
@ -718,9 +826,11 @@ operations.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2607568"></a><h3>
|
||||
<a name="id2607726"></a><h3>
|
||||
<a name="gimp-context-get-font"></a>gimp_context_get_font ()</h3>
|
||||
<a class="indexterm" name="id2607581"></a><pre class="programlisting">gchar* gimp_context_get_font (void);</pre>
|
||||
<a class="indexterm" name="id2607738"></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>
|
||||
@ -743,9 +853,13 @@ This procedure returns the name of the currently active font.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2607628"></a><h3>
|
||||
<a name="id2607786"></a><h3>
|
||||
<a name="gimp-context-set-font"></a>gimp_context_set_font ()</h3>
|
||||
<a class="indexterm" name="id2607641"></a><pre class="programlisting">gboolean gimp_context_set_font (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2607799"></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>
|
||||
@ -779,9 +893,11 @@ becomes active and will be used in all subsequent font operations.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2607710"></a><h3>
|
||||
<a name="id2607868"></a><h3>
|
||||
<a name="gimp-context-get-paint-method"></a>gimp_context_get_paint_method ()</h3>
|
||||
<a class="indexterm" name="id2607725"></a><pre class="programlisting">gchar* gimp_context_get_paint_method (void);</pre>
|
||||
<a class="indexterm" name="id2607882"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_context_get_paint_method (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active paint method.
|
||||
</p>
|
||||
@ -805,9 +921,13 @@ method.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2607774"></a><h3>
|
||||
<a name="id2607931"></a><h3>
|
||||
<a name="gimp-context-set-paint-method"></a>gimp_context_set_paint_method ()</h3>
|
||||
<a class="indexterm" name="id2607788"></a><pre class="programlisting">gboolean gimp_context_set_paint_method (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2607946"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_context_set_paint_method (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);</pre>
|
||||
<p>
|
||||
Set the specified paint method as the active paint method.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user