Imported Upstream version 2.6.3
This commit is contained in:
@ -48,40 +48,106 @@
|
||||
<div class="refsynopsisdiv">
|
||||
<a name="libgimp-gimpcontext.synopsis"></a><h2>Synopsis</h2>
|
||||
<pre class="synopsis">
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-push" title="gimp_context_push ()">gimp_context_push</a> (void);
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-pop" title="gimp_context_pop ()">gimp_context_pop</a> (void);
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-foreground" title="gimp_context_get_foreground ()">gimp_context_get_foreground</a> (<a
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-push" title="gimp_context_push ()">gimp_context_push</a> (void);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-pop" title="gimp_context_pop ()">gimp_context_pop</a> (void);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-foreground" title="gimp_context_get_foreground ()">gimp_context_get_foreground</a> (<a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *foreground);
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-foreground" title="gimp_context_set_foreground ()">gimp_context_set_foreground</a> (const <a
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-foreground" title="gimp_context_set_foreground ()">gimp_context_set_foreground</a> (const <a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *foreground);
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-background" title="gimp_context_get_background ()">gimp_context_get_background</a> (<a
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-background" title="gimp_context_get_background ()">gimp_context_get_background</a> (<a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *background);
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-background" title="gimp_context_set_background ()">gimp_context_set_background</a> (const <a
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-background" title="gimp_context_set_background ()">gimp_context_set_background</a> (const <a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *background);
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-default-colors" title="gimp_context_set_default_colors ()">gimp_context_set_default_colors</a> (void);
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-swap-colors" title="gimp_context_swap_colors ()">gimp_context_swap_colors</a> (void);
|
||||
gdouble <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-opacity" title="gimp_context_get_opacity ()">gimp_context_get_opacity</a> (void);
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-opacity" title="gimp_context_set_opacity ()">gimp_context_set_opacity</a> (gdouble opacity);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-default-colors" title="gimp_context_set_default_colors ()">gimp_context_set_default_colors</a> (void);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-swap-colors" title="gimp_context_swap_colors ()">gimp_context_swap_colors</a> (void);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
|
||||
>gdouble</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-opacity" title="gimp_context_get_opacity ()">gimp_context_get_opacity</a> (void);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-opacity" title="gimp_context_set_opacity ()">gimp_context_set_opacity</a> (<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
|
||||
>gdouble</a> opacity);
|
||||
<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-paint-mode" title="gimp_context_get_paint_mode ()">gimp_context_get_paint_mode</a> (void);
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-paint-mode" title="gimp_context_set_paint_mode ()">gimp_context_set_paint_mode</a> (<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);
|
||||
gchar* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-brush" title="gimp_context_get_brush ()">gimp_context_get_brush</a> (void);
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-brush" title="gimp_context_set_brush ()">gimp_context_set_brush</a> (const gchar *name);
|
||||
gchar* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-pattern" title="gimp_context_get_pattern ()">gimp_context_get_pattern</a> (void);
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-pattern" title="gimp_context_set_pattern ()">gimp_context_set_pattern</a> (const gchar *name);
|
||||
gchar* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-gradient" title="gimp_context_get_gradient ()">gimp_context_get_gradient</a> (void);
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-gradient" title="gimp_context_set_gradient ()">gimp_context_set_gradient</a> (const gchar *name);
|
||||
gchar* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-palette" title="gimp_context_get_palette ()">gimp_context_get_palette</a> (void);
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-palette" title="gimp_context_set_palette ()">gimp_context_set_palette</a> (const gchar *name);
|
||||
gchar* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-font" title="gimp_context_get_font ()">gimp_context_get_font</a> (void);
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-font" title="gimp_context_set_font ()">gimp_context_set_font</a> (const gchar *name);
|
||||
gchar* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-paint-method" title="gimp_context_get_paint_method ()">gimp_context_get_paint_method</a> (void);
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-paint-method" title="gimp_context_set_paint_method ()">gimp_context_set_paint_method</a> (const gchar *name);
|
||||
gboolean <a class="link" href="libgimp-gimpcontext.html#gimp-context-list-paint-methods" title="gimp_context_list_paint_methods ()">gimp_context_list_paint_methods</a> (gint *num_paint_methods,
|
||||
gchar ***paint_methods);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-paint-mode" title="gimp_context_set_paint_mode ()">gimp_context_set_paint_mode</a> (<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-brush" title="gimp_context_get_brush ()">gimp_context_get_brush</a> (void);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-brush" title="gimp_context_set_brush ()">gimp_context_set_brush</a> (const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-pattern" title="gimp_context_get_pattern ()">gimp_context_get_pattern</a> (void);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-pattern" title="gimp_context_set_pattern ()">gimp_context_set_pattern</a> (const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-gradient" title="gimp_context_get_gradient ()">gimp_context_get_gradient</a> (void);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-gradient" title="gimp_context_set_gradient ()">gimp_context_set_gradient</a> (const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-palette" title="gimp_context_get_palette ()">gimp_context_get_palette</a> (void);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-palette" title="gimp_context_set_palette ()">gimp_context_set_palette</a> (const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-font" title="gimp_context_get_font ()">gimp_context_get_font</a> (void);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-font" title="gimp_context_set_font ()">gimp_context_set_font</a> (const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* <a class="link" href="libgimp-gimpcontext.html#gimp-context-get-paint-method" title="gimp_context_get_paint_method ()">gimp_context_get_paint_method</a> (void);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-set-paint-method" title="gimp_context_set_paint_method ()">gimp_context_set_paint_method</a> (const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpcontext.html#gimp-context-list-paint-methods" title="gimp_context_list_paint_methods ()">gimp_context_list_paint_methods</a> (<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *num_paint_methods,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> ***paint_methods);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
@ -94,7 +160,9 @@ Functions to manipulate a plug-in's context.
|
||||
<a name="libgimp-gimpcontext.details"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-push"></a><h3>gimp_context_push ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_push (void);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/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>
|
||||
@ -120,7 +188,9 @@ until it is popped again using <a class="link" href="libgimp-gimpcontext.html#gi
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-pop"></a><h3>gimp_context_pop ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_pop (void);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/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>
|
||||
@ -147,7 +217,9 @@ plug-in.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-get-foreground"></a><h3>gimp_context_get_foreground ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_get_foreground (<a
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_context_get_foreground (<a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *foreground);</pre>
|
||||
<p>
|
||||
@ -182,7 +254,9 @@ blending, and bucket fill.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-set-foreground"></a><h3>gimp_context_set_foreground ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_set_foreground (const <a
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/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>
|
||||
@ -217,7 +291,9 @@ and bucket fill will use the new value.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-get-background"></a><h3>gimp_context_get_background ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_get_background (<a
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_context_get_background (<a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *background);</pre>
|
||||
<p>
|
||||
@ -252,7 +328,9 @@ erasing (with non-alpha images), and image filling.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-set-background"></a><h3>gimp_context_set_background ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_set_background (const <a
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/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>
|
||||
@ -288,7 +366,9 @@ value.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-set-default-colors"></a><h3>gimp_context_set_default_colors ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_set_default_colors (void);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/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.
|
||||
@ -314,7 +394,9 @@ colors to their initial default values, black and white.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-swap-colors"></a><h3>gimp_context_swap_colors ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_swap_colors (void);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_context_swap_colors (void);</pre>
|
||||
<p>
|
||||
Swap the current GIMP foreground and background colors.
|
||||
</p>
|
||||
@ -340,7 +422,9 @@ color and vice versa.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-get-opacity"></a><h3>gimp_context_get_opacity ()</h3>
|
||||
<pre class="programlisting">gdouble gimp_context_get_opacity (void);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
|
||||
>gdouble</a> gimp_context_get_opacity (void);</pre>
|
||||
<p>
|
||||
Get the opacity.
|
||||
</p>
|
||||
@ -365,7 +449,11 @@ floating point number between 0 and 100.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-set-opacity"></a><h3>gimp_context_set_opacity ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_set_opacity (gdouble opacity);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_context_set_opacity (<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
|
||||
>gdouble</a> opacity);</pre>
|
||||
<p>
|
||||
Set the opacity.
|
||||
</p>
|
||||
@ -423,7 +511,9 @@ description.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-set-paint-mode"></a><h3>gimp_context_set_paint_mode ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_set_paint_mode (<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_context_set_paint_mode (<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
|
||||
<p>
|
||||
Set the paint mode.
|
||||
</p>
|
||||
@ -454,7 +544,9 @@ This procedure modifies the paint_mode setting.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-get-brush"></a><h3>gimp_context_get_brush ()</h3>
|
||||
<pre class="programlisting">gchar* gimp_context_get_brush (void);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_context_get_brush (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active brush.
|
||||
</p>
|
||||
@ -480,7 +572,11 @@ application of paint to the image.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-set-brush"></a><h3>gimp_context_set_brush ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_set_brush (const gchar *name);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_context_set_brush (const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);</pre>
|
||||
<p>
|
||||
Set the specified brush as the active brush.
|
||||
</p>
|
||||
@ -515,7 +611,9 @@ becomes active and will be used in all subsequent paint operations.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-get-pattern"></a><h3>gimp_context_get_pattern ()</h3>
|
||||
<pre class="programlisting">gchar* gimp_context_get_pattern (void);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_context_get_pattern (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active pattern.
|
||||
</p>
|
||||
@ -541,7 +639,11 @@ to control the application of paint to the image.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-set-pattern"></a><h3>gimp_context_set_pattern ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_set_pattern (const gchar *name);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_context_set_pattern (const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);</pre>
|
||||
<p>
|
||||
Set the specified pattern as the active pattern.
|
||||
</p>
|
||||
@ -577,7 +679,9 @@ operations.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-get-gradient"></a><h3>gimp_context_get_gradient ()</h3>
|
||||
<pre class="programlisting">gchar* gimp_context_get_gradient (void);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_context_get_gradient (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active gradient.
|
||||
</p>
|
||||
@ -601,7 +705,11 @@ This procedure returns the name of the currently active gradient.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-set-gradient"></a><h3>gimp_context_set_gradient ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_set_gradient (const gchar *name);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_context_set_gradient (const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);</pre>
|
||||
<p>
|
||||
Sets the specified gradient as the active gradient.
|
||||
</p>
|
||||
@ -637,7 +745,9 @@ operations.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-get-palette"></a><h3>gimp_context_get_palette ()</h3>
|
||||
<pre class="programlisting">gchar* gimp_context_get_palette (void);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_context_get_palette (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active palette.
|
||||
</p>
|
||||
@ -661,7 +771,11 @@ This procedure returns the name of the the currently active palette.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-set-palette"></a><h3>gimp_context_set_palette ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_set_palette (const gchar *name);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_context_set_palette (const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);</pre>
|
||||
<p>
|
||||
Set the specified palette as the active palette.
|
||||
</p>
|
||||
@ -697,7 +811,9 @@ operations.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-get-font"></a><h3>gimp_context_get_font ()</h3>
|
||||
<pre class="programlisting">gchar* gimp_context_get_font (void);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_context_get_font (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active font.
|
||||
</p>
|
||||
@ -721,7 +837,11 @@ This procedure returns the name of the currently active font.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-set-font"></a><h3>gimp_context_set_font ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_set_font (const gchar *name);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_context_set_font (const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);</pre>
|
||||
<p>
|
||||
Set the specified font as the active font.
|
||||
</p>
|
||||
@ -756,7 +876,9 @@ becomes active and will be used in all subsequent font operations.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-get-paint-method"></a><h3>gimp_context_get_paint_method ()</h3>
|
||||
<pre class="programlisting">gchar* gimp_context_get_paint_method (void);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_context_get_paint_method (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active paint method.
|
||||
</p>
|
||||
@ -781,7 +903,11 @@ method.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-set-paint-method"></a><h3>gimp_context_set_paint_method ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_set_paint_method (const gchar *name);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_context_set_paint_method (const <a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);</pre>
|
||||
<p>
|
||||
Set the specified paint method as the active paint method.
|
||||
</p>
|
||||
@ -817,8 +943,14 @@ all subsequent paint operations.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-context-list-paint-methods"></a><h3>gimp_context_list_paint_methods ()</h3>
|
||||
<pre class="programlisting">gboolean gimp_context_list_paint_methods (gint *num_paint_methods,
|
||||
gchar ***paint_methods);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_context_list_paint_methods (<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *num_paint_methods,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> ***paint_methods);</pre>
|
||||
<p>
|
||||
Lists the available paint methods.
|
||||
</p>
|
||||
|
Reference in New Issue
Block a user