File: libgimpthumb-gimpthumb-enums.html

package info (click to toggle)
gimp 2.2.6-1sarge4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 97,088 kB
  • ctags: 43,756
  • sloc: ansic: 525,782; xml: 36,543; lisp: 9,851; sh: 9,007; makefile: 7,974; python: 2,622; perl: 2,589; yacc: 520; lex: 334
file content (62 lines) | stat: -rw-r--r-- 6,703 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>gimpthumb-enums</title><meta name="generator" content="DocBook XSL Stylesheets V1.66.1"><link rel="start" href="index.html" title="GIMP Thumbnail Library Reference Manual"><link rel="up" href="libgimpthumb.html" title="PartI.GIMP Thumbnail Library"><link rel="prev" href="libgimpthumb-gimpthumb-utils.html" title="gimpthumb-utils"><link rel="next" href="libgimpthumb-gimpthumb-error.html" title="gimpthumb-error"><meta name="generator" content="GTK-Doc V1.3 (XML mode)"><link rel="stylesheet" href="style.css" type="text/css"><link rel="part" href="libgimpthumb.html" title="PartI.GIMP Thumbnail Library"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="libgimpthumb-gimpthumb-utils.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td><td><a accesskey="u" href="libgimpthumb.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 Thumbnail Library Reference Manual</th><td><a accesskey="n" href="libgimpthumb-gimpthumb-error.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr></table><div class="refentry" lang="en"><a name="libgimpthumb-gimpthumb-enums"></a><div class="titlepage"></div><div class="refnamediv"><table width="100%"><tr><td valign="top"><h2><span class="refentrytitle">gimpthumb-enums</span></h2><p>gimpthumb-enums &#8212; Enumerations used by libgimpthumb</p></td><td valign="top" align="right"></td></tr></table></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">



enum        <a href="libgimpthumb-gimpthumb-enums.html#GimpThumbFileType">GimpThumbFileType</a>;
enum        <a href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize">GimpThumbSize</a>;
enum        <a href="libgimpthumb-gimpthumb-enums.html#GimpThumbState">GimpThumbState</a>;

</pre></div><div class="refsect1" lang="en"><a name="id2557546"></a><h2>Description</h2><p>

</p></div><div class="refsect1" lang="en"><a name="id2563757"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id2564403"></a><h3><a name="GimpThumbFileType"></a>enum GimpThumbFileType</h3><a class="indexterm" name="id2549637"></a><pre class="programlisting">typedef enum
{
  GIMP_THUMB_FILE_TYPE_NONE,
  GIMP_THUMB_FILE_TYPE_REGULAR,
  GIMP_THUMB_FILE_TYPE_FOLDER,
  GIMP_THUMB_FILE_TYPE_SPECIAL
} GimpThumbFileType;
</pre><p>
File types as returned by <a href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-file-test"><tt class="function">gimp_thumb_file_test()</tt></a>.
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><tt class="literal">GIMP_THUMB_FILE_TYPE_NONE</tt></span></td><td>    file does not exist
</td></tr><tr><td><span class="term"><tt class="literal">GIMP_THUMB_FILE_TYPE_REGULAR</tt></span></td><td> a regular file
</td></tr><tr><td><span class="term"><tt class="literal">GIMP_THUMB_FILE_TYPE_FOLDER</tt></span></td><td>  a directory
</td></tr><tr><td><span class="term"><tt class="literal">GIMP_THUMB_FILE_TYPE_SPECIAL</tt></span></td><td> a special file (device node, fifo, socket, ...)

</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2539499"></a><h3><a name="GimpThumbSize"></a>enum GimpThumbSize</h3><a class="indexterm" name="id2539507"></a><pre class="programlisting">typedef enum
{
  GIMP_THUMB_SIZE_FAIL   = 0,
  GIMP_THUMB_SIZE_NORMAL = 128,
  GIMP_THUMB_SIZE_LARGE  = 256
} GimpThumbSize;
</pre><p>
Possible thumbnail sizes as defined by the Thumbnail Managaging Standard
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><tt class="literal">GIMP_THUMB_SIZE_FAIL</tt></span></td><td>   special size used to indicate a thumbnail
                          creation failure
</td></tr><tr><td><span class="term"><tt class="literal">GIMP_THUMB_SIZE_NORMAL</tt></span></td><td> normal thumbnail size (128 pixels)
</td></tr><tr><td><span class="term"><tt class="literal">GIMP_THUMB_SIZE_LARGE</tt></span></td><td>  large thumbnail size (256 pixels)

</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2526729"></a><h3><a name="GimpThumbState"></a>enum GimpThumbState</h3><a class="indexterm" name="id2526737"></a><pre class="programlisting">typedef enum
{
  GIMP_THUMB_STATE_UNKNOWN,
  GIMP_THUMB_STATE_REMOTE,
  GIMP_THUMB_STATE_FOLDER,
  GIMP_THUMB_STATE_SPECIAL,
  GIMP_THUMB_STATE_NOT_FOUND,
  GIMP_THUMB_STATE_EXISTS,
  GIMP_THUMB_STATE_OLD,
  GIMP_THUMB_STATE_FAILED,
  GIMP_THUMB_STATE_OK
} GimpThumbState;
</pre><p>
Possible image and thumbnail file states used by libgimpthumb.
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><tt class="literal">GIMP_THUMB_STATE_UNKNOWN</tt></span></td><td>   nothing is known about the file/thumbnail
</td></tr><tr><td><span class="term"><tt class="literal">GIMP_THUMB_STATE_REMOTE</tt></span></td><td>    the file is on a remote file system
</td></tr><tr><td><span class="term"><tt class="literal">GIMP_THUMB_STATE_FOLDER</tt></span></td><td>
</td></tr><tr><td><span class="term"><tt class="literal">GIMP_THUMB_STATE_SPECIAL</tt></span></td><td>
</td></tr><tr><td><span class="term"><tt class="literal">GIMP_THUMB_STATE_NOT_FOUND</tt></span></td><td> the file/thumbnail doesn't exist
</td></tr><tr><td><span class="term"><tt class="literal">GIMP_THUMB_STATE_EXISTS</tt></span></td><td>    the file/thumbnail exists
</td></tr><tr><td><span class="term"><tt class="literal">GIMP_THUMB_STATE_OLD</tt></span></td><td>       the thumbnail may be outdated
</td></tr><tr><td><span class="term"><tt class="literal">GIMP_THUMB_STATE_FAILED</tt></span></td><td>    the thumbnail couldn't be created
</td></tr><tr><td><span class="term"><tt class="literal">GIMP_THUMB_STATE_OK</tt></span></td><td>        the thumbnail exists and matches the image

</td></tr></tbody></table></div></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="libgimpthumb-gimpthumb-utils.html"><b>&lt;&lt;gimpthumb-utils</b></a></td><td align="right"><a accesskey="n" href="libgimpthumb-gimpthumb-error.html"><b>gimpthumb-error&gt;&gt;</b></a></td></tr></table></body></html>