Imported Upstream version 2.3.6
This commit is contained in:
@ -1,14 +1,13 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>gimpcontext</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
|
||||
<link rel="up" href="libgimp-general.html" title="Functions not Related to Specific Images">
|
||||
<link rel="prev" href="libgimp-gimp.html" title="gimp">
|
||||
<link rel="prev" href="libgimp-gimpbuffer.html" title="gimpbuffer">
|
||||
<link rel="next" href="libgimp-gimpgimprc.html" title="gimpgimprc">
|
||||
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.4 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<link rel="part" href="gimpdefinitions.html" title="Part I. GIMP Constants">
|
||||
<link rel="part" href="libgimp.html" title="Part II. GIMP Library">
|
||||
@ -18,27 +17,24 @@
|
||||
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
|
||||
<link rel="part" href="libgimpui.html" title="Part III. GIMP User Interface Library">
|
||||
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
|
||||
<link rel="index" href="ix01.html" title="Index">
|
||||
<link rel="index" href="ix02.html" title="Index of new symbols in GIMP 2.2">
|
||||
<link rel="index" href="ix03.html" title="Index of new symbols in GIMP 2.4">
|
||||
<link rel="index" href="ix04.html" title="Index of deprecated symbols">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
||||
<tr valign="middle">
|
||||
<td><a accesskey="p" href="libgimp-gimp.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
||||
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
||||
<td><a accesskey="p" href="libgimp-gimpbuffer.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="u" href="libgimp-general.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
||||
<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="#id2561685" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2577578" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
</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="id2561685"></a><span class="refentrytitle">gimpcontext</span>
|
||||
</h2>
|
||||
<h2><span class="refentrytitle">gimpcontext</span></h2>
|
||||
<p>gimpcontext — Functions to manipulate a plug-in's context.</p>
|
||||
</td>
|
||||
<td valign="top" align="right"></td>
|
||||
@ -49,50 +45,51 @@
|
||||
|
||||
|
||||
|
||||
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
|
||||
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
|
||||
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
|
||||
gboolean <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
|
||||
gboolean <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
|
||||
gboolean <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="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);
|
||||
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="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);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2577578"></a><h2>Description</h2>
|
||||
<a name="id2537353"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions to manipulate a plug-in's context.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2599594"></a><h2>Details</h2>
|
||||
<a name="id2537365"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599605"></a><h3>
|
||||
<a name="id2537371"></a><h3>
|
||||
<a name="gimp-context-push"></a>gimp_context_push ()</h3>
|
||||
<a class="indexterm" name="id2599620"></a><pre class="programlisting">gboolean gimp_context_push (void);</pre>
|
||||
<a class="indexterm" name="id2537381"></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>
|
||||
@ -106,20 +103,21 @@ until it is popped again.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599674"></a><h3>
|
||||
<a name="id2537431"></a><h3>
|
||||
<a name="gimp-context-pop"></a>gimp_context_pop ()</h3>
|
||||
<a class="indexterm" name="id2599689"></a><pre class="programlisting">gboolean gimp_context_pop (void);</pre>
|
||||
<a class="indexterm" name="id2537441"></a><pre class="programlisting">gboolean gimp_context_pop (void);</pre>
|
||||
<p>
|
||||
Pops the topmost context from the plug-in's context stack.
|
||||
</p>
|
||||
@ -132,20 +130,21 @@ context for the calling plug-in.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599743"></a><h3>
|
||||
<a name="id2537491"></a><h3>
|
||||
<a name="gimp-context-get-foreground"></a>gimp_context_get_foreground ()</h3>
|
||||
<a class="indexterm" name="id2599756"></a><pre class="programlisting">gboolean gimp_context_get_foreground (<a
|
||||
<a class="indexterm" name="id2537500"></a><pre class="programlisting">gboolean gimp_context_get_foreground (<a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *foreground);</pre>
|
||||
<p>
|
||||
@ -162,26 +161,28 @@ blending, and bucket fill.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>foreground</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>foreground</code></em> :</span></td>
|
||||
<td> The foreground color.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599829"></a><h3>
|
||||
<a name="id2537788"></a><h3>
|
||||
<a name="gimp-context-set-foreground"></a>gimp_context_set_foreground ()</h3>
|
||||
<a class="indexterm" name="id2600079"></a><pre class="programlisting">gboolean gimp_context_set_foreground (const <a
|
||||
<a class="indexterm" name="id2537797"></a><pre class="programlisting">gboolean gimp_context_set_foreground (const <a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *foreground);</pre>
|
||||
<p>
|
||||
@ -198,26 +199,28 @@ and bucket fill will use the new value.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>foreground</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>foreground</code></em> :</span></td>
|
||||
<td> The foreground color.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2600153"></a><h3>
|
||||
<a name="id2537867"></a><h3>
|
||||
<a name="gimp-context-get-background"></a>gimp_context_get_background ()</h3>
|
||||
<a class="indexterm" name="id2600166"></a><pre class="programlisting">gboolean gimp_context_get_background (<a
|
||||
<a class="indexterm" name="id2537876"></a><pre class="programlisting">gboolean gimp_context_get_background (<a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *background);</pre>
|
||||
<p>
|
||||
@ -234,26 +237,28 @@ erasing (with non-alpha images), and image filling.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>background</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>background</code></em> :</span></td>
|
||||
<td> The background color.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2600240"></a><h3>
|
||||
<a name="id2537946"></a><h3>
|
||||
<a name="gimp-context-set-background"></a>gimp_context_set_background ()</h3>
|
||||
<a class="indexterm" name="id2600253"></a><pre class="programlisting">gboolean gimp_context_set_background (const <a
|
||||
<a class="indexterm" name="id2537955"></a><pre class="programlisting">gboolean gimp_context_set_background (const <a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *background);</pre>
|
||||
<p>
|
||||
@ -271,26 +276,28 @@ value.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>background</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>background</code></em> :</span></td>
|
||||
<td> The background color.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2600327"></a><h3>
|
||||
<a name="id2561942"></a><h3>
|
||||
<a name="gimp-context-set-default-colors"></a>gimp_context_set_default_colors ()</h3>
|
||||
<a class="indexterm" name="id2600341"></a><pre class="programlisting">gboolean gimp_context_set_default_colors (void);</pre>
|
||||
<a class="indexterm" name="id2561950"></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.
|
||||
@ -304,20 +311,21 @@ colors to their initial default values, black and white.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2601280"></a><h3>
|
||||
<a name="id2562001"></a><h3>
|
||||
<a name="gimp-context-swap-colors"></a>gimp_context_swap_colors ()</h3>
|
||||
<a class="indexterm" name="id2601293"></a><pre class="programlisting">gboolean gimp_context_swap_colors (void);</pre>
|
||||
<a class="indexterm" name="id2562010"></a><pre class="programlisting">gboolean gimp_context_swap_colors (void);</pre>
|
||||
<p>
|
||||
Swap the current GIMP foreground and background colors.
|
||||
</p>
|
||||
@ -331,20 +339,21 @@ color and vice versa.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2601347"></a><h3>
|
||||
<a name="id2562062"></a><h3>
|
||||
<a name="gimp-context-get-opacity"></a>gimp_context_get_opacity ()</h3>
|
||||
<a class="indexterm" name="id2601361"></a><pre class="programlisting">gdouble gimp_context_get_opacity (void);</pre>
|
||||
<a class="indexterm" name="id2562071"></a><pre class="programlisting">gdouble gimp_context_get_opacity (void);</pre>
|
||||
<p>
|
||||
Get the opacity.
|
||||
</p>
|
||||
@ -357,20 +366,21 @@ floating point number between 0 and 100.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The opacity.
|
||||
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2601414"></a><h3>
|
||||
<a name="id2562121"></a><h3>
|
||||
<a name="gimp-context-set-opacity"></a>gimp_context_set_opacity ()</h3>
|
||||
<a class="indexterm" name="id2601427"></a><pre class="programlisting">gboolean gimp_context_set_opacity (gdouble opacity);</pre>
|
||||
<a class="indexterm" name="id2562130"></a><pre class="programlisting">gboolean gimp_context_set_opacity (gdouble opacity);</pre>
|
||||
<p>
|
||||
Set the opacity.
|
||||
</p>
|
||||
@ -384,26 +394,29 @@ floating point number between 0 and 100.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>opacity</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>opacity</code></em> :</span></td>
|
||||
<td> The opacity.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2601500"></a><h3>
|
||||
<a name="id2562200"></a><h3>
|
||||
<a name="gimp-context-get-paint-mode"></a>gimp_context_get_paint_mode ()</h3>
|
||||
<a class="indexterm" name="id2601514"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_context_get_paint_mode (void);</pre>
|
||||
<a class="indexterm" name="id2559512"></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>
|
||||
@ -417,20 +430,21 @@ description.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The paint mode.
|
||||
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2601565"></a><h3>
|
||||
<a name="id2559563"></a><h3>
|
||||
<a name="gimp-context-set-paint-mode"></a>gimp_context_set_paint_mode ()</h3>
|
||||
<a class="indexterm" name="id2601579"></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="id2559572"></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>
|
||||
@ -443,26 +457,28 @@ This procedure modifies the paint_mode setting.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>paint_mode</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>paint_mode</code></em> :</span></td>
|
||||
<td> The paint mode.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2601650"></a><h3>
|
||||
<a name="id2559639"></a><h3>
|
||||
<a name="gimp-context-get-brush"></a>gimp_context_get_brush ()</h3>
|
||||
<a class="indexterm" name="id2601664"></a><pre class="programlisting">gchar* gimp_context_get_brush (void);</pre>
|
||||
<a class="indexterm" name="id2559648"></a><pre class="programlisting">gchar* gimp_context_get_brush (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active brush.
|
||||
</p>
|
||||
@ -476,20 +492,21 @@ application of paint to the image.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The name of the active brush.
|
||||
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2601717"></a><h3>
|
||||
<a name="id2559700"></a><h3>
|
||||
<a name="gimp-context-set-brush"></a>gimp_context_set_brush ()</h3>
|
||||
<a class="indexterm" name="id2601731"></a><pre class="programlisting">gboolean gimp_context_set_brush (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2559708"></a><pre class="programlisting">gboolean gimp_context_set_brush (const gchar *name);</pre>
|
||||
<p>
|
||||
Set the specified brush as the active brush.
|
||||
</p>
|
||||
@ -506,26 +523,28 @@ becomes active and will be used in all subsequent paint operations.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The name o the brush.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2601808"></a><h3>
|
||||
<a name="id2559783"></a><h3>
|
||||
<a name="gimp-context-get-pattern"></a>gimp_context_get_pattern ()</h3>
|
||||
<a class="indexterm" name="id2601821"></a><pre class="programlisting">gchar* gimp_context_get_pattern (void);</pre>
|
||||
<a class="indexterm" name="id2559792"></a><pre class="programlisting">gchar* gimp_context_get_pattern (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active pattern.
|
||||
</p>
|
||||
@ -539,20 +558,21 @@ to control the application of paint to the image.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The name of the active pattern.
|
||||
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2601876"></a><h3>
|
||||
<a name="id2559843"></a><h3>
|
||||
<a name="gimp-context-set-pattern"></a>gimp_context_set_pattern ()</h3>
|
||||
<a class="indexterm" name="id2601890"></a><pre class="programlisting">gboolean gimp_context_set_pattern (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2559852"></a><pre class="programlisting">gboolean gimp_context_set_pattern (const gchar *name);</pre>
|
||||
<p>
|
||||
Set the specified pattern as the active pattern.
|
||||
</p>
|
||||
@ -570,26 +590,28 @@ operations.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The name of the pattern.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2601967"></a><h3>
|
||||
<a name="id2559927"></a><h3>
|
||||
<a name="gimp-context-get-gradient"></a>gimp_context_get_gradient ()</h3>
|
||||
<a class="indexterm" name="id2601981"></a><pre class="programlisting">gchar* gimp_context_get_gradient (void);</pre>
|
||||
<a class="indexterm" name="id2559936"></a><pre class="programlisting">gchar* gimp_context_get_gradient (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active gradient.
|
||||
</p>
|
||||
@ -601,20 +623,21 @@ This procedure returns the name of the currently active gradient.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The name of the active gradient.
|
||||
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2602033"></a><h3>
|
||||
<a name="id2559986"></a><h3>
|
||||
<a name="gimp-context-set-gradient"></a>gimp_context_set_gradient ()</h3>
|
||||
<a class="indexterm" name="id2602048"></a><pre class="programlisting">gboolean gimp_context_set_gradient (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2559996"></a><pre class="programlisting">gboolean gimp_context_set_gradient (const gchar *name);</pre>
|
||||
<p>
|
||||
Sets the specified gradient as the active gradient.
|
||||
</p>
|
||||
@ -632,26 +655,28 @@ operations.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The name of the gradient.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2602125"></a><h3>
|
||||
<a name="id2560070"></a><h3>
|
||||
<a name="gimp-context-get-palette"></a>gimp_context_get_palette ()</h3>
|
||||
<a class="indexterm" name="id2602138"></a><pre class="programlisting">gchar* gimp_context_get_palette (void);</pre>
|
||||
<a class="indexterm" name="id2560079"></a><pre class="programlisting">gchar* gimp_context_get_palette (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active palette.
|
||||
</p>
|
||||
@ -663,20 +688,21 @@ This procedure returns the name of the the currently active palette.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The name of the active palette.
|
||||
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2602191"></a><h3>
|
||||
<a name="id2560129"></a><h3>
|
||||
<a name="gimp-context-set-palette"></a>gimp_context_set_palette ()</h3>
|
||||
<a class="indexterm" name="id2602205"></a><pre class="programlisting">gboolean gimp_context_set_palette (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2560138"></a><pre class="programlisting">gboolean gimp_context_set_palette (const gchar *name);</pre>
|
||||
<p>
|
||||
Set the specified palette as the active palette.
|
||||
</p>
|
||||
@ -694,26 +720,28 @@ operations.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The name of the palette.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2602282"></a><h3>
|
||||
<a name="id2560213"></a><h3>
|
||||
<a name="gimp-context-get-font"></a>gimp_context_get_font ()</h3>
|
||||
<a class="indexterm" name="id2602295"></a><pre class="programlisting">gchar* gimp_context_get_font (void);</pre>
|
||||
<a class="indexterm" name="id2560222"></a><pre class="programlisting">gchar* gimp_context_get_font (void);</pre>
|
||||
<p>
|
||||
Retrieve the currently active font.
|
||||
</p>
|
||||
@ -725,20 +753,21 @@ This procedure returns the name of the currently active font.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The name of the active font.
|
||||
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2602348"></a><h3>
|
||||
<a name="id2560272"></a><h3>
|
||||
<a name="gimp-context-set-font"></a>gimp_context_set_font ()</h3>
|
||||
<a class="indexterm" name="id2602362"></a><pre class="programlisting">gboolean gimp_context_set_font (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2560281"></a><pre class="programlisting">gboolean gimp_context_set_font (const gchar *name);</pre>
|
||||
<p>
|
||||
Set the specified font as the active font.
|
||||
</p>
|
||||
@ -755,22 +784,28 @@ becomes active and will be used in all subsequent font operations.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The name of the font.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<p class="since">Since GIMP 2.2
|
||||
<p>Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
|
||||
<td align="left"><a accesskey="p" href="libgimp-gimpbuffer.html"><b><< gimpbuffer</b></a></td>
|
||||
<td align="right"><a accesskey="n" href="libgimp-gimpgimprc.html"><b>gimpgimprc >></b></a></td>
|
||||
</tr></table>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user