442 lines
13 KiB
HTML
442 lines
13 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
|
<title>gimpenums</title>
|
|
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
|
<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="next" href="libgimp-gimpbuffer.html" title="gimpbuffer">
|
|
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
|
|
<link rel="stylesheet" href="style.css" type="text/css">
|
|
<link rel="part" href="libgimp.html" title="Part I. GIMP Library">
|
|
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
|
|
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
|
|
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
|
|
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
|
|
<link rel="part" href="libgimpui.html" title="Part II. GIMP User Interface Library">
|
|
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
|
|
<link rel="index" href="libgimp-index.html" title="Index">
|
|
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
|
|
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
|
|
<link rel="index" href="libgimp-index-deprecated.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>
|
|
<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-gimpbuffer.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="#id2597255" class="shortcut">Top</a>
|
|
 | 
|
|
<a href="#id2565395" class="shortcut">Description</a></nobr></td></tr>
|
|
</table>
|
|
<div class="refentry" lang="en">
|
|
<a name="libgimp-gimpenums"></a><div class="titlepage"></div>
|
|
<div class="refnamediv"><table width="100%"><tr>
|
|
<td valign="top">
|
|
<h2>
|
|
<a name="id2597255"></a><span class="refentrytitle">gimpenums</span>
|
|
</h2>
|
|
<p>gimpenums — Enums and definitions.</p>
|
|
</td>
|
|
<td valign="top" align="right"></td>
|
|
</tr></table></div>
|
|
<div class="refsynopsisdiv">
|
|
<h2>Synopsis</h2>
|
|
<pre class="synopsis">
|
|
|
|
|
|
|
|
void <a href="libgimp-gimpenums.html#gimp-enums-init">gimp_enums_init</a> (void);
|
|
enum <a href="libgimp-gimpenums.html#GimpBrushApplicationMode">GimpBrushApplicationMode</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpBrushGeneratedShape">GimpBrushGeneratedShape</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpConvertDitherType">GimpConvertDitherType</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpConvertPaletteType">GimpConvertPaletteType</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpConvolutionType">GimpConvolutionType</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpConvolveType">GimpConvolveType</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpFillType">GimpFillType</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpGradientSegmentColor">GimpGradientSegmentColor</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpGradientSegmentType">GimpGradientSegmentType</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpHistogramChannel">GimpHistogramChannel</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpHueRange">GimpHueRange</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpMaskApplyMode">GimpMaskApplyMode</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpMergeType">GimpMergeType</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpOffsetType">GimpOffsetType</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpOrientationType">GimpOrientationType</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpRotationType">GimpRotationType</a>;
|
|
enum <a href="libgimp-gimpenums.html#GimpSelectCriterion">GimpSelectCriterion</a>;
|
|
const gchar** <a href="libgimp-gimpenums.html#gimp-enums-get-type-names">gimp_enums_get_type_names</a> (gint *n_type_names);
|
|
|
|
</pre>
|
|
</div>
|
|
<div class="refsect1" lang="en">
|
|
<a name="id2565395"></a><h2>Description</h2>
|
|
<p>
|
|
Enums and definitions.
|
|
|
|
</p>
|
|
</div>
|
|
<div class="refsect1" lang="en">
|
|
<a name="id2565411"></a><h2>Details</h2>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2565422"></a><h3>
|
|
<a name="gimp-enums-init"></a>gimp_enums_init ()</h3>
|
|
<a class="indexterm" name="id2565436"></a><pre class="programlisting">void gimp_enums_init (void);</pre>
|
|
<p>
|
|
This function makes sure all the enum types are registered
|
|
with the GObject type system. This is intended for use by
|
|
language bindings that need the symbols early, before gimp_main
|
|
is run. It's not necessary for plug-ins to call this directly,
|
|
as the normal plug-in initialization code will handle it
|
|
implicitly.</p>
|
|
<p>
|
|
|
|
</p>
|
|
<p class="since">Since GIMP 2.4
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2565474"></a><h3>
|
|
<a name="GimpBrushApplicationMode"></a>enum GimpBrushApplicationMode</h3>
|
|
<a class="indexterm" name="id2565485"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_BRUSH_HARD,
|
|
GIMP_BRUSH_SOFT
|
|
} GimpBrushApplicationMode;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2559676"></a><h3>
|
|
<a name="GimpBrushGeneratedShape"></a>enum GimpBrushGeneratedShape</h3>
|
|
<a class="indexterm" name="id2559687"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_BRUSH_GENERATED_CIRCLE,
|
|
GIMP_BRUSH_GENERATED_SQUARE,
|
|
GIMP_BRUSH_GENERATED_DIAMOND
|
|
} GimpBrushGeneratedShape;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2559705"></a><h3>
|
|
<a name="GimpConvertDitherType"></a>enum GimpConvertDitherType</h3>
|
|
<a class="indexterm" name="id2559716"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_NO_DITHER,
|
|
GIMP_FS_DITHER,
|
|
GIMP_FSLOWBLEED_DITHER,
|
|
GIMP_FIXED_DITHER
|
|
} GimpConvertDitherType;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2559733"></a><h3>
|
|
<a name="GimpConvertPaletteType"></a>enum GimpConvertPaletteType</h3>
|
|
<a class="indexterm" name="id2559744"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_MAKE_PALETTE,
|
|
GIMP_REUSE_PALETTE,
|
|
GIMP_WEB_PALETTE,
|
|
GIMP_MONO_PALETTE,
|
|
GIMP_CUSTOM_PALETTE
|
|
} GimpConvertPaletteType;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2559762"></a><h3>
|
|
<a name="GimpConvolutionType"></a>enum GimpConvolutionType</h3>
|
|
<a class="indexterm" name="id2559774"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_NORMAL_CONVOL,
|
|
GIMP_ABSOLUTE_CONVOL,
|
|
GIMP_NEGATIVE_CONVOL
|
|
} GimpConvolutionType;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2559791"></a><h3>
|
|
<a name="GimpConvolveType"></a>enum GimpConvolveType</h3>
|
|
<a class="indexterm" name="id2571578"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_BLUR_CONVOLVE,
|
|
GIMP_SHARPEN_CONVOLVE
|
|
} GimpConvolveType;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2571594"></a><h3>
|
|
<a name="GimpFillType"></a>enum GimpFillType</h3>
|
|
<a class="indexterm" name="id2571607"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_FOREGROUND_FILL,
|
|
GIMP_BACKGROUND_FILL,
|
|
GIMP_WHITE_FILL,
|
|
GIMP_TRANSPARENT_FILL,
|
|
GIMP_PATTERN_FILL
|
|
} GimpFillType;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2571625"></a><h3>
|
|
<a name="GimpGradientSegmentColor"></a>enum GimpGradientSegmentColor</h3>
|
|
<a class="indexterm" name="id2571636"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_GRADIENT_SEGMENT_RGB,
|
|
GIMP_GRADIENT_SEGMENT_HSV_CCW,
|
|
GIMP_GRADIENT_SEGMENT_HSV_CW
|
|
} GimpGradientSegmentColor;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2571653"></a><h3>
|
|
<a name="GimpGradientSegmentType"></a>enum GimpGradientSegmentType</h3>
|
|
<a class="indexterm" name="id2571665"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_GRADIENT_SEGMENT_LINEAR,
|
|
GIMP_GRADIENT_SEGMENT_CURVED,
|
|
GIMP_GRADIENT_SEGMENT_SINE,
|
|
GIMP_GRADIENT_SEGMENT_SPHERE_INCREASING,
|
|
GIMP_GRADIENT_SEGMENT_SPHERE_DECREASING
|
|
} GimpGradientSegmentType;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2571684"></a><h3>
|
|
<a name="GimpHistogramChannel"></a>enum GimpHistogramChannel</h3>
|
|
<a class="indexterm" name="id2571695"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_HISTOGRAM_VALUE,
|
|
GIMP_HISTOGRAM_RED,
|
|
GIMP_HISTOGRAM_GREEN,
|
|
GIMP_HISTOGRAM_BLUE,
|
|
GIMP_HISTOGRAM_ALPHA
|
|
} GimpHistogramChannel;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2571712"></a><h3>
|
|
<a name="GimpHueRange"></a>enum GimpHueRange</h3>
|
|
<a class="indexterm" name="id2571725"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_ALL_HUES,
|
|
GIMP_RED_HUES,
|
|
GIMP_YELLOW_HUES,
|
|
GIMP_GREEN_HUES,
|
|
GIMP_CYAN_HUES,
|
|
GIMP_BLUE_HUES,
|
|
GIMP_MAGENTA_HUES
|
|
} GimpHueRange;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2556576"></a><h3>
|
|
<a name="GimpLayerModeEffects"></a>enum GimpLayerModeEffects</h3>
|
|
<a class="indexterm" name="id2556587"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_NORMAL_MODE,
|
|
GIMP_DISSOLVE_MODE,
|
|
GIMP_BEHIND_MODE,
|
|
GIMP_MULTIPLY_MODE,
|
|
GIMP_SCREEN_MODE,
|
|
GIMP_OVERLAY_MODE,
|
|
GIMP_DIFFERENCE_MODE,
|
|
GIMP_ADDITION_MODE,
|
|
GIMP_SUBTRACT_MODE,
|
|
GIMP_DARKEN_ONLY_MODE,
|
|
GIMP_LIGHTEN_ONLY_MODE,
|
|
GIMP_HUE_MODE,
|
|
GIMP_SATURATION_MODE,
|
|
GIMP_COLOR_MODE,
|
|
GIMP_VALUE_MODE,
|
|
GIMP_DIVIDE_MODE,
|
|
GIMP_DODGE_MODE,
|
|
GIMP_BURN_MODE,
|
|
GIMP_HARDLIGHT_MODE,
|
|
GIMP_SOFTLIGHT_MODE,
|
|
GIMP_GRAIN_EXTRACT_MODE,
|
|
GIMP_GRAIN_MERGE_MODE,
|
|
GIMP_COLOR_ERASE_MODE
|
|
} GimpLayerModeEffects;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2556611"></a><h3>
|
|
<a name="GimpMaskApplyMode"></a>enum GimpMaskApplyMode</h3>
|
|
<a class="indexterm" name="id2556624"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_MASK_APPLY,
|
|
GIMP_MASK_DISCARD
|
|
} GimpMaskApplyMode;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2556640"></a><h3>
|
|
<a name="GimpMergeType"></a>enum GimpMergeType</h3>
|
|
<a class="indexterm" name="id2556653"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_EXPAND_AS_NECESSARY,
|
|
GIMP_CLIP_TO_IMAGE,
|
|
GIMP_CLIP_TO_BOTTOM_LAYER,
|
|
GIMP_FLATTEN_IMAGE
|
|
} GimpMergeType;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2556670"></a><h3>
|
|
<a name="GimpOffsetType"></a>enum GimpOffsetType</h3>
|
|
<a class="indexterm" name="id2556683"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_OFFSET_BACKGROUND,
|
|
GIMP_OFFSET_TRANSPARENT
|
|
} GimpOffsetType;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2556700"></a><h3>
|
|
<a name="GimpOrientationType"></a>enum GimpOrientationType</h3>
|
|
<a class="indexterm" name="id2556712"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_ORIENTATION_HORIZONTAL,
|
|
GIMP_ORIENTATION_VERTICAL,
|
|
GIMP_ORIENTATION_UNKNOWN
|
|
} GimpOrientationType;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2556730"></a><h3>
|
|
<a name="GimpRotationType"></a>enum GimpRotationType</h3>
|
|
<a class="indexterm" name="id2556742"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_ROTATE_90,
|
|
GIMP_ROTATE_180,
|
|
GIMP_ROTATE_270
|
|
} GimpRotationType;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2556759"></a><h3>
|
|
<a name="GimpSelectCriterion"></a>enum GimpSelectCriterion</h3>
|
|
<a class="indexterm" name="id2556771"></a><pre class="programlisting">typedef enum
|
|
{
|
|
GIMP_SELECT_CRITERION_COMPOSITE,
|
|
GIMP_SELECT_CRITERION_R,
|
|
GIMP_SELECT_CRITERION_G,
|
|
GIMP_SELECT_CRITERION_B,
|
|
GIMP_SELECT_CRITERION_H,
|
|
GIMP_SELECT_CRITERION_S,
|
|
GIMP_SELECT_CRITERION_V
|
|
} GimpSelectCriterion;
|
|
</pre>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<hr>
|
|
<div class="refsect2" lang="en">
|
|
<a name="id2556790"></a><h3>
|
|
<a name="gimp-enums-get-type-names"></a>gimp_enums_get_type_names ()</h3>
|
|
<a class="indexterm" name="id2556804"></a><pre class="programlisting">const gchar** gimp_enums_get_type_names (gint *n_type_names);</pre>
|
|
<p>
|
|
This function gives access to the list of enums registered by libgimp.
|
|
The returned array is static and must not be modified.</p>
|
|
<p>
|
|
|
|
</p>
|
|
<div class="variablelist"><table border="0">
|
|
<col align="left" valign="top">
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="term"><em class="parameter"><code>n_type_names</code></em> :</span></td>
|
|
<td> return location for the number of names
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
|
<td> an array with type names
|
|
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table></div>
|
|
<p class="since">Since GIMP 2.2
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|