Imported Upstream version 2.8.0

This commit is contained in:
Jordi Mallach
2012-05-05 12:33:49 +02:00
parent 3fcab19200
commit f03e90f6fe
4714 changed files with 1354362 additions and 818907 deletions

View File

@ -16,7 +16,7 @@ SCANGOBJ_OPTIONS =
SCAN_OPTIONS = --deprecated-guards="GIMP_DISABLE_DEPRECATED"
# Extra options to supply to gtkdoc-mkdb
MKDB_OPTIONS = --sgml-mode --output-format=xml
MKDB_OPTIONS = --sgml-mode --output-format=xml --name-space=gimp
# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS =

View File

@ -1,9 +1,9 @@
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# Makefile.in generated by automake 1.11.5 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
# Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@ -21,6 +21,23 @@
# Everything below here is generic #
####################################
VPATH = @srcdir@
am__make_dryrun = \
{ \
am__dry=no; \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
| grep '^AM OK$$' >/dev/null || am__dry=yes;; \
*) \
for am__flg in $$MAKEFLAGS; do \
case $$am__flg in \
*=*|--*) ;; \
*n*) am__dry=yes; break;; \
esac; \
done;; \
esac; \
test $$am__dry = yes; \
}
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
@ -44,20 +61,30 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
subdir = devel-docs/libgimpbase
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
$(top_srcdir)/m4macros/detectcflags.m4 \
$(top_srcdir)/m4macros/pythondev.m4 \
$(top_srcdir)/m4macros/gimpprint.m4 \
$(top_srcdir)/m4macros/alsa.m4 \
$(top_srcdir)/m4macros/gtk-doc.m4 \
$(top_srcdir)/m4macros/binreloc.m4 $(top_srcdir)/configure.in
$(top_srcdir)/m4macros/binreloc.m4 \
$(top_srcdir)/m4macros/detectcflags.m4 \
$(top_srcdir)/m4macros/gimpprint.m4 \
$(top_srcdir)/m4macros/pythondev.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES = version
CONFIG_CLEAN_VPATH_FILES =
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo " GEN " $@;
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
SOURCES =
DIST_SOURCES =
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
AA_LIBS = @AA_LIBS@
ACLOCAL = @ACLOCAL@
@ -67,8 +94,11 @@ ALSA_CFLAGS = @ALSA_CFLAGS@
ALSA_LIBS = @ALSA_LIBS@
ALTIVEC_EXTRA_CFLAGS = @ALTIVEC_EXTRA_CFLAGS@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AR = @AR@
AS = @AS@
ATK_CFLAGS = @ATK_CFLAGS@
ATK_LIBS = @ATK_LIBS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
@ -77,8 +107,12 @@ BABL_CFLAGS = @BABL_CFLAGS@
BABL_LIBS = @BABL_LIBS@
BINRELOC_CFLAGS = @BINRELOC_CFLAGS@
BINRELOC_LIBS = @BINRELOC_LIBS@
BZIP2_LIBS = @BZIP2_LIBS@
CAIRO_CFLAGS = @CAIRO_CFLAGS@
CAIRO_LIBS = @CAIRO_LIBS@
CAIRO_PDF_CFLAGS = @CAIRO_PDF_CFLAGS@
CAIRO_PDF_LIBS = @CAIRO_PDF_LIBS@
CAIRO_REQUIRED_VERSION = @CAIRO_REQUIRED_VERSION@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
@ -112,14 +146,18 @@ EXIF_CFLAGS = @EXIF_CFLAGS@
EXIF_LIBS = @EXIF_LIBS@
FGREP = @FGREP@
FILE_AA = @FILE_AA@
FILE_JP2_LOAD = @FILE_JP2_LOAD@
FILE_MNG = @FILE_MNG@
FILE_PDF = @FILE_PDF@
FILE_PDF_LOAD = @FILE_PDF_LOAD@
FILE_PDF_SAVE = @FILE_PDF_SAVE@
FILE_PNG = @FILE_PNG@
FILE_PS = @FILE_PS@
FILE_PSP = @FILE_PSP@
FILE_SVG = @FILE_SVG@
FILE_TIFF_LOAD = @FILE_TIFF_LOAD@
FILE_TIFF_SAVE = @FILE_TIFF_SAVE@
FILE_WMF = @FILE_WMF@
FILE_XMC = @FILE_XMC@
FILE_XPM = @FILE_XPM@
FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
@ -128,10 +166,10 @@ FREETYPE_LIBS = @FREETYPE_LIBS@
GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@
GDK_PIXBUF_CSOURCE = @GDK_PIXBUF_CSOURCE@
GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@
GDK_PIXBUF_REQUIRED_VERSION = @GDK_PIXBUF_REQUIRED_VERSION@
GEGL_CFLAGS = @GEGL_CFLAGS@
GEGL_LIBS = @GEGL_LIBS@
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
GIMPINSTALL = @GIMPINSTALL@
GIMP_API_VERSION = @GIMP_API_VERSION@
GIMP_APP_VERSION = @GIMP_APP_VERSION@
GIMP_BINARY_AGE = @GIMP_BINARY_AGE@
@ -148,8 +186,6 @@ GIMP_PKGCONFIG_VERSION = @GIMP_PKGCONFIG_VERSION@
GIMP_PLUGINS = @GIMP_PLUGINS@
GIMP_PLUGIN_VERSION = @GIMP_PLUGIN_VERSION@
GIMP_REAL_VERSION = @GIMP_REAL_VERSION@
GIMP_REMOTE = @GIMP_REMOTE@
GIMP_REMOTE_MANPAGE = @GIMP_REMOTE_MANPAGE@
GIMP_SYSCONF_VERSION = @GIMP_SYSCONF_VERSION@
GIMP_TOOL_VERSION = @GIMP_TOOL_VERSION@
GIMP_UNSTABLE = @GIMP_UNSTABLE@
@ -158,6 +194,7 @@ GIMP_VERSION = @GIMP_VERSION@
GIO_CFLAGS = @GIO_CFLAGS@
GIO_LIBS = @GIO_LIBS@
GLIB_CFLAGS = @GLIB_CFLAGS@
GLIB_COMPILE_RESOURCES = @GLIB_COMPILE_RESOURCES@
GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
GLIB_LIBS = @GLIB_LIBS@
GLIB_MKENUMS = @GLIB_MKENUMS@
@ -166,18 +203,19 @@ GMODULE_NO_EXPORT_CFLAGS = @GMODULE_NO_EXPORT_CFLAGS@
GMODULE_NO_EXPORT_LIBS = @GMODULE_NO_EXPORT_LIBS@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@
GNOME_VFS_LIBS = @GNOME_VFS_LIBS@
GOBJECT_QUERY = @GOBJECT_QUERY@
GREP = @GREP@
GS_LIBS = @GS_LIBS@
GTKDOC_CHECK = @GTKDOC_CHECK@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
GTKDOC_REBASE = @GTKDOC_REBASE@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_LIBS = @GTK_LIBS@
GTK_REQUIRED_VERSION = @GTK_REQUIRED_VERSION@
HAL_CFLAGS = @HAL_CFLAGS@
HAL_LIBS = @HAL_LIBS@
GUDEV_CFLAGS = @GUDEV_CFLAGS@
GUDEV_LIBS = @GUDEV_LIBS@
HAVE_FINITE = @HAVE_FINITE@
HAVE_ISFINITE = @HAVE_ISFINITE@
HTML_DIR = @HTML_DIR@
@ -192,8 +230,13 @@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
INTLTOOL_MERGE = @INTLTOOL_MERGE@
INTLTOOL_PERL = @INTLTOOL_PERL@
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@
INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@
INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@
INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@
ISO_CODES_LOCALEDIR = @ISO_CODES_LOCALEDIR@
ISO_CODES_LOCATION = @ISO_CODES_LOCATION@
JP2_LIBS = @JP2_LIBS@
JPEG_LIBS = @JPEG_LIBS@
LCMS = @LCMS@
LCMS_CFLAGS = @LCMS_CFLAGS@
@ -216,6 +259,7 @@ MIME_TYPES = @MIME_TYPES@
MKDIR_P = @MKDIR_P@
MKINSTALLDIRS = @MKINSTALLDIRS@
MMX_EXTRA_CFLAGS = @MMX_EXTRA_CFLAGS@
MNG_CFLAGS = @MNG_CFLAGS@
MNG_LIBS = @MNG_LIBS@
MSGFMT = @MSGFMT@
MSGFMT_OPTS = @MSGFMT_OPTS@
@ -233,8 +277,8 @@ PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PANGOFT2_CFLAGS = @PANGOFT2_CFLAGS@
PANGOFT2_LIBS = @PANGOFT2_LIBS@
PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@
PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@
PATHSEP = @PATHSEP@
PATH_SEPARATOR = @PATH_SEPARATOR@
PERL = @PERL@
@ -281,6 +325,7 @@ USE_NLS = @USE_NLS@
VERSION = @VERSION@
WEBKIT_CFLAGS = @WEBKIT_CFLAGS@
WEBKIT_LIBS = @WEBKIT_LIBS@
WEB_PAGE = @WEB_PAGE@
WIN32_LARGE_ADDRESS_AWARE = @WIN32_LARGE_ADDRESS_AWARE@
WINDRES = @WINDRES@
WMF_CFLAGS = @WMF_CFLAGS@
@ -289,11 +334,14 @@ WMF_LIBS = @WMF_LIBS@
XFIXES_CFLAGS = @XFIXES_CFLAGS@
XFIXES_LIBS = @XFIXES_LIBS@
XGETTEXT = @XGETTEXT@
XMC_CFLAGS = @XMC_CFLAGS@
XMC_LIBS = @XMC_LIBS@
XMKMF = @XMKMF@
XMLLINT = @XMLLINT@
XMU_LIBS = @XMU_LIBS@
XPM_LIBS = @XPM_LIBS@
XSLTPROC = @XSLTPROC@
XVFB_RUN = @XVFB_RUN@
X_CFLAGS = @X_CFLAGS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
X_LIBS = @X_LIBS@
@ -337,6 +385,8 @@ htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
intltool__v_merge_options_ = @intltool__v_merge_options_@
intltool__v_merge_options_0 = @intltool__v_merge_options_0@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
@ -378,7 +428,7 @@ SCANGOBJ_OPTIONS =
SCAN_OPTIONS = --deprecated-guards="GIMP_DISABLE_DEPRECATED"
# Extra options to supply to gtkdoc-mkdb
MKDB_OPTIONS = --sgml-mode --output-format=xml
MKDB_OPTIONS = --sgml-mode --output-format=xml --name-space=gimp
# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS =
@ -478,6 +528,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_srcdir)/gtk-doc.make:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
@ -549,10 +600,15 @@ install-am: all-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:

View File

@ -15,7 +15,7 @@
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GIMP Base Library Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">
for GIMP 2.6.12
for GIMP 2.8.0
</p></div>
</div>
@ -28,23 +28,26 @@
<span class="refentrytitle"><a href="libgimpbase-gimpbaseenums.html">gimpbaseenums</a></span><span class="refpurpose"> — Basic GIMP enumeration data types.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpbasetypes.html">gimpbasetypes</a></span><span class="refpurpose"> — Translation between gettext translation domain identifier and GType.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpbasetypes.html">gimpbasetypes</a></span><span class="refpurpose"> — Translation between gettext translation domain
identifier and GType.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpversion.html">gimpversion</a></span><span class="refpurpose"> — Macros and constants useful for determining GIMP's version number and
capabilities.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpversion.html">gimpversion</a></span><span class="refpurpose"> — Macros and constants useful for determining
GIMP's version number and capabilities.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimplimits.html">gimplimits</a></span><span class="refpurpose"> — Boundaries of some GIMP data types and some global constants.</span>
<span class="refentrytitle"><a href="libgimpbase-gimplimits.html">gimplimits</a></span><span class="refpurpose"> — Boundaries of some GIMP data types and some
global constants.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpparam.html">gimpparam</a></span><span class="refpurpose"> — Definitions of useful <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"><span class="type">GParamFlags</span></a>.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpparam.html">gimpparam</a></span><span class="refpurpose"> — Definitions of useful <span class="type">GParamFlags</span>.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpchecks.html">gimpchecks</a></span><span class="refpurpose"> — Constants and functions related to rendering checkerboards.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpchecks.html">gimpchecks</a></span><span class="refpurpose"> — Constants and functions related to rendering
checkerboards.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpcpuaccel.html">gimpcpuaccel</a></span><span class="refpurpose"></span>
<span class="refentrytitle"><a href="libgimpbase-gimpcpuaccel.html">gimpcpuaccel</a></span><span class="refpurpose"> — Functions to query and configure CPU acceleration.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpdatafiles.html">gimpdatafiles</a></span><span class="refpurpose"> — Functions to handle GIMP data files.</span>
@ -56,20 +59,22 @@ capabilities.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpmemsize.html">gimpmemsize</a></span><span class="refpurpose"> — Functions to (de)serialize a given memory size.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimprectangle.html">gimprectangle</a></span><span class="refpurpose"></span>
<span class="refentrytitle"><a href="libgimpbase-gimprectangle.html">gimprectangle</a></span><span class="refpurpose"> — Utility functions dealing with rectangle extents.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpparasite.html">gimpparasite</a></span><span class="refpurpose"> — Arbitrary pieces of data which can be attached to various GIMP objects.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpparasite.html">gimpparasite</a></span><span class="refpurpose"> — Arbitrary pieces of data which can be attached
to various GIMP objects.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpparasiteio.html">gimpparasiteio</a></span><span class="refpurpose"> — Utility functions to (de)serialize certain C structures to/from <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a>'s.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpparasiteio.html">gimpparasiteio</a></span><span class="refpurpose"> — Utility functions to (de)serialize certain C
structures to/from <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a>'s.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpsignal.html">gimpsignal</a></span><span class="refpurpose"> — Portable signal handling.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpunit.html">gimpunit</a></span><span class="refpurpose"> — Provides a collection of predefined units and functions for creating
user-defined units.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpunit.html">gimpunit</a></span><span class="refpurpose"> — Provides a collection of predefined units and
functions for creating user-defined units.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimputils.html">gimputils</a></span><span class="refpurpose"> — Utilities of general interest</span>
@ -79,6 +84,7 @@ user-defined units.</span>
<dt><span class="index"><a href="libgimpbase-index-new-in-2-2.html">Index of new symbols in GIMP 2.2</a></span></dt>
<dt><span class="index"><a href="libgimpbase-index-new-in-2-4.html">Index of new symbols in GIMP 2.4</a></span></dt>
<dt><span class="index"><a href="libgimpbase-index-new-in-2-6.html">Index of new symbols in GIMP 2.6</a></span></dt>
<dt><span class="index"><a href="libgimpbase-index-new-in-2-8.html">Index of new symbols in GIMP 2.8</a></span></dt>
<dt><span class="index"><a href="libgimpbase-index-deprecated.html">Index of deprecated symbols</a></span></dt>
</dl></div>
</div>

View File

@ -31,6 +31,7 @@
<ANCHOR id="GimpSizeType" href="libgimpbase/libgimpbase-gimpbaseenums.html#GimpSizeType">
<ANCHOR id="GimpStackTraceMode" href="libgimpbase/libgimpbase-gimpbaseenums.html#GimpStackTraceMode">
<ANCHOR id="GimpTextDirection" href="libgimpbase/libgimpbase-gimpbaseenums.html#GimpTextDirection">
<ANCHOR id="GimpTextHintStyle" href="libgimpbase/libgimpbase-gimpbaseenums.html#GimpTextHintStyle">
<ANCHOR id="GimpTextJustification" href="libgimpbase/libgimpbase-gimpbaseenums.html#GimpTextJustification">
<ANCHOR id="GimpTransferMode" href="libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransferMode">
<ANCHOR id="GimpTransformDirection" href="libgimpbase/libgimpbase-gimpbaseenums.html#GimpTransformDirection">
@ -45,6 +46,8 @@
<ANCHOR id="GimpFlagsDesc" href="libgimpbase/libgimpbase-gimpbasetypes.html#GimpFlagsDesc">
<ANCHOR id="gimp-type-set-translation-domain" href="libgimpbase/libgimpbase-gimpbasetypes.html#gimp-type-set-translation-domain">
<ANCHOR id="gimp-type-get-translation-domain" href="libgimpbase/libgimpbase-gimpbasetypes.html#gimp-type-get-translation-domain">
<ANCHOR id="gimp-type-set-translation-context" href="libgimpbase/libgimpbase-gimpbasetypes.html#gimp-type-set-translation-context">
<ANCHOR id="gimp-type-get-translation-context" href="libgimpbase/libgimpbase-gimpbasetypes.html#gimp-type-get-translation-context">
<ANCHOR id="gimp-enum-set-value-descriptions" href="libgimpbase/libgimpbase-gimpbasetypes.html#gimp-enum-set-value-descriptions">
<ANCHOR id="gimp-enum-get-value-descriptions" href="libgimpbase/libgimpbase-gimpbasetypes.html#gimp-enum-get-value-descriptions">
<ANCHOR id="gimp-flags-get-value-descriptions" href="libgimpbase/libgimpbase-gimpbasetypes.html#gimp-flags-get-value-descriptions">
@ -138,6 +141,7 @@
<ANCHOR id="libgimpbase-gimprectangle.description" href="libgimpbase/libgimpbase-gimprectangle.html#libgimpbase-gimprectangle.description">
<ANCHOR id="libgimpbase-gimprectangle.details" href="libgimpbase/libgimpbase-gimprectangle.html#libgimpbase-gimprectangle.details">
<ANCHOR id="gimp-rectangle-intersect" href="libgimpbase/libgimpbase-gimprectangle.html#gimp-rectangle-intersect">
<ANCHOR id="gimp-rectangle-union" href="libgimpbase/libgimpbase-gimprectangle.html#gimp-rectangle-union">
<ANCHOR id="libgimpbase-gimpparasite" href="libgimpbase/libgimpbase-gimpparasite.html">
<ANCHOR id="libgimpbase-gimpparasite.synopsis" href="libgimpbase/libgimpbase-gimpparasite.html#libgimpbase-gimpparasite.synopsis">
<ANCHOR id="libgimpbase-gimpparasite.description" href="libgimpbase/libgimpbase-gimpparasite.html#libgimpbase-gimpparasite.description">
@ -174,6 +178,7 @@
<ANCHOR id="libgimpbase-gimpparasiteio.description" href="libgimpbase/libgimpbase-gimpparasiteio.html#libgimpbase-gimpparasiteio.description">
<ANCHOR id="libgimpbase-gimpparasiteio.details" href="libgimpbase/libgimpbase-gimpparasiteio.html#libgimpbase-gimpparasiteio.details">
<ANCHOR id="GIMP-PIXPIPE-MAXDIM:CAPS" href="libgimpbase/libgimpbase-gimpparasiteio.html#GIMP-PIXPIPE-MAXDIM:CAPS">
<ANCHOR id="GimpPixPipeParams" href="libgimpbase/libgimpbase-gimpparasiteio.html#GimpPixPipeParams">
<ANCHOR id="gimp-pixpipe-params-init" href="libgimpbase/libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-init">
<ANCHOR id="gimp-pixpipe-params-parse" href="libgimpbase/libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-parse">
<ANCHOR id="gimp-pixpipe-params-build" href="libgimpbase/libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-build">
@ -202,6 +207,10 @@
<ANCHOR id="gimp-unit-get-abbreviation" href="libgimpbase/libgimpbase-gimpunit.html#gimp-unit-get-abbreviation">
<ANCHOR id="gimp-unit-get-singular" href="libgimpbase/libgimpbase-gimpunit.html#gimp-unit-get-singular">
<ANCHOR id="gimp-unit-get-plural" href="libgimpbase/libgimpbase-gimpunit.html#gimp-unit-get-plural">
<ANCHOR id="gimp-unit-format-string" href="libgimpbase/libgimpbase-gimpunit.html#gimp-unit-format-string">
<ANCHOR id="gimp-pixels-to-units" href="libgimpbase/libgimpbase-gimpunit.html#gimp-pixels-to-units">
<ANCHOR id="gimp-units-to-pixels" href="libgimpbase/libgimpbase-gimpunit.html#gimp-units-to-pixels">
<ANCHOR id="gimp-units-to-points" href="libgimpbase/libgimpbase-gimpunit.html#gimp-units-to-points">
<ANCHOR id="GIMP-TYPE-UNIT:CAPS" href="libgimpbase/libgimpbase-gimpunit.html#GIMP-TYPE-UNIT:CAPS">
<ANCHOR id="GIMP-TYPE-PARAM-UNIT:CAPS" href="libgimpbase/libgimpbase-gimpunit.html#GIMP-TYPE-PARAM-UNIT:CAPS">
<ANCHOR id="GIMP-IS-PARAM-SPEC-UNIT:CAPS" href="libgimpbase/libgimpbase-gimpunit.html#GIMP-IS-PARAM-SPEC-UNIT:CAPS">

View File

@ -66,6 +66,7 @@ enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpRun
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpSizeType" title="enum GimpSizeType">GimpSizeType</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpStackTraceMode" title="enum GimpStackTraceMode">GimpStackTraceMode</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpTextDirection" title="enum GimpTextDirection">GimpTextDirection</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpTextHintStyle" title="enum GimpTextHintStyle">GimpTextHintStyle</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpTextJustification" title="enum GimpTextJustification">GimpTextJustification</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpTransferMode" title="enum GimpTransferMode">GimpTransferMode</a>;
enum <a class="link" href="libgimpbase-gimpbaseenums.html#GimpTransformDirection" title="enum GimpTransformDirection">GimpTransformDirection</a>;
@ -225,7 +226,7 @@ Basic GIMP enumeration data types.
<div class="refsect2">
<a name="GimpGradientType"></a><h3>enum GimpGradientType</h3>
<pre class="programlisting">typedef enum {
GIMP_GRADIENT_LINEAR, /*&lt; desc="gradient|Linear" &gt;*/
GIMP_GRADIENT_LINEAR, /*&lt; desc="Linear" &gt;*/
GIMP_GRADIENT_BILINEAR, /*&lt; desc="Bi-linear" &gt;*/
GIMP_GRADIENT_RADIAL, /*&lt; desc="Radial" &gt;*/
GIMP_GRADIENT_SQUARE, /*&lt; desc="Square" &gt;*/
@ -298,10 +299,10 @@ Basic GIMP enumeration data types.
<div class="refsect2">
<a name="GimpInterpolationType"></a><h3>enum GimpInterpolationType</h3>
<pre class="programlisting">typedef enum {
GIMP_INTERPOLATION_NONE, /*&lt; desc="interpolation|None" &gt;*/
GIMP_INTERPOLATION_LINEAR, /*&lt; desc="interpolation|Linear" &gt;*/
GIMP_INTERPOLATION_CUBIC, /*&lt; desc="Cubic" &gt;*/
GIMP_INTERPOLATION_LANCZOS /*&lt; desc="Sinc (Lanczos3)" &gt;*/
GIMP_INTERPOLATION_NONE, /*&lt; desc="None" &gt;*/
GIMP_INTERPOLATION_LINEAR, /*&lt; desc="Linear" &gt;*/
GIMP_INTERPOLATION_CUBIC, /*&lt; desc="Cubic" &gt;*/
GIMP_INTERPOLATION_LANCZOS /*&lt; desc="Sinc (Lanczos3)" &gt;*/
} GimpInterpolationType;
</pre>
<p>
@ -345,7 +346,7 @@ Basic GIMP enumeration data types.
GIMP_PDB_FLOATARRAY,
GIMP_PDB_STRINGARRAY,
GIMP_PDB_COLOR,
GIMP_PDB_REGION,
GIMP_PDB_ITEM,
GIMP_PDB_DISPLAY,
GIMP_PDB_IMAGE,
GIMP_PDB_LAYER,
@ -360,7 +361,8 @@ Basic GIMP enumeration data types.
/* the following aliases are deprecated */
GIMP_PDB_PATH = GIMP_PDB_VECTORS, /*&lt; skip &gt;*/
GIMP_PDB_BOUNDARY = GIMP_PDB_COLORARRAY /*&lt; skip &gt;*/
GIMP_PDB_BOUNDARY = GIMP_PDB_COLORARRAY, /*&lt; skip &gt;*/
GIMP_PDB_REGION = GIMP_PDB_ITEM /*&lt; skip &gt;*/
} GimpPDBArgType;
</pre>
<p>
@ -479,6 +481,19 @@ Basic GIMP enumeration data types.
</div>
<hr>
<div class="refsect2">
<a name="GimpTextHintStyle"></a><h3>enum GimpTextHintStyle</h3>
<pre class="programlisting">typedef enum {
GIMP_TEXT_HINT_STYLE_NONE, /*&lt; desc="None" &gt;*/
GIMP_TEXT_HINT_STYLE_SLIGHT, /*&lt; desc="Slight" &gt;*/
GIMP_TEXT_HINT_STYLE_MEDIUM, /*&lt; desc="Medium" &gt;*/
GIMP_TEXT_HINT_STYLE_FULL /*&lt; desc="Full" &gt;*/
} GimpTextHintStyle;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GimpTextJustification"></a><h3>enum GimpTextJustification</h3>
<pre class="programlisting">typedef enum {
GIMP_TEXT_JUSTIFY_LEFT, /*&lt; desc="Left justified" &gt;*/

View File

@ -31,7 +31,8 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgimpbase-gimpbasetypes.top_of_page"></a>gimpbasetypes</span></h2>
<p>gimpbasetypes — Translation between gettext translation domain identifier and GType.</p>
<p>gimpbasetypes — Translation between gettext translation domain
identifier and GType.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
@ -39,21 +40,25 @@
<a name="libgimpbase-gimpbasetypes.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">struct <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc">GimpEnumDesc</a>;
struct <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc">GimpFlagsDesc</a>;
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-domain" title="gimp_type_set_translation_domain ()">gimp_type_set_translation_domain</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *domain</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-type-get-translation-domain" title="gimp_type_get_translation_domain ()">gimp_type_get_translation_domain</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-enum-set-value-descriptions" title="gimp_enum_set_value_descriptions ()">gimp_enum_set_value_descriptions</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> enum_type</code></em>,
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-domain" title="gimp_type_set_translation_domain ()">gimp_type_set_translation_domain</a> (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *domain</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-type-get-translation-domain" title="gimp_type_get_translation_domain ()">gimp_type_get_translation_domain</a> (<em class="parameter"><code><span class="type">GType</span> type</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-context" title="gimp_type_set_translation_context ()">gimp_type_set_translation_context</a> (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *context</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-type-get-translation-context" title="gimp_type_get_translation_context ()">gimp_type_get_translation_context</a> (<em class="parameter"><code><span class="type">GType</span> type</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-enum-set-value-descriptions" title="gimp_enum_set_value_descriptions ()">gimp_enum_set_value_descriptions</a> (<em class="parameter"><code><span class="type">GType</span> enum_type</code></em>,
<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc"><span class="type">GimpEnumDesc</span></a> *descriptions</code></em>);
const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc"><span class="returnvalue">GimpEnumDesc</span></a> * <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-enum-get-value-descriptions" title="gimp_enum_get_value_descriptions ()">gimp_enum_get_value_descriptions</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> enum_type</code></em>);
const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc"><span class="returnvalue">GimpFlagsDesc</span></a> * <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-flags-get-value-descriptions" title="gimp_flags_get_value_descriptions ()">gimp_flags_get_value_descriptions</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> flags_type</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-flags-set-value-descriptions" title="gimp_flags_set_value_descriptions ()">gimp_flags_set_value_descriptions</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> flags_type</code></em>,
const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc"><span class="returnvalue">GimpEnumDesc</span></a> * <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-enum-get-value-descriptions" title="gimp_enum_get_value_descriptions ()">gimp_enum_get_value_descriptions</a> (<em class="parameter"><code><span class="type">GType</span> enum_type</code></em>);
const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc"><span class="returnvalue">GimpFlagsDesc</span></a> * <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-flags-get-value-descriptions" title="gimp_flags_get_value_descriptions ()">gimp_flags_get_value_descriptions</a> (<em class="parameter"><code><span class="type">GType</span> flags_type</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-flags-set-value-descriptions" title="gimp_flags_set_value_descriptions ()">gimp_flags_set_value_descriptions</a> (<em class="parameter"><code><span class="type">GType</span> flags_type</code></em>,
<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a> *descriptions</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libgimpbase-gimpbasetypes.description"></a><h2>Description</h2>
<p>
Translation between gettext translation domain identifier and GType.
Translation between gettext translation domain identifier and
GType.
</p>
</div>
<div class="refsect1">
@ -67,7 +72,26 @@ Translation between gettext translation domain identifier and GType.
};
</pre>
<p>
This structure is used to register translatable descriptions and
help texts for enum values. See <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-enum-set-value-descriptions" title="gimp_enum_set_value_descriptions ()"><code class="function">gimp_enum_set_value_descriptions()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><span class="type">gint</span> <em class="structfield"><code><a name="GimpEnumDesc.value"></a>value</code></em>;</span></p></td>
<td>An enum value.</td>
</tr>
<tr>
<td><p><span class="term">const <span class="type">gchar</span> *<em class="structfield"><code><a name="GimpEnumDesc.value-desc"></a>value_desc</code></em>;</span></p></td>
<td>The value's description.</td>
</tr>
<tr>
<td><p><span class="term">const <span class="type">gchar</span> *<em class="structfield"><code><a name="GimpEnumDesc.value-help"></a>value_help</code></em>;</span></p></td>
<td>The value's help text.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
@ -79,17 +103,36 @@ Translation between gettext translation domain identifier and GType.
};
</pre>
<p>
This structure is used to register translatable descriptions and
help texts for flag values. See <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-flags-set-value-descriptions" title="gimp_flags_set_value_descriptions ()"><code class="function">gimp_flags_set_value_descriptions()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><span class="type">guint</span> <em class="structfield"><code><a name="GimpFlagsDesc.value"></a>value</code></em>;</span></p></td>
<td>A flag value.</td>
</tr>
<tr>
<td><p><span class="term">const <span class="type">gchar</span> *<em class="structfield"><code><a name="GimpFlagsDesc.value-desc"></a>value_desc</code></em>;</span></p></td>
<td>The value's description.</td>
</tr>
<tr>
<td><p><span class="term">const <span class="type">gchar</span> *<em class="structfield"><code><a name="GimpFlagsDesc.value-help"></a>value_help</code></em>;</span></p></td>
<td>The value's help text.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gimp-type-set-translation-domain"></a><h3>gimp_type_set_translation_domain ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_type_set_translation_domain (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *domain</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_type_set_translation_domain (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *domain</code></em>);</pre>
<p>
This function attaches a constant string as a gettext translation
domain identifier to a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a>. The only purpose of this function is
to use it when registering a <span class="type">GTypeEnum</span> with translatable value
domain identifier to a <span class="type">GType</span>. The only purpose of this function is
to use it when registering a <span class="type">G_TYPE_ENUM</span> with translatable value
names.
</p>
<div class="variablelist"><table border="0">
@ -97,12 +140,12 @@ names.
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a>
<td>a <span class="type">GType</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a constant string that identifies a translation domain or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
<td>a constant string that identifies a translation domain or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
@ -112,25 +155,25 @@ names.
<hr>
<div class="refsect2">
<a name="gimp-type-get-translation-domain"></a><h3>gimp_type_get_translation_domain ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_type_get_translation_domain (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_type_get_translation_domain (<em class="parameter"><code><span class="type">GType</span> type</code></em>);</pre>
<p>
Retrieves the gettext translation domain identifier that has been
previously set using <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-domain" title="gimp_type_set_translation_domain ()"><code class="function">gimp_type_set_translation_domain()</code></a>. You should
not need to use this function directly, use <a class="link" href="libgimpbase-gimputils.html#gimp-enum-get-value" title="gimp_enum_get_value ()"><code class="function">gimp_enum_get_value()</code></a>
or <code class="function">gimp_enum_value_get_name()</code> instead.
or <a class="link" href="libgimpbase-gimputils.html#gimp-enum-value-get-desc" title="gimp_enum_value_get_desc ()"><code class="function">gimp_enum_value_get_desc()</code></a> instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a>
<td>a <span class="type">GType</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the translation domain associated with <em class="parameter"><code>type</code></em>
or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if no domain was set</td>
or <code class="literal">NULL</code> if no domain was set</td>
</tr>
</tbody>
</table></div>
@ -138,8 +181,62 @@ or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><co
</div>
<hr>
<div class="refsect2">
<a name="gimp-type-set-translation-context"></a><h3>gimp_type_set_translation_context ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_type_set_translation_context (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *context</code></em>);</pre>
<p>
This function attaches a constant string as a translation context
to a <span class="type">GType</span>. The only purpose of this function is to use it when
registering a <span class="type">G_TYPE_ENUM</span> with translatable value names.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>a <span class="type">GType</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
<td>a constant string that identifies a translation context or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-type-get-translation-context"></a><h3>gimp_type_get_translation_context ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_type_get_translation_context (<em class="parameter"><code><span class="type">GType</span> type</code></em>);</pre>
<p>
Retrieves the translation context that has been previously set
using <a class="link" href="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-context" title="gimp_type_set_translation_context ()"><code class="function">gimp_type_set_translation_context()</code></a>. You should not need to
use this function directly, use <a class="link" href="libgimpbase-gimputils.html#gimp-enum-get-value" title="gimp_enum_get_value ()"><code class="function">gimp_enum_get_value()</code></a> or
<a class="link" href="libgimpbase-gimputils.html#gimp-enum-value-get-desc" title="gimp_enum_value_get_desc ()"><code class="function">gimp_enum_value_get_desc()</code></a> instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>a <span class="type">GType</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the translation context associated with <em class="parameter"><code>type</code></em>
or <code class="literal">NULL</code> if no context was set</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-enum-set-value-descriptions"></a><h3>gimp_enum_set_value_descriptions ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_enum_set_value_descriptions (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> enum_type</code></em>,
<pre class="programlisting"><span class="returnvalue">void</span> gimp_enum_set_value_descriptions (<em class="parameter"><code><span class="type">GType</span> enum_type</code></em>,
<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc"><span class="type">GimpEnumDesc</span></a> *descriptions</code></em>);</pre>
<p>
Sets the array of human readable and translatable descriptions
@ -150,12 +247,12 @@ and help texts for enum values.
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a>
<td>a <span class="type">GType</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>descriptions</code></em> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated constant static array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>
<td>a <code class="literal">NULL</code> terminated constant static array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>
</td>
</tr>
</tbody>
@ -165,7 +262,7 @@ and help texts for enum values.
<hr>
<div class="refsect2">
<a name="gimp-enum-get-value-descriptions"></a><h3>gimp_enum_get_value_descriptions ()</h3>
<pre class="programlisting">const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc"><span class="returnvalue">GimpEnumDesc</span></a> * gimp_enum_get_value_descriptions (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> enum_type</code></em>);</pre>
<pre class="programlisting">const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc"><span class="returnvalue">GimpEnumDesc</span></a> * gimp_enum_get_value_descriptions (<em class="parameter"><code><span class="type">GType</span> enum_type</code></em>);</pre>
<p>
Retreives the array of human readable and translatable descriptions
and help texts for enum values.
@ -175,12 +272,12 @@ and help texts for enum values.
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a>
<td>a <span class="type">GType</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated constant array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>
<td>a <code class="literal">NULL</code> terminated constant array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc"><span class="type">GimpEnumDesc</span></a>
</td>
</tr>
</tbody>
@ -190,7 +287,7 @@ and help texts for enum values.
<hr>
<div class="refsect2">
<a name="gimp-flags-get-value-descriptions"></a><h3>gimp_flags_get_value_descriptions ()</h3>
<pre class="programlisting">const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc"><span class="returnvalue">GimpFlagsDesc</span></a> * gimp_flags_get_value_descriptions (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> flags_type</code></em>);</pre>
<pre class="programlisting">const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc"><span class="returnvalue">GimpFlagsDesc</span></a> * gimp_flags_get_value_descriptions (<em class="parameter"><code><span class="type">GType</span> flags_type</code></em>);</pre>
<p>
Retreives the array of human readable and translatable descriptions
and help texts for flags values.
@ -200,12 +297,12 @@ and help texts for flags values.
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags_type</code></em> :</span></p></td>
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a>
<td>a <span class="type">GType</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated constant array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>
<td>a <code class="literal">NULL</code> terminated constant array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>
</td>
</tr>
</tbody>
@ -215,7 +312,7 @@ and help texts for flags values.
<hr>
<div class="refsect2">
<a name="gimp-flags-set-value-descriptions"></a><h3>gimp_flags_set_value_descriptions ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_flags_set_value_descriptions (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> flags_type</code></em>,
<pre class="programlisting"><span class="returnvalue">void</span> gimp_flags_set_value_descriptions (<em class="parameter"><code><span class="type">GType</span> flags_type</code></em>,
<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a> *descriptions</code></em>);</pre>
<p>
Sets the array of human readable and translatable descriptions
@ -226,12 +323,12 @@ and help texts for flags values.
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags_type</code></em> :</span></p></td>
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a>
<td>a <span class="type">GType</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>descriptions</code></em> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated constant static array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>
<td>a <code class="literal">NULL</code> terminated constant static array of <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a>
</td>
</tr>
</tbody>

View File

@ -31,7 +31,8 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgimpbase-gimpchecks.top_of_page"></a>gimpchecks</span></h2>
<p>gimpchecks — Constants and functions related to rendering checkerboards.</p>
<p>gimpchecks — Constants and functions related to rendering
checkerboards.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
@ -42,8 +43,8 @@
#define <a class="link" href="libgimpbase-gimpchecks.html#GIMP-CHECK-DARK:CAPS" title="GIMP_CHECK_DARK">GIMP_CHECK_DARK</a>
#define <a class="link" href="libgimpbase-gimpchecks.html#GIMP-CHECK-LIGHT:CAPS" title="GIMP_CHECK_LIGHT">GIMP_CHECK_LIGHT</a>
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpchecks.html#gimp-checks-get-shades" title="gimp_checks_get_shades ()">gimp_checks_get_shades</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpbaseenums.html#GimpCheckType" title="enum GimpCheckType"><span class="type">GimpCheckType</span></a> type</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *light</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *dark</code></em>);
<em class="parameter"><code><span class="type">guchar</span> *light</code></em>,
<em class="parameter"><code><span class="type">guchar</span> *dark</code></em>);
</pre>
</div>
<div class="refsect1">
@ -56,18 +57,18 @@ Constants and functions related to rendering checkerboards.
<a name="libgimpbase-gimpchecks.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GIMP-CHECK-SIZE:CAPS"></a><h3>GIMP_CHECK_SIZE</h3>
<pre class="programlisting">#define GIMP_CHECK_SIZE 8
<pre class="programlisting">#define GIMP_CHECK_SIZE 8
</pre>
<p>
The default checkerboard size in pixels. This is configurable in the
core but GIMP plug-ins can't access the user preference and should use
this constant instead.
The default checkerboard size in pixels. This is configurable in
the core but GIMP plug-ins can't access the user preference and
should use this constant instead.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CHECK-SIZE-SM:CAPS"></a><h3>GIMP_CHECK_SIZE_SM</h3>
<pre class="programlisting">#define GIMP_CHECK_SIZE_SM 4
<pre class="programlisting">#define GIMP_CHECK_SIZE_SM 4
</pre>
<p>
The default small checkerboard size in pixels.
@ -76,7 +77,7 @@ The default small checkerboard size in pixels.
<hr>
<div class="refsect2">
<a name="GIMP-CHECK-DARK:CAPS"></a><h3>GIMP_CHECK_DARK</h3>
<pre class="programlisting">#define GIMP_CHECK_DARK 0.4
<pre class="programlisting">#define GIMP_CHECK_DARK 0.4
</pre>
<p>
The dark gray value for the default checkerboard pattern.
@ -85,18 +86,18 @@ The dark gray value for the default checkerboard pattern.
<hr>
<div class="refsect2">
<a name="GIMP-CHECK-LIGHT:CAPS"></a><h3>GIMP_CHECK_LIGHT</h3>
<pre class="programlisting">#define GIMP_CHECK_LIGHT 0.6
<pre class="programlisting">#define GIMP_CHECK_LIGHT 0.6
</pre>
<p>
The light gray value for the default checkerboard pattern.
The dark light value for the default checkerboard pattern.
</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-checks-get-shades"></a><h3>gimp_checks_get_shades ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_checks_get_shades (<em class="parameter"><code><a class="link" href="libgimpbase-gimpbaseenums.html#GimpCheckType" title="enum GimpCheckType"><span class="type">GimpCheckType</span></a> type</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *light</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *dark</code></em>);</pre>
<em class="parameter"><code><span class="type">guchar</span> *light</code></em>,
<em class="parameter"><code><span class="type">guchar</span> *dark</code></em>);</pre>
<p>
Retrieves the actual shades of gray to use when drawing a
checkerboard for a certain <a class="link" href="libgimpbase-gimpbaseenums.html#GimpCheckType" title="enum GimpCheckType"><span class="type">GimpCheckType</span></a>.

View File

@ -31,7 +31,7 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgimpbase-gimpcpuaccel.top_of_page"></a>gimpcpuaccel</span></h2>
<p>gimpcpuaccel</p>
<p>gimpcpuaccel — Functions to query and configure CPU acceleration.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
@ -39,12 +39,13 @@
<a name="libgimpbase-gimpcpuaccel.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">enum <a class="link" href="libgimpbase-gimpcpuaccel.html#GimpCpuAccelFlags" title="enum GimpCpuAccelFlags">GimpCpuAccelFlags</a>;
<a class="link" href="libgimpbase-gimpcpuaccel.html#GimpCpuAccelFlags" title="enum GimpCpuAccelFlags"><span class="returnvalue">GimpCpuAccelFlags</span></a> <a class="link" href="libgimpbase-gimpcpuaccel.html#gimp-cpu-accel-get-support" title="gimp_cpu_accel_get_support ()">gimp_cpu_accel_get_support</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpcpuaccel.html#gimp-cpu-accel-set-use" title="gimp_cpu_accel_set_use ()">gimp_cpu_accel_set_use</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpcpuaccel.html#gimp-cpu-accel-set-use" title="gimp_cpu_accel_set_use ()">gimp_cpu_accel_set_use</a> (<em class="parameter"><code><span class="type">gboolean</span> use</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libgimpbase-gimpcpuaccel.description"></a><h2>Description</h2>
<p>
Functions to query and configure CPU acceleration.
</p>
</div>
<div class="refsect1">
@ -89,7 +90,7 @@ Query for CPU acceleration support.
<hr>
<div class="refsect2">
<a name="gimp-cpu-accel-set-use"></a><h3>gimp_cpu_accel_set_use ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_cpu_accel_set_use (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_cpu_accel_set_use (<em class="parameter"><code><span class="type">gboolean</span> use</code></em>);</pre>
<p>
This function is for internal use only.
</p>

View File

@ -39,13 +39,13 @@
<a name="libgimpbase-gimpdatafiles.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"> <a class="link" href="libgimpbase-gimpdatafiles.html#GimpDatafileData" title="GimpDatafileData">GimpDatafileData</a>;
<span class="returnvalue">void</span> (<a class="link" href="libgimpbase-gimpdatafiles.html#GimpDatafileLoaderFunc" title="GimpDatafileLoaderFunc ()">*GimpDatafileLoaderFunc</a>) (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpdatafiles.html#GimpDatafileData" title="GimpDatafileData"><span class="type">GimpDatafileData</span></a> *file_data</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimpbase-gimpdatafiles.html#gimp-datafiles-check-extension" title="gimp_datafiles_check_extension ()">gimp_datafiles_check_extension</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *extension</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpdatafiles.html#gimp-datafiles-read-directories" title="gimp_datafiles_read_directories ()">gimp_datafiles_read_directories</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path_str</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-File-Utilities.html#GFileTest"><span class="type">GFileTest</span></a> flags</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libgimpbase-gimpdatafiles.html#gimp-datafiles-check-extension" title="gimp_datafiles_check_extension ()">gimp_datafiles_check_extension</a> (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *extension</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpdatafiles.html#gimp-datafiles-read-directories" title="gimp_datafiles_read_directories ()">gimp_datafiles_read_directories</a> (<em class="parameter"><code>const <span class="type">gchar</span> *path_str</code></em>,
<em class="parameter"><code><span class="type">GFileTest</span> flags</code></em>,
<em class="parameter"><code><a class="link" href="libgimpbase-gimpdatafiles.html#GimpDatafileLoaderFunc" title="GimpDatafileLoaderFunc ()"><span class="type">GimpDatafileLoaderFunc</span></a> loader_func</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
</pre>
</div>
<div class="refsect1">
@ -69,31 +69,63 @@ Functions to handle GIMP data files.
} GimpDatafileData;
</pre>
<p>
This structure is passed to the <a class="link" href="libgimpbase-gimpdatafiles.html#GimpDatafileLoaderFunc" title="GimpDatafileLoaderFunc ()"><span class="type">GimpDatafileLoaderFunc</span></a> given to
<a class="link" href="libgimpbase-gimpdatafiles.html#gimp-datafiles-read-directories" title="gimp_datafiles_read_directories ()"><code class="function">gimp_datafiles_read_directories()</code></a> for each file encountered in the
data path.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term">const <span class="type">gchar</span> *<em class="structfield"><code><a name="GimpDatafileData.filename"></a>filename</code></em>;</span></p></td>
<td>the data file's full path.</td>
</tr>
<tr>
<td><p><span class="term">const <span class="type">gchar</span> *<em class="structfield"><code><a name="GimpDatafileData.dirname"></a>dirname</code></em>;</span></p></td>
<td>the folder the data file is is.</td>
</tr>
<tr>
<td><p><span class="term">const <span class="type">gchar</span> *<em class="structfield"><code><a name="GimpDatafileData.basename"></a>basename</code></em>;</span></p></td>
<td>the data file's basename.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">time_t</span> <em class="structfield"><code><a name="GimpDatafileData.atime"></a>atime</code></em>;</span></p></td>
<td>the last time the file was accessed for reading.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">time_t</span> <em class="structfield"><code><a name="GimpDatafileData.mtime"></a>mtime</code></em>;</span></p></td>
<td>the last time the file was modified.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">time_t</span> <em class="structfield"><code><a name="GimpDatafileData.ctime"></a>ctime</code></em>;</span></p></td>
<td>the time the file was created.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GimpDatafileLoaderFunc"></a><h3>GimpDatafileLoaderFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> (*GimpDatafileLoaderFunc) (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpdatafiles.html#GimpDatafileData" title="GimpDatafileData"><span class="type">GimpDatafileData</span></a> *file_data</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-datafiles-check-extension"></a><h3>gimp_datafiles_check_extension ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_datafiles_check_extension (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *extension</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_datafiles_check_extension (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *extension</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-datafiles-read-directories"></a><h3>gimp_datafiles_read_directories ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_datafiles_read_directories (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path_str</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-File-Utilities.html#GFileTest"><span class="type">GFileTest</span></a> flags</code></em>,
<pre class="programlisting"><span class="returnvalue">void</span> gimp_datafiles_read_directories (<em class="parameter"><code>const <span class="type">gchar</span> *path_str</code></em>,
<em class="parameter"><code><span class="type">GFileTest</span> flags</code></em>,
<em class="parameter"><code><a class="link" href="libgimpbase-gimpdatafiles.html#GimpDatafileLoaderFunc" title="GimpDatafileLoaderFunc ()"><span class="type">GimpDatafileLoaderFunc</span></a> loader_func</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>
</p>
</div>

View File

@ -37,46 +37,46 @@
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgimpbase-gimpenv.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"><span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpenv.html#gimp-env-init" title="gimp_env_init ()">gimp_env_init</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> plug_in</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpenv.html#gimp-directory" title="gimp_directory ()">gimp_directory</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpenv.html#gimp-data-directory" title="gimp_data_directory ()">gimp_data_directory</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpenv.html#gimp-locale-directory" title="gimp_locale_directory ()">gimp_locale_directory</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpenv.html#gimp-plug-in-directory" title="gimp_plug_in_directory ()">gimp_plug_in_directory</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpenv.html#gimp-sysconf-directory" title="gimp_sysconf_directory ()">gimp_sysconf_directory</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpenv.html#gimp-user-directory" title="gimp_user_directory ()">gimp_user_directory</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpbaseenums.html#GimpUserDirectory" title="enum GimpUserDirectory"><span class="type">GimpUserDirectory</span></a> type</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpenv.html#gimp-personal-rc-file" title="gimp_personal_rc_file ()">gimp_personal_rc_file</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *basename</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpenv.html#gimp-gtkrc" title="gimp_gtkrc ()">gimp_gtkrc</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="libgimpbase-gimpenv.html#gimp-path-parse" title="gimp_path_parse ()">gimp_path_parse</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_paths</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> check</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> **check_failed</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpenv.html#gimp-path-to-str" title="gimp_path_to_str ()">gimp_path_to_str</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *path</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpenv.html#gimp-path-free" title="gimp_path_free ()">gimp_path_free</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *path</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpenv.html#gimp-path-get-user-writable-dir" title="gimp_path_get_user_writable_dir ()">gimp_path_get_user_writable_dir</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *path</code></em>);
<pre class="synopsis"><span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpenv.html#gimp-env-init" title="gimp_env_init ()">gimp_env_init</a> (<em class="parameter"><code><span class="type">gboolean</span> plug_in</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpenv.html#gimp-directory" title="gimp_directory ()">gimp_directory</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpenv.html#gimp-data-directory" title="gimp_data_directory ()">gimp_data_directory</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpenv.html#gimp-locale-directory" title="gimp_locale_directory ()">gimp_locale_directory</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpenv.html#gimp-plug-in-directory" title="gimp_plug_in_directory ()">gimp_plug_in_directory</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpenv.html#gimp-sysconf-directory" title="gimp_sysconf_directory ()">gimp_sysconf_directory</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpenv.html#gimp-user-directory" title="gimp_user_directory ()">gimp_user_directory</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpbaseenums.html#GimpUserDirectory" title="enum GimpUserDirectory"><span class="type">GimpUserDirectory</span></a> type</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpenv.html#gimp-personal-rc-file" title="gimp_personal_rc_file ()">gimp_personal_rc_file</a> (<em class="parameter"><code>const <span class="type">gchar</span> *basename</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpenv.html#gimp-gtkrc" title="gimp_gtkrc ()">gimp_gtkrc</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">GList</span> * <a class="link" href="libgimpbase-gimpenv.html#gimp-path-parse" title="gimp_path_parse ()">gimp_path_parse</a> (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
<em class="parameter"><code><span class="type">gint</span> max_paths</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> check</code></em>,
<em class="parameter"><code><span class="type">GList</span> **check_failed</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpenv.html#gimp-path-to-str" title="gimp_path_to_str ()">gimp_path_to_str</a> (<em class="parameter"><code><span class="type">GList</span> *path</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpenv.html#gimp-path-free" title="gimp_path_free ()">gimp_path_free</a> (<em class="parameter"><code><span class="type">GList</span> *path</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpenv.html#gimp-path-get-user-writable-dir" title="gimp_path_get_user_writable_dir ()">gimp_path_get_user_writable_dir</a> (<em class="parameter"><code><span class="type">GList</span> *path</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libgimpbase-gimpenv.description"></a><h2>Description</h2>
<p>
A set of functions to find the locations of GIMP's data directories and
configuration files.
A set of functions to find the locations of GIMP's data directories
and configuration files.
</p>
</div>
<div class="refsect1">
<a name="libgimpbase-gimpenv.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="gimp-env-init"></a><h3>gimp_env_init ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_env_init (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> plug_in</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_env_init (<em class="parameter"><code><span class="type">gboolean</span> plug_in</code></em>);</pre>
<p>
You don't need to care about this function. It is being called for
you automatically (by means of the <a href="/usr/share/gtk-doc/html/libgimp/libgimp-gimp.html#MAIN:CAPS"><code class="function">MAIN()</code></a> macro that every plug-in
you automatically (by means of the <a href="/local/head/share/gtk-doc/html/libgimp/libgimp-Gimp.html#MAIN:CAPS"><code class="function">MAIN()</code></a> macro that every plug-in
runs). Calling it again will cause a fatal error.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>plug_in</code></em> :</span></p></td>
<td>must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if this function is called from a plug-in</td>
<td>must be <code class="literal">TRUE</code> if this function is called from a plug-in</td>
</tr></tbody>
</table></div>
<p class="since">Since GIMP 2.4</p>
@ -84,7 +84,7 @@ runs). Calling it again will cause a fatal error.
<hr>
<div class="refsect2">
<a name="gimp-directory"></a><h3>gimp_directory ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_directory (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_directory (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Returns the user-specific GIMP settings directory. If the
environment variable GIMP2_DIRECTORY exists, it is used. If it is
@ -118,7 +118,7 @@ UTF-8.)
<hr>
<div class="refsect2">
<a name="gimp-data-directory"></a><h3>gimp_data_directory ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_data_directory (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_data_directory (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Returns the top directory for GIMP data. If the environment
variable GIMP2_DATADIR exists, that is used. It should be an
@ -143,7 +143,7 @@ UTF-8.)
<hr>
<div class="refsect2">
<a name="gimp-locale-directory"></a><h3>gimp_locale_directory ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_locale_directory (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_locale_directory (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Returns the top directory for GIMP locale files. If the environment
variable GIMP2_LOCALEDIR exists, that is used. It should be an
@ -171,7 +171,7 @@ does not handle UTF-8.)
<hr>
<div class="refsect2">
<a name="gimp-plug-in-directory"></a><h3>gimp_plug_in_directory ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_plug_in_directory (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_plug_in_directory (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Returns the top directory for GIMP plug_ins and modules. If the
environment variable GIMP2_PLUGINDIR exists, that is used. It
@ -196,7 +196,7 @@ UTF-8.)
<hr>
<div class="refsect2">
<a name="gimp-sysconf-directory"></a><h3>gimp_sysconf_directory ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_sysconf_directory (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_sysconf_directory (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Returns the top directory for GIMP config files. If the environment
variable GIMP2_SYSCONFDIR exists, that is used. It should be an
@ -221,13 +221,13 @@ UTF-8.).
<hr>
<div class="refsect2">
<a name="gimp-user-directory"></a><h3>gimp_user_directory ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_user_directory (<em class="parameter"><code><a class="link" href="libgimpbase-gimpbaseenums.html#GimpUserDirectory" title="enum GimpUserDirectory"><span class="type">GimpUserDirectory</span></a> type</code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_user_directory (<em class="parameter"><code><a class="link" href="libgimpbase-gimpbaseenums.html#GimpUserDirectory" title="enum GimpUserDirectory"><span class="type">GimpUserDirectory</span></a> type</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_user_directory</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This procedure is deprecated! Use <a href="http://library.gnome.org/devel/glib/unstable/glib-Miscellaneous-Utility-Functions.html#g-get-user-special-dir"><code class="function">g_get_user_special_dir()</code></a> instead.
This procedure is deprecated! Use <code class="function">g_get_user_special_dir()</code> instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -238,7 +238,7 @@ This procedure is deprecated! Use <a href="http://library.gnome.org/devel/glib/u
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The path to the specified user directory, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if the
<td>The path to the specified user directory, or <code class="literal">NULL</code> if the
logical ID was not found.</td>
</tr>
</tbody>
@ -248,13 +248,13 @@ logical ID was not found.</td>
<hr>
<div class="refsect2">
<a name="gimp-personal-rc-file"></a><h3>gimp_personal_rc_file ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_personal_rc_file (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *basename</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gchar</span> * gimp_personal_rc_file (<em class="parameter"><code>const <span class="type">gchar</span> *basename</code></em>);</pre>
<p>
Returns the name of a file in the user-specific GIMP settings directory.
</p>
<p>
The returned string is allocated dynamically and *SHOULD* be freed
with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> after use. The returned string is in the encoding
with <code class="function">g_free()</code> after use. The returned string is in the encoding
used for filenames by GLib, which isn't necessarily
UTF-8. (On Windows it always is UTF-8.)
</p>
@ -275,7 +275,7 @@ UTF-8. (On Windows it always is UTF-8.)
<hr>
<div class="refsect2">
<a name="gimp-gtkrc"></a><h3>gimp_gtkrc ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_gtkrc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_gtkrc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Returns the name of GIMP's application-specific gtkrc file.
</p>
@ -296,16 +296,16 @@ UTF-8.)
<hr>
<div class="refsect2">
<a name="gimp-path-parse"></a><h3>gimp_path_parse ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gimp_path_parse (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_paths</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> check</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> **check_failed</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">GList</span> * gimp_path_parse (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
<em class="parameter"><code><span class="type">gint</span> max_paths</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> check</code></em>,
<em class="parameter"><code><span class="type">GList</span> **check_failed</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>A list of directories separated by <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"><span class="type">G_SEARCHPATH_SEPARATOR</span></a>.</td>
<td>A list of directories separated by <span class="type">G_SEARCHPATH_SEPARATOR</span>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max_paths</code></em> :</span></p></td>
@ -314,16 +314,16 @@ UTF-8.)
<tr>
<td><p><span class="term"><em class="parameter"><code>check</code></em> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want the directories to be checked.</td>
<code class="literal">TRUE</code> if you want the directories to be checked.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>check_failed</code></em> :</span></p></td>
<td>Returns a <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of path elements for which the
<td>Returns a <span class="type">GList</span> of path elements for which the
check failed.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of all directories in <em class="parameter"><code>path</code></em>.</td>
<td>A <span class="type">GList</span> of all directories in <em class="parameter"><code>path</code></em>.</td>
</tr>
</tbody>
</table></div>
@ -331,7 +331,7 @@ check failed.</td>
<hr>
<div class="refsect2">
<a name="gimp-path-to-str"></a><h3>gimp_path_to_str ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_path_to_str (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *path</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gchar</span> * gimp_path_to_str (<em class="parameter"><code><span class="type">GList</span> *path</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
@ -341,7 +341,7 @@ check failed.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A searchpath string separated by <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"><span class="type">G_SEARCHPATH_SEPARATOR</span></a>.</td>
<td>A searchpath string separated by <span class="type">G_SEARCHPATH_SEPARATOR</span>.</td>
</tr>
</tbody>
</table></div>
@ -349,7 +349,7 @@ check failed.</td>
<hr>
<div class="refsect2">
<a name="gimp-path-free"></a><h3>gimp_path_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_path_free (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *path</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_path_free (<em class="parameter"><code><span class="type">GList</span> *path</code></em>);</pre>
<p>
This function frees the memory allocated for the list and the strings
it contains.
@ -365,9 +365,9 @@ it contains.
<hr>
<div class="refsect2">
<a name="gimp-path-get-user-writable-dir"></a><h3>gimp_path_get_user_writable_dir ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_path_get_user_writable_dir (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *path</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gchar</span> * gimp_path_get_user_writable_dir (<em class="parameter"><code><span class="type">GList</span> *path</code></em>);</pre>
<p>
Note that you have to <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> the returned string.
Note that you have to <code class="function">g_free()</code> the returned string.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">

View File

@ -31,7 +31,8 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgimpbase-gimplimits.top_of_page"></a>gimplimits</span></h2>
<p>gimplimits — Boundaries of some GIMP data types and some global constants.</p>
<p>gimplimits — Boundaries of some GIMP data types and some
global constants.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
@ -67,8 +68,9 @@ The minimum width and height of a GIMP image in pixels.
</pre>
<p>
The maximum width and height of a GIMP image in pixels. This is a
somewhat arbitray value that can be used when an upper value for pixel
sizes is needed; for example to give a spin button an upper limit.
somewhat arbitray value that can be used when an upper value for
pixel sizes is needed; for example to give a spin button an upper
limit.
</p>
</div>
<hr>
@ -77,8 +79,8 @@ sizes is needed; for example to give a spin button an upper limit.
<pre class="programlisting">#define GIMP_MIN_RESOLUTION 5e-3 /* shouldn't display as 0.000 */
</pre>
<p>
The minimum resolution of a GIMP image in pixels per inch. This is a
somewhat arbitray value that can be used to when a lower value for a
The minimum resolution of a GIMP image in pixels per inch. This is
a somewhat arbitray value that can be used when a lower value for a
resolution is needed. GIMP will not accept resolutions smaller than
this value.
</p>
@ -89,10 +91,10 @@ this value.
<pre class="programlisting">#define GIMP_MAX_RESOLUTION 65536.0
</pre>
<p>
The maximum resolution of a GIMP image in pixels per inch. This is a
somewhat arbitray value that can be used to when an upper value for a
resolution is needed. GIMP will not accept resolutions larger than
this value.
The maximum resolution of a GIMP image in pixels per inch. This is
a somewhat arbitray value that can be used to when an upper value
for a resolution is needed. GIMP will not accept resolutions larger
than this value.
</p>
</div>
<hr>
@ -101,9 +103,10 @@ this value.
<pre class="programlisting">#define GIMP_MAX_MEMSIZE ((guint64) 1 &lt;&lt; 42) /* 4 terabyte;
</pre>
<p>
A large but arbitrary value that can be used when an upper limit for a
memory size (in bytes) is needed. It is smaller than <a href="http://library.gnome.org/devel/glib/unstable/glib-Limits-of-Basic-Types.html#G-MAXDOUBLE:CAPS"><code class="literal">G_MAXDOUBLE</code></a> since
the <a href="/usr/share/gtk-doc/html/libgimpwidgets/GimpMemsizeEntry.html"><span class="type">GimpMemsizeEntry</span></a> doesn't handle larger values.
A large but arbitrary value that can be used when an upper limit
for a memory size (in bytes) is needed. It is smaller than
<code class="literal">G_MAXDOUBLE</code> since the <a href="/local/head/share/gtk-doc/html/libgimpwidgets/GimpMemsizeEntry.html"><span class="type">GimpMemsizeEntry</span></a> doesn't handle larger
values.
</p>
</div>
</div>

View File

@ -37,20 +37,20 @@
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgimpbase-gimpmemsize.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpmemsize.html#gimp-memsize-serialize" title="gimp_memsize_serialize ()">gimp_memsize_serialize</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> memsize</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimpbase-gimpmemsize.html#gimp-memsize-deserialize" title="gimp_memsize_deserialize ()">gimp_memsize_deserialize</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> *memsize</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpmemsize.html#gimp-memsize-to-string" title="gimp_memsize_to_string ()">gimp_memsize_to_string</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> memsize</code></em>);
<pre class="synopsis"><span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpmemsize.html#gimp-memsize-serialize" title="gimp_memsize_serialize ()">gimp_memsize_serialize</a> (<em class="parameter"><code><span class="type">guint64</span> memsize</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libgimpbase-gimpmemsize.html#gimp-memsize-deserialize" title="gimp_memsize_deserialize ()">gimp_memsize_deserialize</a> (<em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>,
<em class="parameter"><code><span class="type">guint64</span> *memsize</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpmemsize.html#gimp-memsize-to-string" title="gimp_memsize_to_string ()">gimp_memsize_to_string</a> (<em class="parameter"><code><span class="type">guint64</span> memsize</code></em>);
#define <a class="link" href="libgimpbase-gimpmemsize.html#GIMP-TYPE-MEMSIZE:CAPS" title="GIMP_TYPE_MEMSIZE">GIMP_TYPE_MEMSIZE</a>
#define <a class="link" href="libgimpbase-gimpmemsize.html#GIMP-TYPE-PARAM-MEMSIZE:CAPS" title="GIMP_TYPE_PARAM_MEMSIZE">GIMP_TYPE_PARAM_MEMSIZE</a>
#define <a class="link" href="libgimpbase-gimpmemsize.html#GIMP-IS-PARAM-SPEC-MEMSIZE:CAPS" title="GIMP_IS_PARAM_SPEC_MEMSIZE()">GIMP_IS_PARAM_SPEC_MEMSIZE</a> (pspec)
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="libgimpbase-gimpmemsize.html#gimp-param-spec-memsize" title="gimp_param_spec_memsize ()">gimp_param_spec_memsize</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> minimum</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> maximum</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> default_value</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);
<span class="returnvalue">GParamSpec</span> * <a class="link" href="libgimpbase-gimpmemsize.html#gimp-param-spec-memsize" title="gimp_param_spec_memsize ()">gimp_param_spec_memsize</a> (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>,
<em class="parameter"><code><span class="type">guint64</span> minimum</code></em>,
<em class="parameter"><code><span class="type">guint64</span> maximum</code></em>,
<em class="parameter"><code><span class="type">guint64</span> default_value</code></em>,
<em class="parameter"><code><span class="type">GParamFlags</span> flags</code></em>);
#define <a class="link" href="libgimpbase-gimpmemsize.html#GIMP-VALUE-HOLDS-MEMSIZE:CAPS" title="GIMP_VALUE_HOLDS_MEMSIZE()">GIMP_VALUE_HOLDS_MEMSIZE</a> (value)
</pre>
</div>
@ -64,12 +64,12 @@ Functions to (de)serialize a given memory size.
<a name="libgimpbase-gimpmemsize.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="gimp-memsize-serialize"></a><h3>gimp_memsize_serialize ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_memsize_serialize (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> memsize</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gchar</span> * gimp_memsize_serialize (<em class="parameter"><code><span class="type">guint64</span> memsize</code></em>);</pre>
<p>
Creates a string representation of a given memory size. This string
can be parsed by <a class="link" href="libgimpbase-gimpmemsize.html#gimp-memsize-deserialize" title="gimp_memsize_deserialize ()"><code class="function">gimp_memsize_deserialize()</code></a> and can thus be used in
config files. It should not be displayed to the user. If you need a
nice human-readable string please use <a href="http://library.gnome.org/devel/glib/unstable/glib-Miscellaneous-Utility-Functions.html#g-format-size-for-display"><code class="function">g_format_size_for_display()</code></a>.
nice human-readable string please use <code class="function">g_format_size()</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -89,8 +89,8 @@ nice human-readable string please use <a href="http://library.gnome.org/devel/gl
<hr>
<div class="refsect2">
<a name="gimp-memsize-deserialize"></a><h3>gimp_memsize_deserialize ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_memsize_deserialize (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> *memsize</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_memsize_deserialize (<em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>,
<em class="parameter"><code><span class="type">guint64</span> *memsize</code></em>);</pre>
<p>
Parses a string representation of a memory size as returned by
<a class="link" href="libgimpbase-gimpmemsize.html#gimp-memsize-serialize" title="gimp_memsize_serialize ()"><code class="function">gimp_memsize_serialize()</code></a>.
@ -110,8 +110,8 @@ Parses a string representation of a memory size as returned by
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>string</code></em> was successfully parsed and
<em class="parameter"><code>memsize</code></em> has been set, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
<code class="literal">TRUE</code> if the <em class="parameter"><code>string</code></em> was successfully parsed and
<em class="parameter"><code>memsize</code></em> has been set, <code class="literal">FALSE</code> otherwise.</td>
</tr>
</tbody>
</table></div>
@ -120,13 +120,13 @@ Parses a string representation of a memory size as returned by
<hr>
<div class="refsect2">
<a name="gimp-memsize-to-string"></a><h3>gimp_memsize_to_string ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_memsize_to_string (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> memsize</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gchar</span> * gimp_memsize_to_string (<em class="parameter"><code><span class="type">guint64</span> memsize</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_memsize_to_string</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This function is deprecated! Use <a href="http://library.gnome.org/devel/glib/unstable/glib-Miscellaneous-Utility-Functions.html#g-format-size-for-display"><code class="function">g_format_size_for_display()</code></a> instead.
This function is deprecated! Use <code class="function">g_format_size()</code> instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -148,7 +148,7 @@ This function is deprecated! Use <a href="http://library.gnome.org/devel/glib/un
<pre class="programlisting">#define GIMP_TYPE_MEMSIZE (gimp_memsize_get_type ())
</pre>
<p>
<a class="link" href="libgimpbase-gimpmemsize.html#GIMP-TYPE-MEMSIZE:CAPS" title="GIMP_TYPE_MEMSIZE"><span class="type">GIMP_TYPE_MEMSIZE</span></a> is a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> derived from <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-UINT64:CAPS"><span class="type">G_TYPE_UINT64</span></a>.
<a class="link" href="libgimpbase-gimpmemsize.html#GIMP-TYPE-MEMSIZE:CAPS" title="GIMP_TYPE_MEMSIZE"><span class="type">GIMP_TYPE_MEMSIZE</span></a> is a <span class="type">GType</span> derived from <span class="type">G_TYPE_UINT64</span>.
</p>
</div>
<hr>
@ -170,16 +170,16 @@ This function is deprecated! Use <a href="http://library.gnome.org/devel/glib/un
<hr>
<div class="refsect2">
<a name="gimp-param-spec-memsize"></a><h3>gimp_param_spec_memsize ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> * gimp_param_spec_memsize (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> minimum</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> maximum</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> default_value</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">GParamSpec</span> * gimp_param_spec_memsize (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>,
<em class="parameter"><code><span class="type">guint64</span> minimum</code></em>,
<em class="parameter"><code><span class="type">guint64</span> maximum</code></em>,
<em class="parameter"><code><span class="type">guint64</span> default_value</code></em>,
<em class="parameter"><code><span class="type">GParamFlags</span> flags</code></em>);</pre>
<p>
Creates a param spec to hold a memory size value.
See <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for more information.
See <code class="function">g_param_spec_internal()</code> for more information.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -210,12 +210,12 @@ See <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
<td>a combination of <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"><span class="type">GParamFlags</span></a>
<td>a combination of <span class="type">GParamFlags</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly allocated <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance</td>
<td>a newly allocated <span class="type">GParamSpec</span> instance</td>
</tr>
</tbody>
</table></div>

View File

@ -31,7 +31,7 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgimpbase-gimpparam.top_of_page"></a>gimpparam</span></h2>
<p>gimpparam — Definitions of useful <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"><span class="type">GParamFlags</span></a>.</p>
<p>gimpparam — Definitions of useful <span class="type">GParamFlags</span>.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
@ -46,6 +46,7 @@
<div class="refsect1">
<a name="libgimpbase-gimpparam.description"></a><h2>Description</h2>
<p>
Definitions of useful <span class="type">GParamFlags</span>.
</p>
</div>
<div class="refsect1">
@ -53,33 +54,25 @@
<div class="refsect2">
<a name="GIMP-PARAM-STATIC-STRINGS:CAPS"></a><h3>GIMP_PARAM_STATIC_STRINGS</h3>
<pre class="programlisting">#define GIMP_PARAM_STATIC_STRINGS</pre>
<p>
Since: GIMP 2.4
</p>
<p class="since">Since GIMP 2.4</p>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-PARAM-READABLE:CAPS"></a><h3>GIMP_PARAM_READABLE</h3>
<pre class="programlisting">#define GIMP_PARAM_READABLE</pre>
<p>
Since: GIMP 2.4
</p>
<p class="since">Since GIMP 2.4</p>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-PARAM-WRITABLE:CAPS"></a><h3>GIMP_PARAM_WRITABLE</h3>
<pre class="programlisting">#define GIMP_PARAM_WRITABLE</pre>
<p>
Since: GIMP 2.4
</p>
<p class="since">Since GIMP 2.4</p>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-PARAM-READWRITE:CAPS"></a><h3>GIMP_PARAM_READWRITE</h3>
<pre class="programlisting">#define GIMP_PARAM_READWRITE</pre>
<p>
Since: GIMP 2.4
</p>
<p class="since">Since GIMP 2.4</p>
</div>
</div>
</div>

View File

@ -31,31 +31,32 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgimpbase-gimpparasite.top_of_page"></a>gimpparasite</span></h2>
<p>gimpparasite — Arbitrary pieces of data which can be attached to various GIMP objects.</p>
<p>gimpparasite — Arbitrary pieces of data which can be attached
to various GIMP objects.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgimpbase-gimpparasite.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"> <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite">GimpParasite</a>;
<a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="returnvalue">GimpParasite</span></a> * <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-new" title="gimp_parasite_new ()">gimp_parasite_new</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> flags</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> size</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);
<a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="returnvalue">GimpParasite</span></a> * <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-new" title="gimp_parasite_new ()">gimp_parasite_new</a> (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code><span class="type">guint32</span> flags</code></em>,
<em class="parameter"><code><span class="type">guint32</span> size</code></em>,
<em class="parameter"><code><span class="type">gconstpointer</span> data</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-free" title="gimp_parasite_free ()">gimp_parasite_free</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);
<a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="returnvalue">GimpParasite</span></a> * <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-copy" title="gimp_parasite_copy ()">gimp_parasite_copy</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-compare" title="gimp_parasite_compare ()">gimp_parasite_compare</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *a</code></em>,
<span class="returnvalue">gboolean</span> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-compare" title="gimp_parasite_compare ()">gimp_parasite_compare</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *a</code></em>,
<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *b</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-is-type" title="gimp_parasite_is_type ()">gimp_parasite_is_type</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-is-persistent" title="gimp_parasite_is_persistent ()">gimp_parasite_is_persistent</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-is-undoable" title="gimp_parasite_is_undoable ()">gimp_parasite_is_undoable</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-has-flag" title="gimp_parasite_has_flag ()">gimp_parasite_has_flag</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> flag</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-flags" title="gimp_parasite_flags ()">gimp_parasite_flags</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-name" title="gimp_parasite_name ()">gimp_parasite_name</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="returnvalue">gconstpointer</span></a> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-data" title="gimp_parasite_data ()">gimp_parasite_data</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="returnvalue">glong</span></a> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-data-size" title="gimp_parasite_data_size ()">gimp_parasite_data_size</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-is-type" title="gimp_parasite_is_type ()">gimp_parasite_is_type</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-is-persistent" title="gimp_parasite_is_persistent ()">gimp_parasite_is_persistent</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-is-undoable" title="gimp_parasite_is_undoable ()">gimp_parasite_is_undoable</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-has-flag" title="gimp_parasite_has_flag ()">gimp_parasite_has_flag</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>,
<em class="parameter"><code><span class="type">gulong</span> flag</code></em>);
<span class="returnvalue">gulong</span> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-flags" title="gimp_parasite_flags ()">gimp_parasite_flags</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-name" title="gimp_parasite_name ()">gimp_parasite_name</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);
<span class="returnvalue">gconstpointer</span> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-data" title="gimp_parasite_data ()">gimp_parasite_data</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);
<span class="returnvalue">glong</span> <a class="link" href="libgimpbase-gimpparasite.html#gimp-parasite-data-size" title="gimp_parasite_data_size ()">gimp_parasite_data_size</a> (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-PARASITE-PERSISTENT:CAPS" title="GIMP_PARASITE_PERSISTENT">GIMP_PARASITE_PERSISTENT</a>
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-PARASITE-UNDOABLE:CAPS" title="GIMP_PARASITE_UNDOABLE">GIMP_PARASITE_UNDOABLE</a>
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-PARASITE-ATTACH-PARENT:CAPS" title="GIMP_PARASITE_ATTACH_PARENT">GIMP_PARASITE_ATTACH_PARENT</a>
@ -67,10 +68,10 @@ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.htm
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-TYPE-PARASITE:CAPS" title="GIMP_TYPE_PARASITE">GIMP_TYPE_PARASITE</a>
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-TYPE-PARAM-PARASITE:CAPS" title="GIMP_TYPE_PARAM_PARASITE">GIMP_TYPE_PARAM_PARASITE</a>
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-IS-PARAM-SPEC-PARASITE:CAPS" title="GIMP_IS_PARAM_SPEC_PARASITE()">GIMP_IS_PARAM_SPEC_PARASITE</a> (pspec)
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="libgimpbase-gimpparasite.html#gimp-param-spec-parasite" title="gimp_param_spec_parasite ()">gimp_param_spec_parasite</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);
<span class="returnvalue">GParamSpec</span> * <a class="link" href="libgimpbase-gimpparasite.html#gimp-param-spec-parasite" title="gimp_param_spec_parasite ()">gimp_param_spec_parasite</a> (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>,
<em class="parameter"><code><span class="type">GParamFlags</span> flags</code></em>);
#define <a class="link" href="libgimpbase-gimpparasite.html#GIMP-VALUE-HOLDS-PARASITE:CAPS" title="GIMP_VALUE_HOLDS_PARASITE()">GIMP_VALUE_HOLDS_PARASITE</a> (value)
</pre>
</div>
@ -98,10 +99,10 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
<hr>
<div class="refsect2">
<a name="gimp-parasite-new"></a><h3>gimp_parasite_new ()</h3>
<pre class="programlisting"><a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="returnvalue">GimpParasite</span></a> * gimp_parasite_new (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> flags</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> size</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> data</code></em>);</pre>
<pre class="programlisting"><a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="returnvalue">GimpParasite</span></a> * gimp_parasite_new (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code><span class="type">guint32</span> flags</code></em>,
<em class="parameter"><code><span class="type">guint32</span> size</code></em>,
<em class="parameter"><code><span class="type">gconstpointer</span> data</code></em>);</pre>
<p>
</p>
</div>
@ -122,7 +123,7 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
<hr>
<div class="refsect2">
<a name="gimp-parasite-compare"></a><h3>gimp_parasite_compare ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_parasite_compare (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *a</code></em>,
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_parasite_compare (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *a</code></em>,
<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *b</code></em>);</pre>
<p>
</p>
@ -130,58 +131,58 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
<hr>
<div class="refsect2">
<a name="gimp-parasite-is-type"></a><h3>gimp_parasite_is_type ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_parasite_is_type (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_parasite_is_type (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-parasite-is-persistent"></a><h3>gimp_parasite_is_persistent ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_parasite_is_persistent (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_parasite_is_persistent (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-parasite-is-undoable"></a><h3>gimp_parasite_is_undoable ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_parasite_is_undoable (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_parasite_is_undoable (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-parasite-has-flag"></a><h3>gimp_parasite_has_flag ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_parasite_has_flag (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> flag</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_parasite_has_flag (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>,
<em class="parameter"><code><span class="type">gulong</span> flag</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-parasite-flags"></a><h3>gimp_parasite_flags ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> gimp_parasite_flags (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gulong</span> gimp_parasite_flags (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-parasite-name"></a><h3>gimp_parasite_name ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_parasite_name (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_parasite_name (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-parasite-data"></a><h3>gimp_parasite_data ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gconstpointer"><span class="returnvalue">gconstpointer</span></a> gimp_parasite_data (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gconstpointer</span> gimp_parasite_data (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-parasite-data-size"></a><h3>gimp_parasite_data_size ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="returnvalue">glong</span></a> gimp_parasite_data_size (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">glong</span> gimp_parasite_data_size (<em class="parameter"><code>const <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a> *parasite</code></em>);</pre>
<p>
</p>
</div>
@ -276,10 +277,10 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
<hr>
<div class="refsect2">
<a name="gimp-param-spec-parasite"></a><h3>gimp_param_spec_parasite ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> * gimp_param_spec_parasite (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">GParamSpec</span> * gimp_param_spec_parasite (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>,
<em class="parameter"><code><span class="type">GParamFlags</span> flags</code></em>);</pre>
<p>
</p>
</div>
@ -294,10 +295,9 @@ Arbitrary pieces of data which can be attached to various GIMP objects.
</div>
<div class="refsect1">
<a name="libgimpbase-gimpparasite.see-also"></a><h2>See Also</h2>
<p>
<a href="/usr/share/gtk-doc/html/libgimp/libgimp-gimpimage.html#gimp-image-parasite-attach"><code class="function">gimp_image_parasite_attach()</code></a>, <a href="/usr/share/gtk-doc/html/libgimp/libgimp-gimpdrawable.html#gimp-drawable-parasite-attach"><code class="function">gimp_drawable_parasite_attach()</code></a>,
<a href="/usr/share/gtk-doc/html/libgimp/libgimp-gimp.html#gimp-parasite-attach"><code class="function">gimp_parasite_attach()</code></a> and their related functions.
</p>
gimp_image_parasite_attach(),
<a href="/local/head/share/gtk-doc/html/libgimp/libgimp-gimpdrawable.html#gimp-drawable-parasite-attach"><code class="function">gimp_drawable_parasite_attach()</code></a>, <a href="/local/head/share/gtk-doc/html/app/app-Gimp-parasites.html#gimp-parasite-attach"><code class="function">gimp_parasite_attach()</code></a>
and their related functions.
</div>
</div>
<div class="footer">

View File

@ -31,23 +31,26 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgimpbase-gimpparasiteio.top_of_page"></a>gimpparasiteio</span></h2>
<p>gimpparasiteio — Utility functions to (de)serialize certain C structures to/from <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a>'s.</p>
<p>gimpparasiteio — Utility functions to (de)serialize certain C
structures to/from <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a>'s.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgimpbase-gimpparasiteio.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">#define <a class="link" href="libgimpbase-gimpparasiteio.html#GIMP-PIXPIPE-MAXDIM:CAPS" title="GIMP_PIXPIPE_MAXDIM">GIMP_PIXPIPE_MAXDIM</a>
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-init" title="gimp_pixpipe_params_init ()">gimp_pixpipe_params_init</a> (<em class="parameter"><code><span class="type">GimpPixPipeParams</span> *params</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-parse" title="gimp_pixpipe_params_parse ()">gimp_pixpipe_params_parse</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *parameters</code></em>,
<em class="parameter"><code><span class="type">GimpPixPipeParams</span> *params</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-build" title="gimp_pixpipe_params_build ()">gimp_pixpipe_params_build</a> (<em class="parameter"><code><span class="type">GimpPixPipeParams</span> *params</code></em>);
struct <a class="link" href="libgimpbase-gimpparasiteio.html#GimpPixPipeParams" title="struct GimpPixPipeParams">GimpPixPipeParams</a>;
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-init" title="gimp_pixpipe_params_init ()">gimp_pixpipe_params_init</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpparasiteio.html#GimpPixPipeParams" title="struct GimpPixPipeParams"><span class="type">GimpPixPipeParams</span></a> *params</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-parse" title="gimp_pixpipe_params_parse ()">gimp_pixpipe_params_parse</a> (<em class="parameter"><code>const <span class="type">gchar</span> *parameters</code></em>,
<em class="parameter"><code><a class="link" href="libgimpbase-gimpparasiteio.html#GimpPixPipeParams" title="struct GimpPixPipeParams"><span class="type">GimpPixPipeParams</span></a> *params</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-build" title="gimp_pixpipe_params_build ()">gimp_pixpipe_params_build</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpparasiteio.html#GimpPixPipeParams" title="struct GimpPixPipeParams"><span class="type">GimpPixPipeParams</span></a> *params</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libgimpbase-gimpparasiteio.description"></a><h2>Description</h2>
<p>
Utility functions to (de)serialize certain C structures to/from <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a>'s.
Utility functions to (de)serialize certain C structures to/from*
<a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a>'s.
</p>
</div>
<div class="refsect1">
@ -61,32 +64,51 @@ Utility functions to (de)serialize certain C structures to/from <a class="link"
</div>
<hr>
<div class="refsect2">
<a name="GimpPixPipeParams"></a><h3>struct GimpPixPipeParams</h3>
<pre class="programlisting">struct GimpPixPipeParams {
gint step;
gint ncells;
gint dim;
gint cols;
gint rows;
gint cellwidth;
gint cellheight;
gchar *placement;
gboolean free_placement_string;
gint rank[GIMP_PIXPIPE_MAXDIM];
gchar *selection[GIMP_PIXPIPE_MAXDIM];
gboolean free_selection_string;
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-pixpipe-params-init"></a><h3>gimp_pixpipe_params_init ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_pixpipe_params_init (<em class="parameter"><code><span class="type">GimpPixPipeParams</span> *params</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_pixpipe_params_init (<em class="parameter"><code><a class="link" href="libgimpbase-gimpparasiteio.html#GimpPixPipeParams" title="struct GimpPixPipeParams"><span class="type">GimpPixPipeParams</span></a> *params</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-pixpipe-params-parse"></a><h3>gimp_pixpipe_params_parse ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_pixpipe_params_parse (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *parameters</code></em>,
<em class="parameter"><code><span class="type">GimpPixPipeParams</span> *params</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_pixpipe_params_parse (<em class="parameter"><code>const <span class="type">gchar</span> *parameters</code></em>,
<em class="parameter"><code><a class="link" href="libgimpbase-gimpparasiteio.html#GimpPixPipeParams" title="struct GimpPixPipeParams"><span class="type">GimpPixPipeParams</span></a> *params</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-pixpipe-params-build"></a><h3>gimp_pixpipe_params_build ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_pixpipe_params_build (<em class="parameter"><code><span class="type">GimpPixPipeParams</span> *params</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gchar</span> * gimp_pixpipe_params_build (<em class="parameter"><code><a class="link" href="libgimpbase-gimpparasiteio.html#GimpPixPipeParams" title="struct GimpPixPipeParams"><span class="type">GimpPixPipeParams</span></a> *params</code></em>);</pre>
<p>
</p>
</div>
</div>
<div class="refsect1">
<a name="libgimpbase-gimpparasiteio.see-also"></a><h2>See Also</h2>
<p>
<a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a>
</p>
</div>
</div>
<div class="footer">

View File

@ -31,47 +31,60 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgimpbase-gimprectangle.top_of_page"></a>gimprectangle</span></h2>
<p>gimprectangle</p>
<p>gimprectangle — Utility functions dealing with rectangle extents.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgimpbase-gimprectangle.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimpbase-gimprectangle.html#gimp-rectangle-intersect" title="gimp_rectangle_intersect ()">gimp_rectangle_intersect</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x1</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y1</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width1</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height1</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x2</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y2</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width2</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height2</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_x</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_y</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_width</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_height</code></em>);
<pre class="synopsis"><span class="returnvalue">gboolean</span> <a class="link" href="libgimpbase-gimprectangle.html#gimp-rectangle-intersect" title="gimp_rectangle_intersect ()">gimp_rectangle_intersect</a> (<em class="parameter"><code><span class="type">gint</span> x1</code></em>,
<em class="parameter"><code><span class="type">gint</span> y1</code></em>,
<em class="parameter"><code><span class="type">gint</span> width1</code></em>,
<em class="parameter"><code><span class="type">gint</span> height1</code></em>,
<em class="parameter"><code><span class="type">gint</span> x2</code></em>,
<em class="parameter"><code><span class="type">gint</span> y2</code></em>,
<em class="parameter"><code><span class="type">gint</span> width2</code></em>,
<em class="parameter"><code><span class="type">gint</span> height2</code></em>,
<em class="parameter"><code><span class="type">gint</span> *dest_x</code></em>,
<em class="parameter"><code><span class="type">gint</span> *dest_y</code></em>,
<em class="parameter"><code><span class="type">gint</span> *dest_width</code></em>,
<em class="parameter"><code><span class="type">gint</span> *dest_height</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimprectangle.html#gimp-rectangle-union" title="gimp_rectangle_union ()">gimp_rectangle_union</a> (<em class="parameter"><code><span class="type">gint</span> x1</code></em>,
<em class="parameter"><code><span class="type">gint</span> y1</code></em>,
<em class="parameter"><code><span class="type">gint</span> width1</code></em>,
<em class="parameter"><code><span class="type">gint</span> height1</code></em>,
<em class="parameter"><code><span class="type">gint</span> x2</code></em>,
<em class="parameter"><code><span class="type">gint</span> y2</code></em>,
<em class="parameter"><code><span class="type">gint</span> width2</code></em>,
<em class="parameter"><code><span class="type">gint</span> height2</code></em>,
<em class="parameter"><code><span class="type">gint</span> *dest_x</code></em>,
<em class="parameter"><code><span class="type">gint</span> *dest_y</code></em>,
<em class="parameter"><code><span class="type">gint</span> *dest_width</code></em>,
<em class="parameter"><code><span class="type">gint</span> *dest_height</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libgimpbase-gimprectangle.description"></a><h2>Description</h2>
<p>
Utility functions dealing with rectangle extents.
</p>
</div>
<div class="refsect1">
<a name="libgimpbase-gimprectangle.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="gimp-rectangle-intersect"></a><h3>gimp_rectangle_intersect ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_rectangle_intersect (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x1</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y1</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width1</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height1</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x2</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y2</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width2</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height2</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_x</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_y</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_width</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_height</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_rectangle_intersect (<em class="parameter"><code><span class="type">gint</span> x1</code></em>,
<em class="parameter"><code><span class="type">gint</span> y1</code></em>,
<em class="parameter"><code><span class="type">gint</span> width1</code></em>,
<em class="parameter"><code><span class="type">gint</span> height1</code></em>,
<em class="parameter"><code><span class="type">gint</span> x2</code></em>,
<em class="parameter"><code><span class="type">gint</span> y2</code></em>,
<em class="parameter"><code><span class="type">gint</span> width2</code></em>,
<em class="parameter"><code><span class="type">gint</span> height2</code></em>,
<em class="parameter"><code><span class="type">gint</span> *dest_x</code></em>,
<em class="parameter"><code><span class="type">gint</span> *dest_y</code></em>,
<em class="parameter"><code><span class="type">gint</span> *dest_width</code></em>,
<em class="parameter"><code><span class="type">gint</span> *dest_height</code></em>);</pre>
<p>
Calculates the intersection of two rectangles.
</p>
@ -112,29 +125,102 @@ Calculates the intersection of two rectangles.
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest_x</code></em> :</span></p></td>
<td>return location for origin of intersection (may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
<td>return location for origin of intersection (may be <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest_y</code></em> :</span></p></td>
<td>return location for origin of intersection (may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
<td>return location for origin of intersection (may be <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest_width</code></em> :</span></p></td>
<td>return location for width of intersection (may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
<td>return location for width of intersection (may be <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest_height</code></em> :</span></p></td>
<td>return location for height of intersection (may be <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
<td>return location for height of intersection (may be <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the intersection is non-empty, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
<code class="literal">TRUE</code> if the intersection is non-empty, <code class="literal">FALSE</code> otherwise</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-rectangle-union"></a><h3>gimp_rectangle_union ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_rectangle_union (<em class="parameter"><code><span class="type">gint</span> x1</code></em>,
<em class="parameter"><code><span class="type">gint</span> y1</code></em>,
<em class="parameter"><code><span class="type">gint</span> width1</code></em>,
<em class="parameter"><code><span class="type">gint</span> height1</code></em>,
<em class="parameter"><code><span class="type">gint</span> x2</code></em>,
<em class="parameter"><code><span class="type">gint</span> y2</code></em>,
<em class="parameter"><code><span class="type">gint</span> width2</code></em>,
<em class="parameter"><code><span class="type">gint</span> height2</code></em>,
<em class="parameter"><code><span class="type">gint</span> *dest_x</code></em>,
<em class="parameter"><code><span class="type">gint</span> *dest_y</code></em>,
<em class="parameter"><code><span class="type">gint</span> *dest_width</code></em>,
<em class="parameter"><code><span class="type">gint</span> *dest_height</code></em>);</pre>
<p>
Calculates the union of two rectangles.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>x1</code></em> :</span></p></td>
<td>origin of first rectangle</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y1</code></em> :</span></p></td>
<td>origin of first rectangle</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>width1</code></em> :</span></p></td>
<td>width of first rectangle</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>height1</code></em> :</span></p></td>
<td>height of first rectangle</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x2</code></em> :</span></p></td>
<td>origin of second rectangle</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y2</code></em> :</span></p></td>
<td>origin of second rectangle</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>width2</code></em> :</span></p></td>
<td>width of second rectangle</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>height2</code></em> :</span></p></td>
<td>height of second rectangle</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest_x</code></em> :</span></p></td>
<td>return location for origin of union (may be <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest_y</code></em> :</span></p></td>
<td>return location for origin of union (may be <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest_width</code></em> :</span></p></td>
<td>return location for width of union (may be <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest_height</code></em> :</span></p></td>
<td>return location for height of union (may be <code class="literal">NULL</code>)</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.8</p>
</div>
</div>
</div>
<div class="footer">

View File

@ -37,10 +37,10 @@
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgimpbase-gimpsignal.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"><span class="returnvalue">void</span> (<a class="link" href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc" title="GimpSignalHandlerFunc ()">*GimpSignalHandlerFunc</a>) (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> signum</code></em>);
<a class="link" href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc" title="GimpSignalHandlerFunc ()"><span class="returnvalue">GimpSignalHandlerFunc</span></a> <a class="link" href="libgimpbase-gimpsignal.html#gimp-signal-private" title="gimp_signal_private ()">gimp_signal_private</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> signum</code></em>,
<pre class="synopsis"><span class="returnvalue">void</span> (<a class="link" href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc" title="GimpSignalHandlerFunc ()">*GimpSignalHandlerFunc</a>) (<em class="parameter"><code><span class="type">gint</span> signum</code></em>);
<a class="link" href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc" title="GimpSignalHandlerFunc ()"><span class="returnvalue">GimpSignalHandlerFunc</span></a> <a class="link" href="libgimpbase-gimpsignal.html#gimp-signal-private" title="gimp_signal_private ()">gimp_signal_private</a> (<em class="parameter"><code><span class="type">gint</span> signum</code></em>,
<em class="parameter"><code><a class="link" href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc" title="GimpSignalHandlerFunc ()"><span class="type">GimpSignalHandlerFunc</span></a> handler</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> flags</code></em>);
<em class="parameter"><code><span class="type">gint</span> flags</code></em>);
</pre>
</div>
<div class="refsect1">
@ -53,28 +53,28 @@ Portable signal handling.
<a name="libgimpbase-gimpsignal.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GimpSignalHandlerFunc"></a><h3>GimpSignalHandlerFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> (*GimpSignalHandlerFunc) (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> signum</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">void</span> (*GimpSignalHandlerFunc) (<em class="parameter"><code><span class="type">gint</span> signum</code></em>);</pre>
<p>
A prototype for signal handler functions. Note that each function which
takes or returns a variable of this type also accepts or may return
special values defined by your system's signal.h header file (like
<em class="parameter"><code>SIG_DFL</code></em> or <em class="parameter"><code>SIG_IGN</code></em>).
A prototype for a reference to a signal handler functions. Note
that each function which takes or returns a variable of this type
also accepts or may return special values defined by your system's
signal.h header file (like <em class="parameter"><code>SIG_DFL</code></em> or <em class="parameter"><code>SIG_IGN</code></em>).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>signum</code></em> :</span></p></td>
<td>The number of the signal. Useful if different signals are handled
by a single handler.</td>
<td>The number of the signal. Useful if different signals are
handled by a single handler.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gimp-signal-private"></a><h3>gimp_signal_private ()</h3>
<pre class="programlisting"><a class="link" href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc" title="GimpSignalHandlerFunc ()"><span class="returnvalue">GimpSignalHandlerFunc</span></a> gimp_signal_private (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> signum</code></em>,
<pre class="programlisting"><a class="link" href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc" title="GimpSignalHandlerFunc ()"><span class="returnvalue">GimpSignalHandlerFunc</span></a> gimp_signal_private (<em class="parameter"><code><span class="type">gint</span> signum</code></em>,
<em class="parameter"><code><a class="link" href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc" title="GimpSignalHandlerFunc ()"><span class="type">GimpSignalHandlerFunc</span></a> handler</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> flags</code></em>);</pre>
<em class="parameter"><code><span class="type">gint</span> flags</code></em>);</pre>
<p>
This function furnishes a workalike for signal(2) but
which internally invokes sigaction(2) after certain
@ -119,9 +119,7 @@ active before the call to <a class="link" href="libgimpbase-gimpsignal.html#gimp
</div>
<div class="refsect1">
<a name="libgimpbase-gimpsignal.see-also"></a><h2>See Also</h2>
<p>
signal(2), signal(5 or 7), sigaction(2).
</p>
</div>
</div>
<div class="footer">

View File

@ -31,52 +31,63 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgimpbase-gimpunit.top_of_page"></a>gimpunit</span></h2>
<p>gimpunit — Provides a collection of predefined units and functions for creating
user-defined units.</p>
<p>gimpunit — Provides a collection of predefined units and
functions for creating user-defined units.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgimpbase-gimpunit.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">enum <a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit">GimpUnit</a>;
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-number-of-units" title="gimp_unit_get_number_of_units ()">gimp_unit_get_number_of_units</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-number-of-built-in-units" title="gimp_unit_get_number_of_built_in_units ()">gimp_unit_get_number_of_built_in_units</a>
<span class="returnvalue">gint</span> <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-number-of-units" title="gimp_unit_get_number_of_units ()">gimp_unit_get_number_of_units</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">gint</span> <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-number-of-built-in-units" title="gimp_unit_get_number_of_built_in_units ()">gimp_unit_get_number_of_built_in_units</a>
(<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="returnvalue">GimpUnit</span></a> <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-new" title="gimp_unit_new ()">gimp_unit_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *identifier</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> factor</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> digits</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *symbol</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *abbreviation</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *singular</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *plural</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-deletion-flag" title="gimp_unit_get_deletion_flag ()">gimp_unit_get_deletion_flag</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
<a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="returnvalue">GimpUnit</span></a> <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-new" title="gimp_unit_new ()">gimp_unit_new</a> (<em class="parameter"><code><span class="type">gchar</span> *identifier</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> factor</code></em>,
<em class="parameter"><code><span class="type">gint</span> digits</code></em>,
<em class="parameter"><code><span class="type">gchar</span> *symbol</code></em>,
<em class="parameter"><code><span class="type">gchar</span> *abbreviation</code></em>,
<em class="parameter"><code><span class="type">gchar</span> *singular</code></em>,
<em class="parameter"><code><span class="type">gchar</span> *plural</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-deletion-flag" title="gimp_unit_get_deletion_flag ()">gimp_unit_get_deletion_flag</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-set-deletion-flag" title="gimp_unit_set_deletion_flag ()">gimp_unit_set_deletion_flag</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> deletion_flag</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-factor" title="gimp_unit_get_factor ()">gimp_unit_get_factor</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-digits" title="gimp_unit_get_digits ()">gimp_unit_get_digits</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-identifier" title="gimp_unit_get_identifier ()">gimp_unit_get_identifier</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-symbol" title="gimp_unit_get_symbol ()">gimp_unit_get_symbol</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-abbreviation" title="gimp_unit_get_abbreviation ()">gimp_unit_get_abbreviation</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-singular" title="gimp_unit_get_singular ()">gimp_unit_get_singular</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-plural" title="gimp_unit_get_plural ()">gimp_unit_get_plural</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
<em class="parameter"><code><span class="type">gboolean</span> deletion_flag</code></em>);
<span class="returnvalue">gdouble</span> <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-factor" title="gimp_unit_get_factor ()">gimp_unit_get_factor</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
<span class="returnvalue">gint</span> <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-digits" title="gimp_unit_get_digits ()">gimp_unit_get_digits</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-identifier" title="gimp_unit_get_identifier ()">gimp_unit_get_identifier</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-symbol" title="gimp_unit_get_symbol ()">gimp_unit_get_symbol</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-abbreviation" title="gimp_unit_get_abbreviation ()">gimp_unit_get_abbreviation</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-singular" title="gimp_unit_get_singular ()">gimp_unit_get_singular</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-get-plural" title="gimp_unit_get_plural ()">gimp_unit_get_plural</a> (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimpunit.html#gimp-unit-format-string" title="gimp_unit_format_string ()">gimp_unit_format_string</a> (<em class="parameter"><code>const <span class="type">gchar</span> *format</code></em>,
<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
<span class="returnvalue">gdouble</span> <a class="link" href="libgimpbase-gimpunit.html#gimp-pixels-to-units" title="gimp_pixels_to_units ()">gimp_pixels_to_units</a> (<em class="parameter"><code><span class="type">gdouble</span> pixels</code></em>,
<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> resolution</code></em>);
<span class="returnvalue">gdouble</span> <a class="link" href="libgimpbase-gimpunit.html#gimp-units-to-pixels" title="gimp_units_to_pixels ()">gimp_units_to_pixels</a> (<em class="parameter"><code><span class="type">gdouble</span> value</code></em>,
<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> resolution</code></em>);
<span class="returnvalue">gdouble</span> <a class="link" href="libgimpbase-gimpunit.html#gimp-units-to-points" title="gimp_units_to_points ()">gimp_units_to_points</a> (<em class="parameter"><code><span class="type">gdouble</span> value</code></em>,
<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> resolution</code></em>);
#define <a class="link" href="libgimpbase-gimpunit.html#GIMP-TYPE-UNIT:CAPS" title="GIMP_TYPE_UNIT">GIMP_TYPE_UNIT</a>
#define <a class="link" href="libgimpbase-gimpunit.html#GIMP-TYPE-PARAM-UNIT:CAPS" title="GIMP_TYPE_PARAM_UNIT">GIMP_TYPE_PARAM_UNIT</a>
#define <a class="link" href="libgimpbase-gimpunit.html#GIMP-IS-PARAM-SPEC-UNIT:CAPS" title="GIMP_IS_PARAM_SPEC_UNIT()">GIMP_IS_PARAM_SPEC_UNIT</a> (pspec)
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="libgimpbase-gimpunit.html#gimp-param-spec-unit" title="gimp_param_spec_unit ()">gimp_param_spec_unit</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allow_pixels</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allow_percent</code></em>,
<span class="returnvalue">GParamSpec</span> * <a class="link" href="libgimpbase-gimpunit.html#gimp-param-spec-unit" title="gimp_param_spec_unit ()">gimp_param_spec_unit</a> (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> allow_pixels</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> allow_percent</code></em>,
<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> default_value</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);
<em class="parameter"><code><span class="type">GParamFlags</span> flags</code></em>);
#define <a class="link" href="libgimpbase-gimpunit.html#GIMP-VALUE-HOLDS-UNIT:CAPS" title="GIMP_VALUE_HOLDS_UNIT()">GIMP_VALUE_HOLDS_UNIT</a> (value)
</pre>
</div>
<div class="refsect1">
<a name="libgimpbase-gimpunit.description"></a><h2>Description</h2>
<p>
Provides a collection of predefined units and functions for creating
user-defined units.
Provides a collection of predefined units and functions for
creating user-defined units.
</p>
</div>
<div class="refsect1">
@ -102,7 +113,7 @@ user-defined units.
<hr>
<div class="refsect2">
<a name="gimp-unit-get-number-of-units"></a><h3>gimp_unit_get_number_of_units ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gimp_unit_get_number_of_units (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gint</span> gimp_unit_get_number_of_units (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Returns the number of units which are known to the <a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> system.
</p>
@ -117,7 +128,7 @@ Returns the number of units which are known to the <a class="link" href="libgimp
<hr>
<div class="refsect2">
<a name="gimp-unit-get-number-of-built-in-units"></a><h3>gimp_unit_get_number_of_built_in_units ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gimp_unit_get_number_of_built_in_units
<pre class="programlisting"><span class="returnvalue">gint</span> gimp_unit_get_number_of_built_in_units
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Returns the number of <a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a>'s which are hardcoded in the unit system
@ -135,19 +146,19 @@ Returns the number of <a class="link" href="libgimpbase-gimpunit.html#GimpUnit"
<hr>
<div class="refsect2">
<a name="gimp-unit-new"></a><h3>gimp_unit_new ()</h3>
<pre class="programlisting"><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="returnvalue">GimpUnit</span></a> gimp_unit_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *identifier</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> factor</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> digits</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *symbol</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *abbreviation</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *singular</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *plural</code></em>);</pre>
<pre class="programlisting"><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="returnvalue">GimpUnit</span></a> gimp_unit_new (<em class="parameter"><code><span class="type">gchar</span> *identifier</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> factor</code></em>,
<em class="parameter"><code><span class="type">gint</span> digits</code></em>,
<em class="parameter"><code><span class="type">gchar</span> *symbol</code></em>,
<em class="parameter"><code><span class="type">gchar</span> *abbreviation</code></em>,
<em class="parameter"><code><span class="type">gchar</span> *singular</code></em>,
<em class="parameter"><code><span class="type">gchar</span> *plural</code></em>);</pre>
<p>
Returns the integer ID of the new <a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a>.
</p>
<p>
Note that a new unit is always created with it's deletion flag
set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. You will have to set it to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> with
set to <code class="literal">TRUE</code>. You will have to set it to <code class="literal">FALSE</code> with
<a class="link" href="libgimpbase-gimpunit.html#gimp-unit-set-deletion-flag" title="gimp_unit_set_deletion_flag ()"><code class="function">gimp_unit_set_deletion_flag()</code></a> to make the unit definition persistent.
</p>
<div class="variablelist"><table border="0">
@ -191,7 +202,7 @@ set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macro
<hr>
<div class="refsect2">
<a name="gimp-unit-get-deletion-flag"></a><h3>gimp_unit_get_deletion_flag ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_unit_get_deletion_flag (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_unit_get_deletion_flag (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
@ -210,10 +221,10 @@ set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macro
<div class="refsect2">
<a name="gimp-unit-set-deletion-flag"></a><h3>gimp_unit_set_deletion_flag ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_unit_set_deletion_flag (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> deletion_flag</code></em>);</pre>
<em class="parameter"><code><span class="type">gboolean</span> deletion_flag</code></em>);</pre>
<p>
Sets a <a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a>'s <em class="parameter"><code>deletion_flag</code></em>. If the <em class="parameter"><code>deletion_flag</code></em> of a unit is
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> when GIMP exits, this unit will not be saved in the users's
<code class="literal">TRUE</code> when GIMP exits, this unit will not be saved in the users's
"unitrc" file.
</p>
<p>
@ -237,7 +248,7 @@ ignored.
<hr>
<div class="refsect2">
<a name="gimp-unit-get-factor"></a><h3>gimp_unit_get_factor ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> gimp_unit_get_factor (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gdouble</span> gimp_unit_get_factor (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<p>
A <a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a>'s <em class="parameter"><code>factor</code></em> is defined to be:
</p>
@ -264,7 +275,7 @@ Returns 0 for <em class="parameter"><code>unit</code></em> == GIMP_UNIT_PIXEL.
<hr>
<div class="refsect2">
<a name="gimp-unit-get-digits"></a><h3>gimp_unit_get_digits ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gimp_unit_get_digits (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gint</span> gimp_unit_get_digits (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<p>
Returns the number of digits an entry field should provide to get
approximately the same accuracy as an inch input field with two digits.
@ -289,7 +300,7 @@ Returns 0 for <em class="parameter"><code>unit</code></em> == GIMP_UNIT_PIXEL.
<hr>
<div class="refsect2">
<a name="gimp-unit-get-identifier"></a><h3>gimp_unit_get_identifier ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_unit_get_identifier (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_unit_get_identifier (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<p>
This is an unstranslated string and must not be changed or freed.
</p>
@ -310,7 +321,7 @@ This is an unstranslated string and must not be changed or freed.
<hr>
<div class="refsect2">
<a name="gimp-unit-get-symbol"></a><h3>gimp_unit_get_symbol ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_unit_get_symbol (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_unit_get_symbol (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<p>
This is e.g. "''" for UNIT_INCH.
</p>
@ -334,7 +345,7 @@ NOTE: This string must not be changed or freed.
<hr>
<div class="refsect2">
<a name="gimp-unit-get-abbreviation"></a><h3>gimp_unit_get_abbreviation ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_unit_get_abbreviation (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_unit_get_abbreviation (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<p>
For built-in units, this function returns the translated abbreviation
of the unit.
@ -359,7 +370,7 @@ NOTE: This string must not be changed or freed.
<hr>
<div class="refsect2">
<a name="gimp-unit-get-singular"></a><h3>gimp_unit_get_singular ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_unit_get_singular (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_unit_get_singular (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<p>
For built-in units, this function returns the translated singular form
of the unit's name.
@ -384,7 +395,7 @@ NOTE: This string must not be changed or freed.
<hr>
<div class="refsect2">
<a name="gimp-unit-get-plural"></a><h3>gimp_unit_get_plural ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_unit_get_plural (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_unit_get_plural (<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<p>
For built-in units, this function returns the translated plural form
of the unit's name.
@ -408,11 +419,177 @@ NOTE: This string must not be changed or freed.
</div>
<hr>
<div class="refsect2">
<a name="gimp-unit-format-string"></a><h3>gimp_unit_format_string ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> * gimp_unit_format_string (<em class="parameter"><code>const <span class="type">gchar</span> *format</code></em>,
<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<p>
The <em class="parameter"><code>format</code></em> string supports the following percent expansions:
</p>
<p>
</p>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col>
<col>
</colgroup>
<tbody>
<tr>
<td>% f</td>
<td>Factor (how many units make up an inch)</td>
</tr>
<tr>
<td>% y</td>
<td>Symbol (e.g. "''" for GIMP_UNIT_INCH)</td>
</tr>
<tr>
<td>% a</td>
<td>Abbreviation</td>
</tr>
<tr>
<td>% s</td>
<td>Singular</td>
</tr>
<tr>
<td>% p</td>
<td>Plural</td>
</tr>
<tr>
<td>%%</td>
<td>Literal percent</td>
</tr>
</tbody>
</table></div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
<td>A printf-like format string which is used to create the unit
string.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
<td>A unit.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A newly allocated string with above percent expressions
replaced with the resp. strings for <em class="parameter"><code>unit</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-pixels-to-units"></a><h3>gimp_pixels_to_units ()</h3>
<pre class="programlisting"><span class="returnvalue">gdouble</span> gimp_pixels_to_units (<em class="parameter"><code><span class="type">gdouble</span> pixels</code></em>,
<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> resolution</code></em>);</pre>
<p>
Converts a <em class="parameter"><code>value</code></em> specified in pixels to <em class="parameter"><code>unit</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pixels</code></em> :</span></p></td>
<td>value in pixels</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
<td>unit to convert to</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>resolution</code></em> :</span></p></td>
<td>resloution in DPI</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<em class="parameter"><code>pixels</code></em> converted to units.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-units-to-pixels"></a><h3>gimp_units_to_pixels ()</h3>
<pre class="programlisting"><span class="returnvalue">gdouble</span> gimp_units_to_pixels (<em class="parameter"><code><span class="type">gdouble</span> value</code></em>,
<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> resolution</code></em>);</pre>
<p>
Converts a <em class="parameter"><code>value</code></em> specified in <em class="parameter"><code>unit</code></em> to pixels.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>value in units</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
<td>unit of <em class="parameter"><code>value</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>resolution</code></em> :</span></p></td>
<td>resloution in DPI</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<em class="parameter"><code>value</code></em> converted to pixels.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-units-to-points"></a><h3>gimp_units_to_points ()</h3>
<pre class="programlisting"><span class="returnvalue">gdouble</span> gimp_units_to_points (<em class="parameter"><code><span class="type">gdouble</span> value</code></em>,
<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>,
<em class="parameter"><code><span class="type">gdouble</span> resolution</code></em>);</pre>
<p>
Converts a <em class="parameter"><code>value</code></em> specified in <em class="parameter"><code>unit</code></em> to points.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>value in units</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
<td>unit of <em class="parameter"><code>value</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>resolution</code></em> :</span></p></td>
<td>resloution in DPI</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<em class="parameter"><code>value</code></em> converted to points.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-TYPE-UNIT:CAPS"></a><h3>GIMP_TYPE_UNIT</h3>
<pre class="programlisting">#define GIMP_TYPE_UNIT (gimp_unit_get_type ())
</pre>
<p>
<a class="link" href="libgimpbase-gimpunit.html#GIMP-TYPE-UNIT:CAPS" title="GIMP_TYPE_UNIT"><span class="type">GIMP_TYPE_UNIT</span></a> is a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> derived from <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>.
<a class="link" href="libgimpbase-gimpunit.html#GIMP-TYPE-UNIT:CAPS" title="GIMP_TYPE_UNIT"><span class="type">GIMP_TYPE_UNIT</span></a> is a <span class="type">GType</span> derived from <span class="type">G_TYPE_INT</span>.
</p>
</div>
<hr>
@ -434,16 +611,16 @@ NOTE: This string must not be changed or freed.
<hr>
<div class="refsect2">
<a name="gimp-param-spec-unit"></a><h3>gimp_param_spec_unit ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> * gimp_param_spec_unit (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allow_pixels</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allow_percent</code></em>,
<pre class="programlisting"><span class="returnvalue">GParamSpec</span> * gimp_param_spec_unit (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *nick</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *blurb</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> allow_pixels</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> allow_percent</code></em>,
<em class="parameter"><code><a class="link" href="libgimpbase-gimpunit.html#GimpUnit" title="enum GimpUnit"><span class="type">GimpUnit</span></a> default_value</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre>
<em class="parameter"><code><span class="type">GParamFlags</span> flags</code></em>);</pre>
<p>
Creates a param spec to hold a units param.
See <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#g-param-spec-internal"><code class="function">g_param_spec_internal()</code></a> for more information.
See <code class="function">g_param_spec_internal()</code> for more information.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -474,12 +651,12 @@ See <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
<td>a combination of <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"><span class="type">GParamFlags</span></a>
<td>a combination of <span class="type">GParamFlags</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly allocated <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> instance</td>
<td>a newly allocated <span class="type">GParamSpec</span> instance</td>
</tr>
</tbody>
</table></div>
@ -496,12 +673,7 @@ See <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.
</div>
<div class="refsect1">
<a name="libgimpbase-gimpunit.see-also"></a><h2>See Also</h2>
<p>
<a href="/usr/share/gtk-doc/html/libgimpwidgets/GimpUnitMenu.html"><span class="type">GimpUnitMenu</span></a>
</p>
<p>
<a href="/usr/share/gtk-doc/html/libgimpwidgets/GimpSizeEntry.html"><span class="type">GimpSizeEntry</span></a>
</p>
<a href="/local/head/share/gtk-doc/html/libgimpwidgets/GimpUnitMenu.html"><span class="type">GimpUnitMenu</span></a>, <a href="/local/head/share/gtk-doc/html/libgimpwidgets/GimpSizeEntry.html"><span class="type">GimpSizeEntry</span></a>.
</div>
</div>
<div class="footer">

View File

@ -37,54 +37,55 @@
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgimpbase-gimputils.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimputils.html#gimp-any-to-utf8" title="gimp_any_to_utf8 ()">gimp_any_to_utf8</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="type">gssize</span></a> len</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *warning_format</code></em>,
<pre class="synopsis"><span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimputils.html#gimp-any-to-utf8" title="gimp_any_to_utf8 ()">gimp_any_to_utf8</a> (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>,
<em class="parameter"><code><span class="type">gssize</span> len</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *warning_format</code></em>,
<em class="parameter"><code>...</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimputils.html#gimp-filename-to-utf8" title="gimp_filename_to_utf8 ()">gimp_filename_to_utf8</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimputils.html#gimp-utf8-strtrim" title="gimp_utf8_strtrim ()">gimp_utf8_strtrim</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_chars</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimputils.html#gimp-escape-uline" title="gimp_escape_uline ()">gimp_escape_uline</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimputils.html#gimp-strip-uline" title="gimp_strip_uline ()">gimp_strip_uline</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimputils.html#gimp-canonicalize-identifier" title="gimp_canonicalize_identifier ()">gimp_canonicalize_identifier</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *identifier</code></em>);
<a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc"><span class="returnvalue">GimpEnumDesc</span></a> * <a class="link" href="libgimpbase-gimputils.html#gimp-enum-get-desc" title="gimp_enum_get_desc ()">gimp_enum_get_desc</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumClass"><span class="type">GEnumClass</span></a> *enum_class</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimpbase-gimputils.html#gimp-enum-get-value" title="gimp_enum_get_value ()">gimp_enum_get_value</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> enum_type</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_name</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_nick</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_desc</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_help</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimputils.html#gimp-enum-value-get-desc" title="gimp_enum_value_get_desc ()">gimp_enum_value_get_desc</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumClass"><span class="type">GEnumClass</span></a> *enum_class</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumValue"><span class="type">GEnumValue</span></a> *enum_value</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimputils.html#gimp-enum-value-get-help" title="gimp_enum_value_get_help ()">gimp_enum_value_get_help</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumClass"><span class="type">GEnumClass</span></a> *enum_class</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumValue"><span class="type">GEnumValue</span></a> *enum_value</code></em>);
<a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc"><span class="returnvalue">GimpFlagsDesc</span></a> * <a class="link" href="libgimpbase-gimputils.html#gimp-flags-get-first-desc" title="gimp_flags_get_first_desc ()">gimp_flags_get_first_desc</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"><span class="type">GFlagsClass</span></a> *flags_class</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> value</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimpbase-gimputils.html#gimp-flags-get-first-value" title="gimp_flags_get_first_value ()">gimp_flags_get_first_value</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> flags_type</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> value</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_name</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_nick</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_desc</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_help</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimputils.html#gimp-flags-value-get-desc" title="gimp_flags_value_get_desc ()">gimp_flags_value_get_desc</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"><span class="type">GFlagsClass</span></a> *flags_class</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GFlagsValue"><span class="type">GFlagsValue</span></a> *flags_value</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpbase-gimputils.html#gimp-flags-value-get-help" title="gimp_flags_value_get_help ()">gimp_flags_value_get_help</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"><span class="type">GFlagsClass</span></a> *flags_class</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GFlagsValue"><span class="type">GFlagsValue</span></a> *flags_value</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimputils.html#gimp-filename-to-utf8" title="gimp_filename_to_utf8 ()">gimp_filename_to_utf8</a> (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimputils.html#gimp-utf8-strtrim" title="gimp_utf8_strtrim ()">gimp_utf8_strtrim</a> (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>,
<em class="parameter"><code><span class="type">gint</span> max_chars</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimputils.html#gimp-escape-uline" title="gimp_escape_uline ()">gimp_escape_uline</a> (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimputils.html#gimp-strip-uline" title="gimp_strip_uline ()">gimp_strip_uline</a> (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimputils.html#gimp-canonicalize-identifier" title="gimp_canonicalize_identifier ()">gimp_canonicalize_identifier</a> (<em class="parameter"><code>const <span class="type">gchar</span> *identifier</code></em>);
<a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc"><span class="returnvalue">GimpEnumDesc</span></a> * <a class="link" href="libgimpbase-gimputils.html#gimp-enum-get-desc" title="gimp_enum_get_desc ()">gimp_enum_get_desc</a> (<em class="parameter"><code><span class="type">GEnumClass</span> *enum_class</code></em>,
<em class="parameter"><code><span class="type">gint</span> value</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libgimpbase-gimputils.html#gimp-enum-get-value" title="gimp_enum_get_value ()">gimp_enum_get_value</a> (<em class="parameter"><code><span class="type">GType</span> enum_type</code></em>,
<em class="parameter"><code><span class="type">gint</span> value</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> **value_name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> **value_nick</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> **value_desc</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> **value_help</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimputils.html#gimp-enum-value-get-desc" title="gimp_enum_value_get_desc ()">gimp_enum_value_get_desc</a> (<em class="parameter"><code><span class="type">GEnumClass</span> *enum_class</code></em>,
<em class="parameter"><code><span class="type">GEnumValue</span> *enum_value</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimputils.html#gimp-enum-value-get-help" title="gimp_enum_value_get_help ()">gimp_enum_value_get_help</a> (<em class="parameter"><code><span class="type">GEnumClass</span> *enum_class</code></em>,
<em class="parameter"><code><span class="type">GEnumValue</span> *enum_value</code></em>);
<a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc"><span class="returnvalue">GimpFlagsDesc</span></a> * <a class="link" href="libgimpbase-gimputils.html#gimp-flags-get-first-desc" title="gimp_flags_get_first_desc ()">gimp_flags_get_first_desc</a> (<em class="parameter"><code><span class="type">GFlagsClass</span> *flags_class</code></em>,
<em class="parameter"><code><span class="type">guint</span> value</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libgimpbase-gimputils.html#gimp-flags-get-first-value" title="gimp_flags_get_first_value ()">gimp_flags_get_first_value</a> (<em class="parameter"><code><span class="type">GType</span> flags_type</code></em>,
<em class="parameter"><code><span class="type">guint</span> value</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> **value_name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> **value_nick</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> **value_desc</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> **value_help</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimputils.html#gimp-flags-value-get-desc" title="gimp_flags_value_get_desc ()">gimp_flags_value_get_desc</a> (<em class="parameter"><code><span class="type">GFlagsClass</span> *flags_class</code></em>,
<em class="parameter"><code><span class="type">GFlagsValue</span> *flags_value</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libgimpbase-gimputils.html#gimp-flags-value-get-help" title="gimp_flags_value_get_help ()">gimp_flags_value_get_help</a> (<em class="parameter"><code><span class="type">GFlagsClass</span> *flags_class</code></em>,
<em class="parameter"><code><span class="type">GFlagsValue</span> *flags_value</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libgimpbase-gimputils.description"></a><h2>Description</h2>
<p>
Utilities of general interest
</p>
</div>
<div class="refsect1">
<a name="libgimpbase-gimputils.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="gimp-any-to-utf8"></a><h3>gimp_any_to_utf8 ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_any_to_utf8 (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="type">gssize</span></a> len</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *warning_format</code></em>,
<pre class="programlisting"><span class="returnvalue">gchar</span> * gimp_any_to_utf8 (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>,
<em class="parameter"><code><span class="type">gssize</span> len</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *warning_format</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
<p>
This function takes any string (UTF-8 or not) and always returns a valid
@ -94,7 +95,7 @@ UTF-8 string.
If <em class="parameter"><code>str</code></em> is valid UTF-8, a copy of the string is returned.
</p>
<p>
If UTF-8 validation fails, <a href="http://library.gnome.org/devel/glib/unstable/glib-Character-Set-Conversion.html#g-locale-to-utf8"><code class="function">g_locale_to_utf8()</code></a> is tried and if it
If UTF-8 validation fails, <code class="function">g_locale_to_utf8()</code> is tried and if it
succeeds the resulting string is returned.
</p>
<p>
@ -121,6 +122,10 @@ to UTF-8 fails. See the <code class="function"><code class="function">printf()</
documentation.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td>The parameters to insert into the format string.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The UTF-8 string as described above.</td>
</tr>
@ -130,7 +135,7 @@ documentation.</td>
<hr>
<div class="refsect2">
<a name="gimp-filename-to-utf8"></a><h3>gimp_filename_to_utf8 ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_filename_to_utf8 (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_filename_to_utf8 (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);</pre>
<p>
Convert a filename in the filesystem's encoding to UTF-8
temporarily. The return value is a pointer to a string that is
@ -160,8 +165,8 @@ This string must not be changed or freed.</td>
<hr>
<div class="refsect2">
<a name="gimp-utf8-strtrim"></a><h3>gimp_utf8_strtrim ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_utf8_strtrim (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_chars</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gchar</span> * gimp_utf8_strtrim (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>,
<em class="parameter"><code><span class="type">gint</span> max_chars</code></em>);</pre>
<p>
Creates a (possibly trimmed) copy of <em class="parameter"><code>str</code></em>. The string is cut if it
exceeds <em class="parameter"><code>max_chars</code></em> characters or on the first newline. The fact
@ -172,7 +177,7 @@ that the string was trimmed is indicated by appending an ellipsis.
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
<td>an UTF-8 encoded string (or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
<td>an UTF-8 encoded string (or <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max_chars</code></em> :</span></p></td>
@ -182,7 +187,7 @@ trimmed</td>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A (possibly trimmed) copy of <em class="parameter"><code>str</code></em> which should be freed
using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when it is not needed any longer.</td>
using <code class="function">g_free()</code> when it is not needed any longer.</td>
</tr>
</tbody>
</table></div>
@ -190,7 +195,7 @@ using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocati
<hr>
<div class="refsect2">
<a name="gimp-escape-uline"></a><h3>gimp_escape_uline ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_escape_uline (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gchar</span> * gimp_escape_uline (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);</pre>
<p>
This function returns a copy of <em class="parameter"><code>str</code></em> with all underline converted
to two adjacent underlines. This comes in handy when needing to display
@ -202,12 +207,12 @@ them to mnemonics.
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
<td>Underline infested string (or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
<td>Underline infested string (or <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A (possibly escaped) copy of <em class="parameter"><code>str</code></em> which should be
freed using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when it is not needed any longer.</td>
freed using <code class="function">g_free()</code> when it is not needed any longer.</td>
</tr>
</tbody>
</table></div>
@ -216,7 +221,7 @@ freed using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Al
<hr>
<div class="refsect2">
<a name="gimp-strip-uline"></a><h3>gimp_strip_uline ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_strip_uline (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gchar</span> * gimp_strip_uline (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);</pre>
<p>
This function returns a copy of <em class="parameter"><code>str</code></em> stripped of underline
characters. This comes in handy when needing to strip mnemonics
@ -226,19 +231,19 @@ from menu paths etc.
In some languages, mnemonics are handled by adding the mnemonic
character in brackets (like "File (_F)"). This function recognizes
this construct and removes the whole bracket construction to get
rid of the mnemonic (see bug <span class="type">157561</span>).
rid of the mnemonic (see bug 157561).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
<td>underline infested string (or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
<td>underline infested string (or <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A (possibly stripped) copy of <em class="parameter"><code>str</code></em> which should be
freed using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when it is not needed any longer.</td>
freed using <code class="function">g_free()</code> when it is not needed any longer.</td>
</tr>
</tbody>
</table></div>
@ -246,7 +251,7 @@ freed using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Al
<hr>
<div class="refsect2">
<a name="gimp-canonicalize-identifier"></a><h3>gimp_canonicalize_identifier ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_canonicalize_identifier (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *identifier</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gchar</span> * gimp_canonicalize_identifier (<em class="parameter"><code>const <span class="type">gchar</span> *identifier</code></em>);</pre>
<p>
Turns any input string into a canonicalized string.
</p>
@ -265,7 +270,7 @@ not either '-', 'a-z', 'A-Z' or '0-9' will be replaced by a '-'.
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The canonicalized identifier. This is a newly
allocated string that should be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>
allocated string that should be freed with <code class="function">g_free()</code>
when no longer needed.</td>
</tr>
</tbody>
@ -275,17 +280,17 @@ when no longer needed.</td>
<hr>
<div class="refsect2">
<a name="gimp-enum-get-desc"></a><h3>gimp_enum_get_desc ()</h3>
<pre class="programlisting"><a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc"><span class="returnvalue">GimpEnumDesc</span></a> * gimp_enum_get_desc (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumClass"><span class="type">GEnumClass</span></a> *enum_class</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>);</pre>
<pre class="programlisting"><a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc"><span class="returnvalue">GimpEnumDesc</span></a> * gimp_enum_get_desc (<em class="parameter"><code><span class="type">GEnumClass</span> *enum_class</code></em>,
<em class="parameter"><code><span class="type">gint</span> value</code></em>);</pre>
<p>
Retrieves <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc"><span class="type">GimpEnumDesc</span></a> associated with the given value, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
Retrieves <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" title="struct GimpEnumDesc"><span class="type">GimpEnumDesc</span></a> associated with the given value, or <code class="literal">NULL</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_class</code></em> :</span></p></td>
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumClass"><span class="type">GEnumClass</span></a>
<td>a <span class="type">GEnumClass</span>
</td>
</tr>
<tr>
@ -304,24 +309,24 @@ Retrieves <a class="link" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc" tit
<hr>
<div class="refsect2">
<a name="gimp-enum-get-value"></a><h3>gimp_enum_get_value ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_enum_get_value (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> enum_type</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_name</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_nick</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_desc</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_help</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_enum_get_value (<em class="parameter"><code><span class="type">GType</span> enum_type</code></em>,
<em class="parameter"><code><span class="type">gint</span> value</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> **value_name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> **value_nick</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> **value_desc</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> **value_help</code></em>);</pre>
<p>
Checks if <em class="parameter"><code>value</code></em> is valid for the enum registered as <em class="parameter"><code>enum_type</code></em>.
If the value exists in that enum, its name, nick and its translated
desc and help are returned (if <em class="parameter"><code>value_name</code></em>, <em class="parameter"><code>value_nick</code></em>, <em class="parameter"><code>value_desc</code></em>
and <em class="parameter"><code>value_help</code></em> are not <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>).
description and help are returned (if <em class="parameter"><code>value_name</code></em>, <em class="parameter"><code>value_nick</code></em>,
<em class="parameter"><code>value_desc</code></em> and <em class="parameter"><code>value_help</code></em> are not <code class="literal">NULL</code>).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
<td>the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> of a registered enum</td>
<td>the <span class="type">GType</span> of a registered enum</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
@ -329,25 +334,25 @@ and <em class="parameter"><code>value_help</code></em> are not <a href="/usr/sha
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value_name</code></em> :</span></p></td>
<td>return location for the value's name (or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
<td>return location for the value's name (or <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value_nick</code></em> :</span></p></td>
<td>return location for the value's nick (or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
<td>return location for the value's nick (or <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value_desc</code></em> :</span></p></td>
<td>return location for the value's translated desc (or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
<td>return location for the value's translated description (or <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value_help</code></em> :</span></p></td>
<td>return location for the value's translated help (or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
<td>return location for the value's translated help (or <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>value</code></em> is valid for the <em class="parameter"><code>enum_type</code></em>,
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
<code class="literal">TRUE</code> if <em class="parameter"><code>value</code></em> is valid for the <em class="parameter"><code>enum_type</code></em>,
<code class="literal">FALSE</code> otherwise</td>
</tr>
</tbody>
</table></div>
@ -356,27 +361,27 @@ and <em class="parameter"><code>value_help</code></em> are not <a href="/usr/sha
<hr>
<div class="refsect2">
<a name="gimp-enum-value-get-desc"></a><h3>gimp_enum_value_get_desc ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_enum_value_get_desc (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumClass"><span class="type">GEnumClass</span></a> *enum_class</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumValue"><span class="type">GEnumValue</span></a> *enum_value</code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_enum_value_get_desc (<em class="parameter"><code><span class="type">GEnumClass</span> *enum_class</code></em>,
<em class="parameter"><code><span class="type">GEnumValue</span> *enum_value</code></em>);</pre>
<p>
Retrieves the translated desc for a given <em class="parameter"><code>enum_value</code></em>.
Retrieves the translated description for a given <em class="parameter"><code>enum_value</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_class</code></em> :</span></p></td>
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumClass"><span class="type">GEnumClass</span></a>
<td>a <span class="type">GEnumClass</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_value</code></em> :</span></p></td>
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumValue"><span class="type">GEnumValue</span></a> from <em class="parameter"><code>enum_class</code></em>
<td>a <span class="type">GEnumValue</span> from <em class="parameter"><code>enum_class</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the translated desc of the enum value</td>
<td>the translated description of the enum value</td>
</tr>
</tbody>
</table></div>
@ -385,8 +390,8 @@ Retrieves the translated desc for a given <em class="parameter"><code>enum_value
<hr>
<div class="refsect2">
<a name="gimp-enum-value-get-help"></a><h3>gimp_enum_value_get_help ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_enum_value_get_help (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumClass"><span class="type">GEnumClass</span></a> *enum_class</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumValue"><span class="type">GEnumValue</span></a> *enum_value</code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_enum_value_get_help (<em class="parameter"><code><span class="type">GEnumClass</span> *enum_class</code></em>,
<em class="parameter"><code><span class="type">GEnumValue</span> *enum_value</code></em>);</pre>
<p>
Retrieves the translated help for a given <em class="parameter"><code>enum_value</code></em>.
</p>
@ -395,12 +400,12 @@ Retrieves the translated help for a given <em class="parameter"><code>enum_value
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_class</code></em> :</span></p></td>
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumClass"><span class="type">GEnumClass</span></a>
<td>a <span class="type">GEnumClass</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_value</code></em> :</span></p></td>
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GEnumValue"><span class="type">GEnumValue</span></a> from <em class="parameter"><code>enum_class</code></em>
<td>a <span class="type">GEnumValue</span> from <em class="parameter"><code>enum_class</code></em>
</td>
</tr>
<tr>
@ -414,17 +419,17 @@ Retrieves the translated help for a given <em class="parameter"><code>enum_value
<hr>
<div class="refsect2">
<a name="gimp-flags-get-first-desc"></a><h3>gimp_flags_get_first_desc ()</h3>
<pre class="programlisting"><a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc"><span class="returnvalue">GimpFlagsDesc</span></a> * gimp_flags_get_first_desc (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"><span class="type">GFlagsClass</span></a> *flags_class</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> value</code></em>);</pre>
<pre class="programlisting"><a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc"><span class="returnvalue">GimpFlagsDesc</span></a> * gimp_flags_get_first_desc (<em class="parameter"><code><span class="type">GFlagsClass</span> *flags_class</code></em>,
<em class="parameter"><code><span class="type">guint</span> value</code></em>);</pre>
<p>
Retrieves the first <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a> that matches the given value, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
Retrieves the first <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc" title="struct GimpFlagsDesc"><span class="type">GimpFlagsDesc</span></a> that matches the given value, or <code class="literal">NULL</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags_class</code></em> :</span></p></td>
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"><span class="type">GFlagsClass</span></a>
<td>a <span class="type">GFlagsClass</span>
</td>
</tr>
<tr>
@ -443,24 +448,24 @@ Retrieves the first <a class="link" href="libgimpbase-gimpbasetypes.html#GimpFla
<hr>
<div class="refsect2">
<a name="gimp-flags-get-first-value"></a><h3>gimp_flags_get_first_value ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_flags_get_first_value (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> flags_type</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> value</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_name</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_nick</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_desc</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value_help</code></em>);</pre>
<pre class="programlisting"><span class="returnvalue">gboolean</span> gimp_flags_get_first_value (<em class="parameter"><code><span class="type">GType</span> flags_type</code></em>,
<em class="parameter"><code><span class="type">guint</span> value</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> **value_name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> **value_nick</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> **value_desc</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> **value_help</code></em>);</pre>
<p>
Checks if <em class="parameter"><code>value</code></em> is valid for the flags registered as <em class="parameter"><code>flags_type</code></em>.
If the value exists in that flags, its name, nick and its translated
desc and help are returned (if <em class="parameter"><code>value_name</code></em>, <em class="parameter"><code>value_nick</code></em>, <em class="parameter"><code>value_desc</code></em>
and <em class="parameter"><code>value_help</code></em> are not <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>).
If the value exists in that flags, its name, nick and its
translated description and help are returned (if <em class="parameter"><code>value_name</code></em>,
<em class="parameter"><code>value_nick</code></em>, <em class="parameter"><code>value_desc</code></em> and <em class="parameter"><code>value_help</code></em> are not <code class="literal">NULL</code>).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags_type</code></em> :</span></p></td>
<td>the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> of registered flags</td>
<td>the <span class="type">GType</span> of registered flags</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
@ -468,25 +473,25 @@ and <em class="parameter"><code>value_help</code></em> are not <a href="/usr/sha
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value_name</code></em> :</span></p></td>
<td>return location for the value's name (or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
<td>return location for the value's name (or <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value_nick</code></em> :</span></p></td>
<td>return location for the value's nick (or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
<td>return location for the value's nick (or <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value_desc</code></em> :</span></p></td>
<td>return location for the value's translated desc (or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
<td>return location for the value's translated description (or <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value_help</code></em> :</span></p></td>
<td>return location for the value's translated help (or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>)</td>
<td>return location for the value's translated help (or <code class="literal">NULL</code>)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>value</code></em> is valid for the <em class="parameter"><code>flags_type</code></em>,
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
<code class="literal">TRUE</code> if <em class="parameter"><code>value</code></em> is valid for the <em class="parameter"><code>flags_type</code></em>,
<code class="literal">FALSE</code> otherwise</td>
</tr>
</tbody>
</table></div>
@ -495,27 +500,27 @@ and <em class="parameter"><code>value_help</code></em> are not <a href="/usr/sha
<hr>
<div class="refsect2">
<a name="gimp-flags-value-get-desc"></a><h3>gimp_flags_value_get_desc ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_flags_value_get_desc (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"><span class="type">GFlagsClass</span></a> *flags_class</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GFlagsValue"><span class="type">GFlagsValue</span></a> *flags_value</code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_flags_value_get_desc (<em class="parameter"><code><span class="type">GFlagsClass</span> *flags_class</code></em>,
<em class="parameter"><code><span class="type">GFlagsValue</span> *flags_value</code></em>);</pre>
<p>
Retrieves the translated desc for a given <em class="parameter"><code>flags_value</code></em>.
Retrieves the translated description for a given <em class="parameter"><code>flags_value</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags_class</code></em> :</span></p></td>
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"><span class="type">GFlagsClass</span></a>
<td>a <span class="type">GFlagsClass</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags_value</code></em> :</span></p></td>
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GFlagsValue"><span class="type">GFlagsValue</span></a> from <em class="parameter"><code>flags_class</code></em>
<td>a <span class="type">GFlagsValue</span> from <em class="parameter"><code>flags_class</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the translated desc of the flags value</td>
<td>the translated description of the flags value</td>
</tr>
</tbody>
</table></div>
@ -524,8 +529,8 @@ Retrieves the translated desc for a given <em class="parameter"><code>flags_valu
<hr>
<div class="refsect2">
<a name="gimp-flags-value-get-help"></a><h3>gimp_flags_value_get_help ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_flags_value_get_help (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"><span class="type">GFlagsClass</span></a> *flags_class</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GFlagsValue"><span class="type">GFlagsValue</span></a> *flags_value</code></em>);</pre>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * gimp_flags_value_get_help (<em class="parameter"><code><span class="type">GFlagsClass</span> *flags_class</code></em>,
<em class="parameter"><code><span class="type">GFlagsValue</span> *flags_value</code></em>);</pre>
<p>
Retrieves the translated help for a given <em class="parameter"><code>flags_value</code></em>.
</p>
@ -534,12 +539,12 @@ Retrieves the translated help for a given <em class="parameter"><code>flags_valu
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags_class</code></em> :</span></p></td>
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"><span class="type">GFlagsClass</span></a>
<td>a <span class="type">GFlagsClass</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags_value</code></em> :</span></p></td>
<td>a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Enumeration-and-Flag-Types.html#GFlagsValue"><span class="type">GFlagsValue</span></a> from <em class="parameter"><code>flags_class</code></em>
<td>a <span class="type">GFlagsValue</span> from <em class="parameter"><code>flags_class</code></em>
</td>
</tr>
<tr>

View File

@ -31,8 +31,8 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgimpbase-gimpversion.top_of_page"></a>gimpversion</span></h2>
<p>gimpversion — Macros and constants useful for determining GIMP's version number and
capabilities.</p>
<p>gimpversion — Macros and constants useful for determining
GIMP's version number and capabilities.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
@ -66,30 +66,34 @@ capabilities.
<pre class="programlisting">#define GIMP_MAJOR_VERSION (2)
</pre>
<p>
The major GIMP version number.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-MINOR-VERSION:CAPS"></a><h3>GIMP_MINOR_VERSION</h3>
<pre class="programlisting">#define GIMP_MINOR_VERSION (6)
<pre class="programlisting">#define GIMP_MINOR_VERSION (8)
</pre>
<p>
The minor GIMP version number.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-MICRO-VERSION:CAPS"></a><h3>GIMP_MICRO_VERSION</h3>
<pre class="programlisting">#define GIMP_MICRO_VERSION (12)
<pre class="programlisting">#define GIMP_MICRO_VERSION (0)
</pre>
<p>
The micro GIMP version number.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-VERSION:CAPS"></a><h3>GIMP_VERSION</h3>
<pre class="programlisting">#define GIMP_VERSION "2.6.12"
<pre class="programlisting">#define GIMP_VERSION "2.8.0"
</pre>
<p>
The GIMP version as a string.
</p>
</div>
<hr>
@ -97,9 +101,7 @@ capabilities.
<a name="GIMP-API-VERSION:CAPS"></a><h3>GIMP_API_VERSION</h3>
<pre class="programlisting">#define GIMP_API_VERSION "2.0"
</pre>
<p>
Since: GIMP 2.2
</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2">

View File

@ -6,13 +6,13 @@
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="prev" href="libgimpbase-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
<link rel="prev" href="libgimpbase-index-new-in-2-8.html" title="Index of new symbols in GIMP 2.8">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</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="libgimpbase-index-new-in-2-6.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="p" href="libgimpbase-index-new-in-2-8.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td> </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 Base Library Reference Manual</th>
@ -21,17 +21,22 @@
<div class="index">
<div class="titlepage"><div><div><h2 class="title">
<a name="libgimpbase-index-deprecated"></a>Index of deprecated symbols</h2></div></div></div>
<div class="index"><div class="indexdiv">
<h3>G</h3>
<div class="index">
<div class="indexdiv">
<h3>M</h3>
<dl><dt>gimp_memsize_to_string, <a class="indexterm" href="libgimpbase-gimpmemsize.html#gimp-memsize-to-string">gimp_memsize_to_string ()</a>
</dt></dl>
</div>
<div class="indexdiv">
<h3>U</h3>
<dl>
<dt>GimpUserDirectory, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpUserDirectory">enum GimpUserDirectory</a>
</dt>
<dt>gimp_memsize_to_string, <a class="indexterm" href="libgimpbase-gimpmemsize.html#gimp-memsize-to-string">gimp_memsize_to_string ()</a>
</dt>
<dt>gimp_user_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#gimp-user-directory">gimp_user_directory ()</a>
</dt>
</dl>
</div></div>
</div>
</div>
</div>
<div class="footer">
<hr>

View File

@ -22,11 +22,20 @@
<div class="index">
<div class="titlepage"><div><div><h2 class="title">
<a name="libgimpbase-index-new-in-2-2"></a>Index of new symbols in GIMP 2.2</h2></div></div></div>
<div class="index"><div class="indexdiv">
<h3>G</h3>
<div class="index">
<div class="indexdiv">
<h3>A</h3>
<dl><dt>GIMP_API_VERSION, <a class="indexterm" href="libgimpbase-gimpversion.html#GIMP-API-VERSION:CAPS">GIMP_API_VERSION</a>
</dt></dl>
</div>
<div class="indexdiv">
<h3>C</h3>
<dl><dt>gimp_checks_get_shades, <a class="indexterm" href="libgimpbase-gimpchecks.html#gimp-checks-get-shades">gimp_checks_get_shades ()</a>
</dt></dl>
</div>
<div class="indexdiv">
<h3>E</h3>
<dl>
<dt>gimp_checks_get_shades, <a class="indexterm" href="libgimpbase-gimpchecks.html#gimp-checks-get-shades">gimp_checks_get_shades ()</a>
</dt>
<dt>gimp_enum_get_desc, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-enum-get-desc">gimp_enum_get_desc ()</a>
</dt>
<dt>gimp_enum_get_value, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-enum-get-value">gimp_enum_get_value ()</a>
@ -41,6 +50,11 @@
</dt>
<dt>gimp_escape_uline, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-escape-uline">gimp_escape_uline ()</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>F</h3>
<dl>
<dt>gimp_flags_get_first_desc, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-flags-get-first-desc">gimp_flags_get_first_desc ()</a>
</dt>
<dt>gimp_flags_get_first_value, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-flags-get-first-value">gimp_flags_get_first_value ()</a>
@ -53,16 +67,27 @@
</dt>
<dt>gimp_flags_value_get_help, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-flags-value-get-help">gimp_flags_value_get_help ()</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>M</h3>
<dl>
<dt>gimp_memsize_deserialize, <a class="indexterm" href="libgimpbase-gimpmemsize.html#gimp-memsize-deserialize">gimp_memsize_deserialize ()</a>
</dt>
<dt>gimp_memsize_serialize, <a class="indexterm" href="libgimpbase-gimpmemsize.html#gimp-memsize-serialize">gimp_memsize_serialize ()</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>T</h3>
<dl>
<dt>gimp_type_get_translation_domain, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#gimp-type-get-translation-domain">gimp_type_get_translation_domain ()</a>
</dt>
<dt>gimp_type_set_translation_domain, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-domain">gimp_type_set_translation_domain ()</a>
</dt>
</dl>
</div></div>
</div>
</div>
</div>
<div class="footer">
<hr>

View File

@ -22,8 +22,9 @@
<div class="index">
<div class="titlepage"><div><div><h2 class="title">
<a name="libgimpbase-index-new-in-2-4"></a>Index of new symbols in GIMP 2.4</h2></div></div></div>
<div class="index"><div class="indexdiv">
<h3>G</h3>
<div class="index">
<div class="indexdiv">
<h3>C</h3>
<dl>
<dt>gimp_canonicalize_identifier, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-canonicalize-identifier">gimp_canonicalize_identifier ()</a>
</dt>
@ -31,18 +32,41 @@
</dt>
<dt>gimp_cpu_accel_set_use, <a class="indexterm" href="libgimpbase-gimpcpuaccel.html#gimp-cpu-accel-set-use">gimp_cpu_accel_set_use ()</a>
</dt>
<dt>gimp_env_init, <a class="indexterm" href="libgimpbase-gimpenv.html#gimp-env-init">gimp_env_init ()</a>
</dl>
</div>
<div class="indexdiv">
<h3>E</h3>
<dl><dt>gimp_env_init, <a class="indexterm" href="libgimpbase-gimpenv.html#gimp-env-init">gimp_env_init ()</a>
</dt></dl>
</div>
<div class="indexdiv">
<h3>P</h3>
<dl>
<dt>GIMP_PARAM_READABLE, <a class="indexterm" href="libgimpbase-gimpparam.html#GIMP-PARAM-READABLE:CAPS">GIMP_PARAM_READABLE</a>
</dt>
<dt>GIMP_PARAM_READWRITE, <a class="indexterm" href="libgimpbase-gimpparam.html#GIMP-PARAM-READWRITE:CAPS">GIMP_PARAM_READWRITE</a>
</dt>
<dt>gimp_param_spec_memsize, <a class="indexterm" href="libgimpbase-gimpmemsize.html#gimp-param-spec-memsize">gimp_param_spec_memsize ()</a>
</dt>
<dt>gimp_param_spec_unit, <a class="indexterm" href="libgimpbase-gimpunit.html#gimp-param-spec-unit">gimp_param_spec_unit ()</a>
</dt>
<dt>gimp_rectangle_intersect, <a class="indexterm" href="libgimpbase-gimprectangle.html#gimp-rectangle-intersect">gimp_rectangle_intersect ()</a>
<dt>GIMP_PARAM_STATIC_STRINGS, <a class="indexterm" href="libgimpbase-gimpparam.html#GIMP-PARAM-STATIC-STRINGS:CAPS">GIMP_PARAM_STATIC_STRINGS</a>
</dt>
<dt>gimp_user_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#gimp-user-directory">gimp_user_directory ()</a>
<dt>GIMP_PARAM_WRITABLE, <a class="indexterm" href="libgimpbase-gimpparam.html#GIMP-PARAM-WRITABLE:CAPS">GIMP_PARAM_WRITABLE</a>
</dt>
</dl>
</div></div>
</div>
<div class="indexdiv">
<h3>R</h3>
<dl><dt>gimp_rectangle_intersect, <a class="indexterm" href="libgimpbase-gimprectangle.html#gimp-rectangle-intersect">gimp_rectangle_intersect ()</a>
</dt></dl>
</div>
<div class="indexdiv">
<h3>U</h3>
<dl><dt>gimp_user_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#gimp-user-directory">gimp_user_directory ()</a>
</dt></dl>
</div>
</div>
</div>
<div class="footer">
<hr>

View File

@ -7,7 +7,7 @@
<link rel="home" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="prev" href="libgimpbase-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="next" href="libgimpbase-index-deprecated.html" title="Index of deprecated symbols">
<link rel="next" href="libgimpbase-index-new-in-2-8.html" title="Index of new symbols in GIMP 2.8">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
@ -17,7 +17,7 @@
<td> </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 Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-index-deprecated.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
<td><a accesskey="n" href="libgimpbase-index-new-in-2-8.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="index">
<div class="titlepage"><div><div><h2 class="title">

View File

@ -0,0 +1,62 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Index of new symbols in GIMP 2.8</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="prev" href="libgimpbase-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
<link rel="next" href="libgimpbase-index-deprecated.html" title="Index of deprecated symbols">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</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="libgimpbase-index-new-in-2-6.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td> </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 Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-index-deprecated.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="index">
<div class="titlepage"><div><div><h2 class="title">
<a name="libgimpbase-index-new-in-2-8"></a>Index of new symbols in GIMP 2.8</h2></div></div></div>
<div class="index">
<div class="indexdiv">
<h3>P</h3>
<dl><dt>gimp_pixels_to_units, <a class="indexterm" href="libgimpbase-gimpunit.html#gimp-pixels-to-units">gimp_pixels_to_units ()</a>
</dt></dl>
</div>
<div class="indexdiv">
<h3>R</h3>
<dl><dt>gimp_rectangle_union, <a class="indexterm" href="libgimpbase-gimprectangle.html#gimp-rectangle-union">gimp_rectangle_union ()</a>
</dt></dl>
</div>
<div class="indexdiv">
<h3>T</h3>
<dl>
<dt>gimp_type_get_translation_context, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#gimp-type-get-translation-context">gimp_type_get_translation_context ()</a>
</dt>
<dt>gimp_type_set_translation_context, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-context">gimp_type_set_translation_context ()</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>U</h3>
<dl>
<dt>gimp_units_to_pixels, <a class="indexterm" href="libgimpbase-gimpunit.html#gimp-units-to-pixels">gimp_units_to_pixels ()</a>
</dt>
<dt>gimp_units_to_points, <a class="indexterm" href="libgimpbase-gimpunit.html#gimp-units-to-points">gimp_units_to_points ()</a>
</dt>
<dt>gimp_unit_format_string, <a class="indexterm" href="libgimpbase-gimpunit.html#gimp-unit-format-string">gimp_unit_format_string ()</a>
</dt>
</dl>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>

View File

@ -22,105 +22,42 @@
<div class="index">
<div class="titlepage"><div><div><h2 class="title">
<a name="libgimpbase-index"></a>Index</h2></div></div></div>
<div class="index"><div class="indexdiv">
<h3>G</h3>
<div class="index">
<div class="indexdiv">
<h3>A</h3>
<dl>
<dt>GimpAddMaskType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpAddMaskType">enum GimpAddMaskType</a>
</dt>
<dt>gimp_any_to_utf8, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-any-to-utf8">gimp_any_to_utf8 ()</a>
</dt>
<dt>GIMP_API_VERSION, <a class="indexterm" href="libgimpbase-gimpversion.html#GIMP-API-VERSION:CAPS">GIMP_API_VERSION</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>B</h3>
<dl>
<dt>GimpBlendMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpBlendMode">enum GimpBlendMode</a>
</dt>
<dt>GimpBucketFillMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpBucketFillMode">enum GimpBucketFillMode</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>C</h3>
<dl>
<dt>gimp_canonicalize_identifier, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-canonicalize-identifier">gimp_canonicalize_identifier ()</a>
</dt>
<dt>GimpChannelOps, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpChannelOps">enum GimpChannelOps</a>
</dt>
<dt>GimpChannelType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpChannelType">enum GimpChannelType</a>
</dt>
<dt>GimpCheckSize, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpCheckSize">enum GimpCheckSize</a>
</dt>
<dt>GimpCheckType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpCheckType">enum GimpCheckType</a>
</dt>
<dt>GimpCloneType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpCloneType">enum GimpCloneType</a>
</dt>
<dt>GimpCpuAccelFlags, <a class="indexterm" href="libgimpbase-gimpcpuaccel.html#GimpCpuAccelFlags">enum GimpCpuAccelFlags</a>
</dt>
<dt>GimpDatafileData, <a class="indexterm" href="libgimpbase-gimpdatafiles.html#GimpDatafileData">GimpDatafileData</a>
</dt>
<dt>GimpDatafileLoaderFunc, <a class="indexterm" href="libgimpbase-gimpdatafiles.html#GimpDatafileLoaderFunc">GimpDatafileLoaderFunc ()</a>
</dt>
<dt>GimpDesaturateMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpDesaturateMode">enum GimpDesaturateMode</a>
</dt>
<dt>GimpDodgeBurnType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpDodgeBurnType">enum GimpDodgeBurnType</a>
</dt>
<dt>GimpEnumDesc, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">struct GimpEnumDesc</a>
</dt>
<dt>GimpFlagsDesc, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">struct GimpFlagsDesc</a>
</dt>
<dt>GimpForegroundExtractMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpForegroundExtractMode">enum GimpForegroundExtractMode</a>
</dt>
<dt>GimpGradientType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpGradientType">enum GimpGradientType</a>
</dt>
<dt>GimpGridStyle, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpGridStyle">enum GimpGridStyle</a>
</dt>
<dt>GimpIconType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpIconType">enum GimpIconType</a>
</dt>
<dt>GimpImageBaseType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpImageBaseType">enum GimpImageBaseType</a>
</dt>
<dt>GimpImageType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpImageType">enum GimpImageType</a>
</dt>
<dt>GimpInterpolationType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpInterpolationType">enum GimpInterpolationType</a>
</dt>
<dt>GimpMessageHandlerType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpMessageHandlerType">enum GimpMessageHandlerType</a>
</dt>
<dt>GimpPaintApplicationMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpPaintApplicationMode">enum GimpPaintApplicationMode</a>
</dt>
<dt>GimpParasite, <a class="indexterm" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a>
</dt>
<dt>GimpPDBArgType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpPDBArgType">enum GimpPDBArgType</a>
</dt>
<dt>GimpPDBErrorHandler, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpPDBErrorHandler">enum GimpPDBErrorHandler</a>
</dt>
<dt>GimpPDBProcType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpPDBProcType">enum GimpPDBProcType</a>
</dt>
<dt>GimpPDBStatusType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpPDBStatusType">enum GimpPDBStatusType</a>
</dt>
<dt>GimpProgressCommand, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpProgressCommand">enum GimpProgressCommand</a>
</dt>
<dt>GimpRepeatMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpRepeatMode">enum GimpRepeatMode</a>
</dt>
<dt>GimpRunMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpRunMode">enum GimpRunMode</a>
</dt>
<dt>GimpSignalHandlerFunc, <a class="indexterm" href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc">GimpSignalHandlerFunc ()</a>
</dt>
<dt>GimpSizeType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpSizeType">enum GimpSizeType</a>
</dt>
<dt>GimpStackTraceMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpStackTraceMode">enum GimpStackTraceMode</a>
</dt>
<dt>GimpTextDirection, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpTextDirection">enum GimpTextDirection</a>
</dt>
<dt>GimpTextJustification, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpTextJustification">enum GimpTextJustification</a>
</dt>
<dt>GimpTransferMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpTransferMode">enum GimpTransferMode</a>
</dt>
<dt>GimpTransformDirection, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpTransformDirection">enum GimpTransformDirection</a>
</dt>
<dt>GimpTransformResize, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpTransformResize">enum GimpTransformResize</a>
</dt>
<dt>GimpUnit, <a class="indexterm" href="libgimpbase-gimpunit.html#GimpUnit">enum GimpUnit</a>
</dt>
<dt>GimpUserDirectory, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpUserDirectory">enum GimpUserDirectory</a>
</dt>
<dt>GIMPVAR, <a class="indexterm" href="libgimpbase-gimpversion.html#GIMPVAR:CAPS">GIMPVAR</a>
</dt>
<dt>GimpVectorsStrokeType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpVectorsStrokeType">enum GimpVectorsStrokeType</a>
</dt>
<dt>gimp_any_to_utf8, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-any-to-utf8">gimp_any_to_utf8 ()</a>
</dt>
<dt>GIMP_API_VERSION, <a class="indexterm" href="libgimpbase-gimpversion.html#GIMP-API-VERSION:CAPS">GIMP_API_VERSION</a>
</dt>
<dt>gimp_canonicalize_identifier, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-canonicalize-identifier">gimp_canonicalize_identifier ()</a>
</dt>
<dt>gimp_checks_get_shades, <a class="indexterm" href="libgimpbase-gimpchecks.html#gimp-checks-get-shades">gimp_checks_get_shades ()</a>
</dt>
<dt>GimpCheckType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpCheckType">enum GimpCheckType</a>
</dt>
<dt>GIMP_CHECK_DARK, <a class="indexterm" href="libgimpbase-gimpchecks.html#GIMP-CHECK-DARK:CAPS">GIMP_CHECK_DARK</a>
</dt>
<dt>GIMP_CHECK_LIGHT, <a class="indexterm" href="libgimpbase-gimpchecks.html#GIMP-CHECK-LIGHT:CAPS">GIMP_CHECK_LIGHT</a>
@ -131,18 +68,42 @@
</dt>
<dt>GIMP_CHECK_VERSION, <a class="indexterm" href="libgimpbase-gimpversion.html#GIMP-CHECK-VERSION:CAPS">GIMP_CHECK_VERSION()</a>
</dt>
<dt>GimpCloneType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpCloneType">enum GimpCloneType</a>
</dt>
<dt>GimpCpuAccelFlags, <a class="indexterm" href="libgimpbase-gimpcpuaccel.html#GimpCpuAccelFlags">enum GimpCpuAccelFlags</a>
</dt>
<dt>gimp_cpu_accel_get_support, <a class="indexterm" href="libgimpbase-gimpcpuaccel.html#gimp-cpu-accel-get-support">gimp_cpu_accel_get_support ()</a>
</dt>
<dt>gimp_cpu_accel_set_use, <a class="indexterm" href="libgimpbase-gimpcpuaccel.html#gimp-cpu-accel-set-use">gimp_cpu_accel_set_use ()</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>D</h3>
<dl>
<dt>GimpDatafileData, <a class="indexterm" href="libgimpbase-gimpdatafiles.html#GimpDatafileData">GimpDatafileData</a>
</dt>
<dt>GimpDatafileLoaderFunc, <a class="indexterm" href="libgimpbase-gimpdatafiles.html#GimpDatafileLoaderFunc">GimpDatafileLoaderFunc ()</a>
</dt>
<dt>gimp_datafiles_check_extension, <a class="indexterm" href="libgimpbase-gimpdatafiles.html#gimp-datafiles-check-extension">gimp_datafiles_check_extension ()</a>
</dt>
<dt>gimp_datafiles_read_directories, <a class="indexterm" href="libgimpbase-gimpdatafiles.html#gimp-datafiles-read-directories">gimp_datafiles_read_directories ()</a>
</dt>
<dt>gimp_data_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#gimp-data-directory">gimp_data_directory ()</a>
</dt>
<dt>GimpDesaturateMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpDesaturateMode">enum GimpDesaturateMode</a>
</dt>
<dt>gimp_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#gimp-directory">gimp_directory ()</a>
</dt>
<dt>GimpDodgeBurnType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpDodgeBurnType">enum GimpDodgeBurnType</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>E</h3>
<dl>
<dt>GimpEnumDesc, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#GimpEnumDesc">struct GimpEnumDesc</a>
</dt>
<dt>gimp_enum_get_desc, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-enum-get-desc">gimp_enum_get_desc ()</a>
</dt>
<dt>gimp_enum_get_value, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-enum-get-value">gimp_enum_get_value ()</a>
@ -159,8 +120,15 @@
</dt>
<dt>gimp_escape_uline, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-escape-uline">gimp_escape_uline ()</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>F</h3>
<dl>
<dt>gimp_filename_to_utf8, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-filename-to-utf8">gimp_filename_to_utf8 ()</a>
</dt>
<dt>GimpFlagsDesc, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#GimpFlagsDesc">struct GimpFlagsDesc</a>
</dt>
<dt>gimp_flags_get_first_desc, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-flags-get-first-desc">gimp_flags_get_first_desc ()</a>
</dt>
<dt>gimp_flags_get_first_value, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-flags-get-first-value">gimp_flags_get_first_value ()</a>
@ -173,16 +141,48 @@
</dt>
<dt>gimp_flags_value_get_help, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-flags-value-get-help">gimp_flags_value_get_help ()</a>
</dt>
<dt>GimpForegroundExtractMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpForegroundExtractMode">enum GimpForegroundExtractMode</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>G</h3>
<dl>
<dt>GimpGradientType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpGradientType">enum GimpGradientType</a>
</dt>
<dt>GimpGridStyle, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpGridStyle">enum GimpGridStyle</a>
</dt>
<dt>gimp_gtkrc, <a class="indexterm" href="libgimpbase-gimpenv.html#gimp-gtkrc">gimp_gtkrc ()</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>I</h3>
<dl>
<dt>GimpIconType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpIconType">enum GimpIconType</a>
</dt>
<dt>GimpImageBaseType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpImageBaseType">enum GimpImageBaseType</a>
</dt>
<dt>GimpImageType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpImageType">enum GimpImageType</a>
</dt>
<dt>GimpInterpolationType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpInterpolationType">enum GimpInterpolationType</a>
</dt>
<dt>GIMP_IS_PARAM_SPEC_MEMSIZE, <a class="indexterm" href="libgimpbase-gimpmemsize.html#GIMP-IS-PARAM-SPEC-MEMSIZE:CAPS">GIMP_IS_PARAM_SPEC_MEMSIZE()</a>
</dt>
<dt>GIMP_IS_PARAM_SPEC_PARASITE, <a class="indexterm" href="libgimpbase-gimpparasite.html#GIMP-IS-PARAM-SPEC-PARASITE:CAPS">GIMP_IS_PARAM_SPEC_PARASITE()</a>
</dt>
<dt>GIMP_IS_PARAM_SPEC_UNIT, <a class="indexterm" href="libgimpbase-gimpunit.html#GIMP-IS-PARAM-SPEC-UNIT:CAPS">GIMP_IS_PARAM_SPEC_UNIT()</a>
</dt>
<dt>gimp_locale_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#gimp-locale-directory">gimp_locale_directory ()</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>L</h3>
<dl><dt>gimp_locale_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#gimp-locale-directory">gimp_locale_directory ()</a>
</dt></dl>
</div>
<div class="indexdiv">
<h3>M</h3>
<dl>
<dt>GIMP_MAJOR_VERSION, <a class="indexterm" href="libgimpbase-gimpversion.html#GIMP-MAJOR-VERSION:CAPS">GIMP_MAJOR_VERSION</a>
</dt>
<dt>gimp_major_version, <a class="indexterm" href="libgimpbase-gimpversion.html#gimp-major-version">gimp_major_version</a>
@ -199,6 +199,8 @@
</dt>
<dt>gimp_memsize_to_string, <a class="indexterm" href="libgimpbase-gimpmemsize.html#gimp-memsize-to-string">gimp_memsize_to_string ()</a>
</dt>
<dt>GimpMessageHandlerType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpMessageHandlerType">enum GimpMessageHandlerType</a>
</dt>
<dt>GIMP_MICRO_VERSION, <a class="indexterm" href="libgimpbase-gimpversion.html#GIMP-MICRO-VERSION:CAPS">GIMP_MICRO_VERSION</a>
</dt>
<dt>gimp_micro_version, <a class="indexterm" href="libgimpbase-gimpversion.html#gimp-micro-version">gimp_micro_version</a>
@ -211,6 +213,13 @@
</dt>
<dt>GIMP_MIN_RESOLUTION, <a class="indexterm" href="libgimpbase-gimplimits.html#GIMP-MIN-RESOLUTION:CAPS">GIMP_MIN_RESOLUTION</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>P</h3>
<dl>
<dt>GimpPaintApplicationMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpPaintApplicationMode">enum GimpPaintApplicationMode</a>
</dt>
<dt>GIMP_PARAM_READABLE, <a class="indexterm" href="libgimpbase-gimpparam.html#GIMP-PARAM-READABLE:CAPS">GIMP_PARAM_READABLE</a>
</dt>
<dt>GIMP_PARAM_READWRITE, <a class="indexterm" href="libgimpbase-gimpparam.html#GIMP-PARAM-READWRITE:CAPS">GIMP_PARAM_READWRITE</a>
@ -225,6 +234,8 @@
</dt>
<dt>GIMP_PARAM_WRITABLE, <a class="indexterm" href="libgimpbase-gimpparam.html#GIMP-PARAM-WRITABLE:CAPS">GIMP_PARAM_WRITABLE</a>
</dt>
<dt>GimpParasite, <a class="indexterm" href="libgimpbase-gimpparasite.html#GimpParasite">GimpParasite</a>
</dt>
<dt>GIMP_PARASITE_ATTACH_GRANDPARENT, <a class="indexterm" href="libgimpbase-gimpparasite.html#GIMP-PARASITE-ATTACH-GRANDPARENT:CAPS">GIMP_PARASITE_ATTACH_GRANDPARENT</a>
</dt>
<dt>GIMP_PARASITE_ATTACH_PARENT, <a class="indexterm" href="libgimpbase-gimpparasite.html#GIMP-PARASITE-ATTACH-PARENT:CAPS">GIMP_PARASITE_ATTACH_PARENT</a>
@ -273,8 +284,20 @@
</dt>
<dt>gimp_path_to_str, <a class="indexterm" href="libgimpbase-gimpenv.html#gimp-path-to-str">gimp_path_to_str ()</a>
</dt>
<dt>GimpPDBArgType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpPDBArgType">enum GimpPDBArgType</a>
</dt>
<dt>GimpPDBErrorHandler, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpPDBErrorHandler">enum GimpPDBErrorHandler</a>
</dt>
<dt>GimpPDBProcType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpPDBProcType">enum GimpPDBProcType</a>
</dt>
<dt>GimpPDBStatusType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpPDBStatusType">enum GimpPDBStatusType</a>
</dt>
<dt>gimp_personal_rc_file, <a class="indexterm" href="libgimpbase-gimpenv.html#gimp-personal-rc-file">gimp_personal_rc_file ()</a>
</dt>
<dt>gimp_pixels_to_units, <a class="indexterm" href="libgimpbase-gimpunit.html#gimp-pixels-to-units">gimp_pixels_to_units ()</a>
</dt>
<dt>GimpPixPipeParams, <a class="indexterm" href="libgimpbase-gimpparasiteio.html#GimpPixPipeParams">struct GimpPixPipeParams</a>
</dt>
<dt>GIMP_PIXPIPE_MAXDIM, <a class="indexterm" href="libgimpbase-gimpparasiteio.html#GIMP-PIXPIPE-MAXDIM:CAPS">GIMP_PIXPIPE_MAXDIM</a>
</dt>
<dt>gimp_pixpipe_params_build, <a class="indexterm" href="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-build">gimp_pixpipe_params_build ()</a>
@ -285,14 +308,57 @@
</dt>
<dt>gimp_plug_in_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#gimp-plug-in-directory">gimp_plug_in_directory ()</a>
</dt>
<dt>GimpProgressCommand, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpProgressCommand">enum GimpProgressCommand</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>R</h3>
<dl>
<dt>gimp_rectangle_intersect, <a class="indexterm" href="libgimpbase-gimprectangle.html#gimp-rectangle-intersect">gimp_rectangle_intersect ()</a>
</dt>
<dt>gimp_rectangle_union, <a class="indexterm" href="libgimpbase-gimprectangle.html#gimp-rectangle-union">gimp_rectangle_union ()</a>
</dt>
<dt>GimpRepeatMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpRepeatMode">enum GimpRepeatMode</a>
</dt>
<dt>GimpRunMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpRunMode">enum GimpRunMode</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>S</h3>
<dl>
<dt>GimpSignalHandlerFunc, <a class="indexterm" href="libgimpbase-gimpsignal.html#GimpSignalHandlerFunc">GimpSignalHandlerFunc ()</a>
</dt>
<dt>gimp_signal_private, <a class="indexterm" href="libgimpbase-gimpsignal.html#gimp-signal-private">gimp_signal_private ()</a>
</dt>
<dt>GimpSizeType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpSizeType">enum GimpSizeType</a>
</dt>
<dt>GimpStackTraceMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpStackTraceMode">enum GimpStackTraceMode</a>
</dt>
<dt>gimp_strip_uline, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-strip-uline">gimp_strip_uline ()</a>
</dt>
<dt>gimp_sysconf_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#gimp-sysconf-directory">gimp_sysconf_directory ()</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>T</h3>
<dl>
<dt>GimpTextDirection, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpTextDirection">enum GimpTextDirection</a>
</dt>
<dt>GimpTextHintStyle, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpTextHintStyle">enum GimpTextHintStyle</a>
</dt>
<dt>GimpTextJustification, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpTextJustification">enum GimpTextJustification</a>
</dt>
<dt>GimpTransferMode, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpTransferMode">enum GimpTransferMode</a>
</dt>
<dt>GimpTransformDirection, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpTransformDirection">enum GimpTransformDirection</a>
</dt>
<dt>GimpTransformResize, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpTransformResize">enum GimpTransformResize</a>
</dt>
<dt>gimp_type_get_translation_context, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#gimp-type-get-translation-context">gimp_type_get_translation_context ()</a>
</dt>
<dt>gimp_type_get_translation_domain, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#gimp-type-get-translation-domain">gimp_type_get_translation_domain ()</a>
</dt>
<dt>GIMP_TYPE_MEMSIZE, <a class="indexterm" href="libgimpbase-gimpmemsize.html#GIMP-TYPE-MEMSIZE:CAPS">GIMP_TYPE_MEMSIZE</a>
@ -305,10 +371,25 @@
</dt>
<dt>GIMP_TYPE_PARASITE, <a class="indexterm" href="libgimpbase-gimpparasite.html#GIMP-TYPE-PARASITE:CAPS">GIMP_TYPE_PARASITE</a>
</dt>
<dt>gimp_type_set_translation_context, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-context">gimp_type_set_translation_context ()</a>
</dt>
<dt>gimp_type_set_translation_domain, <a class="indexterm" href="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-domain">gimp_type_set_translation_domain ()</a>
</dt>
<dt>GIMP_TYPE_UNIT, <a class="indexterm" href="libgimpbase-gimpunit.html#GIMP-TYPE-UNIT:CAPS">GIMP_TYPE_UNIT</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>U</h3>
<dl>
<dt>GimpUnit, <a class="indexterm" href="libgimpbase-gimpunit.html#GimpUnit">enum GimpUnit</a>
</dt>
<dt>gimp_units_to_pixels, <a class="indexterm" href="libgimpbase-gimpunit.html#gimp-units-to-pixels">gimp_units_to_pixels ()</a>
</dt>
<dt>gimp_units_to_points, <a class="indexterm" href="libgimpbase-gimpunit.html#gimp-units-to-points">gimp_units_to_points ()</a>
</dt>
<dt>gimp_unit_format_string, <a class="indexterm" href="libgimpbase-gimpunit.html#gimp-unit-format-string">gimp_unit_format_string ()</a>
</dt>
<dt>gimp_unit_get_abbreviation, <a class="indexterm" href="libgimpbase-gimpunit.html#gimp-unit-get-abbreviation">gimp_unit_get_abbreviation ()</a>
</dt>
<dt>gimp_unit_get_deletion_flag, <a class="indexterm" href="libgimpbase-gimpunit.html#gimp-unit-get-deletion-flag">gimp_unit_get_deletion_flag ()</a>
@ -333,20 +414,32 @@
</dt>
<dt>gimp_unit_set_deletion_flag, <a class="indexterm" href="libgimpbase-gimpunit.html#gimp-unit-set-deletion-flag">gimp_unit_set_deletion_flag ()</a>
</dt>
<dt>GimpUserDirectory, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpUserDirectory">enum GimpUserDirectory</a>
</dt>
<dt>gimp_user_directory, <a class="indexterm" href="libgimpbase-gimpenv.html#gimp-user-directory">gimp_user_directory ()</a>
</dt>
<dt>gimp_utf8_strtrim, <a class="indexterm" href="libgimpbase-gimputils.html#gimp-utf8-strtrim">gimp_utf8_strtrim ()</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>V</h3>
<dl>
<dt>GIMP_VALUE_HOLDS_MEMSIZE, <a class="indexterm" href="libgimpbase-gimpmemsize.html#GIMP-VALUE-HOLDS-MEMSIZE:CAPS">GIMP_VALUE_HOLDS_MEMSIZE()</a>
</dt>
<dt>GIMP_VALUE_HOLDS_PARASITE, <a class="indexterm" href="libgimpbase-gimpparasite.html#GIMP-VALUE-HOLDS-PARASITE:CAPS">GIMP_VALUE_HOLDS_PARASITE()</a>
</dt>
<dt>GIMP_VALUE_HOLDS_UNIT, <a class="indexterm" href="libgimpbase-gimpunit.html#GIMP-VALUE-HOLDS-UNIT:CAPS">GIMP_VALUE_HOLDS_UNIT()</a>
</dt>
<dt>GIMPVAR, <a class="indexterm" href="libgimpbase-gimpversion.html#GIMPVAR:CAPS">GIMPVAR</a>
</dt>
<dt>GimpVectorsStrokeType, <a class="indexterm" href="libgimpbase-gimpbaseenums.html#GimpVectorsStrokeType">enum GimpVectorsStrokeType</a>
</dt>
<dt>GIMP_VERSION, <a class="indexterm" href="libgimpbase-gimpversion.html#GIMP-VERSION:CAPS">GIMP_VERSION</a>
</dt>
</dl>
</div></div>
</div>
</div>
</div>
<div class="footer">
<hr>

View File

@ -24,6 +24,7 @@
<sub name="Index of new symbols in GIMP 2.2" link="libgimpbase-index-new-in-2-2.html"/>
<sub name="Index of new symbols in GIMP 2.4" link="libgimpbase-index-new-in-2-4.html"/>
<sub name="Index of new symbols in GIMP 2.6" link="libgimpbase-index-new-in-2-6.html"/>
<sub name="Index of new symbols in GIMP 2.8" link="libgimpbase-index-new-in-2-8.html"/>
<sub name="Index of deprecated symbols" link="libgimpbase-index-deprecated.html"/>
</chapters>
<functions>
@ -56,6 +57,7 @@
<keyword type="enum" name="enum GimpSizeType" link="libgimpbase-gimpbaseenums.html#GimpSizeType"/>
<keyword type="enum" name="enum GimpStackTraceMode" link="libgimpbase-gimpbaseenums.html#GimpStackTraceMode"/>
<keyword type="enum" name="enum GimpTextDirection" link="libgimpbase-gimpbaseenums.html#GimpTextDirection"/>
<keyword type="enum" name="enum GimpTextHintStyle" link="libgimpbase-gimpbaseenums.html#GimpTextHintStyle"/>
<keyword type="enum" name="enum GimpTextJustification" link="libgimpbase-gimpbaseenums.html#GimpTextJustification"/>
<keyword type="enum" name="enum GimpTransferMode" link="libgimpbase-gimpbaseenums.html#GimpTransferMode"/>
<keyword type="enum" name="enum GimpTransformDirection" link="libgimpbase-gimpbaseenums.html#GimpTransformDirection"/>
@ -66,6 +68,8 @@
<keyword type="struct" name="struct GimpFlagsDesc" link="libgimpbase-gimpbasetypes.html#GimpFlagsDesc"/>
<keyword type="function" name="gimp_type_set_translation_domain ()" link="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-domain" since="GIMP 2.2"/>
<keyword type="function" name="gimp_type_get_translation_domain ()" link="libgimpbase-gimpbasetypes.html#gimp-type-get-translation-domain" since="GIMP 2.2"/>
<keyword type="function" name="gimp_type_set_translation_context ()" link="libgimpbase-gimpbasetypes.html#gimp-type-set-translation-context" since="GIMP 2.8"/>
<keyword type="function" name="gimp_type_get_translation_context ()" link="libgimpbase-gimpbasetypes.html#gimp-type-get-translation-context" since="GIMP 2.8"/>
<keyword type="function" name="gimp_enum_set_value_descriptions ()" link="libgimpbase-gimpbasetypes.html#gimp-enum-set-value-descriptions" since="GIMP 2.2"/>
<keyword type="function" name="gimp_enum_get_value_descriptions ()" link="libgimpbase-gimpbasetypes.html#gimp-enum-get-value-descriptions" since="GIMP 2.2"/>
<keyword type="function" name="gimp_flags_get_value_descriptions ()" link="libgimpbase-gimpbasetypes.html#gimp-flags-get-value-descriptions" since="GIMP 2.2"/>
@ -74,7 +78,7 @@
<keyword type="macro" name="GIMP_MINOR_VERSION" link="libgimpbase-gimpversion.html#GIMP-MINOR-VERSION:CAPS"/>
<keyword type="macro" name="GIMP_MICRO_VERSION" link="libgimpbase-gimpversion.html#GIMP-MICRO-VERSION:CAPS"/>
<keyword type="macro" name="GIMP_VERSION" link="libgimpbase-gimpversion.html#GIMP-VERSION:CAPS"/>
<keyword type="macro" name="GIMP_API_VERSION" link="libgimpbase-gimpversion.html#GIMP-API-VERSION:CAPS"/>
<keyword type="macro" name="GIMP_API_VERSION" link="libgimpbase-gimpversion.html#GIMP-API-VERSION:CAPS" since="GIMP 2.2"/>
<keyword type="macro" name="GIMP_CHECK_VERSION()" link="libgimpbase-gimpversion.html#GIMP-CHECK-VERSION:CAPS"/>
<keyword type="macro" name="GIMPVAR" link="libgimpbase-gimpversion.html#GIMPVAR:CAPS"/>
<keyword type="variable" name="gimp_major_version" link="libgimpbase-gimpversion.html#gimp-major-version"/>
@ -85,10 +89,10 @@
<keyword type="macro" name="GIMP_MIN_RESOLUTION" link="libgimpbase-gimplimits.html#GIMP-MIN-RESOLUTION:CAPS"/>
<keyword type="macro" name="GIMP_MAX_RESOLUTION" link="libgimpbase-gimplimits.html#GIMP-MAX-RESOLUTION:CAPS"/>
<keyword type="macro" name="GIMP_MAX_MEMSIZE" link="libgimpbase-gimplimits.html#GIMP-MAX-MEMSIZE:CAPS"/>
<keyword type="macro" name="GIMP_PARAM_STATIC_STRINGS" link="libgimpbase-gimpparam.html#GIMP-PARAM-STATIC-STRINGS:CAPS"/>
<keyword type="macro" name="GIMP_PARAM_READABLE" link="libgimpbase-gimpparam.html#GIMP-PARAM-READABLE:CAPS"/>
<keyword type="macro" name="GIMP_PARAM_WRITABLE" link="libgimpbase-gimpparam.html#GIMP-PARAM-WRITABLE:CAPS"/>
<keyword type="macro" name="GIMP_PARAM_READWRITE" link="libgimpbase-gimpparam.html#GIMP-PARAM-READWRITE:CAPS"/>
<keyword type="macro" name="GIMP_PARAM_STATIC_STRINGS" link="libgimpbase-gimpparam.html#GIMP-PARAM-STATIC-STRINGS:CAPS" since="GIMP 2.4"/>
<keyword type="macro" name="GIMP_PARAM_READABLE" link="libgimpbase-gimpparam.html#GIMP-PARAM-READABLE:CAPS" since="GIMP 2.4"/>
<keyword type="macro" name="GIMP_PARAM_WRITABLE" link="libgimpbase-gimpparam.html#GIMP-PARAM-WRITABLE:CAPS" since="GIMP 2.4"/>
<keyword type="macro" name="GIMP_PARAM_READWRITE" link="libgimpbase-gimpparam.html#GIMP-PARAM-READWRITE:CAPS" since="GIMP 2.4"/>
<keyword type="macro" name="GIMP_CHECK_SIZE" link="libgimpbase-gimpchecks.html#GIMP-CHECK-SIZE:CAPS"/>
<keyword type="macro" name="GIMP_CHECK_SIZE_SM" link="libgimpbase-gimpchecks.html#GIMP-CHECK-SIZE-SM:CAPS"/>
<keyword type="macro" name="GIMP_CHECK_DARK" link="libgimpbase-gimpchecks.html#GIMP-CHECK-DARK:CAPS"/>
@ -123,6 +127,7 @@
<keyword type="function" name="gimp_param_spec_memsize ()" link="libgimpbase-gimpmemsize.html#gimp-param-spec-memsize" since="GIMP 2.4"/>
<keyword type="macro" name="GIMP_VALUE_HOLDS_MEMSIZE()" link="libgimpbase-gimpmemsize.html#GIMP-VALUE-HOLDS-MEMSIZE:CAPS"/>
<keyword type="function" name="gimp_rectangle_intersect ()" link="libgimpbase-gimprectangle.html#gimp-rectangle-intersect" since="GIMP 2.4"/>
<keyword type="function" name="gimp_rectangle_union ()" link="libgimpbase-gimprectangle.html#gimp-rectangle-union" since="GIMP 2.8"/>
<keyword type="struct" name="GimpParasite" link="libgimpbase-gimpparasite.html#GimpParasite"/>
<keyword type="function" name="gimp_parasite_new ()" link="libgimpbase-gimpparasite.html#gimp-parasite-new"/>
<keyword type="function" name="gimp_parasite_free ()" link="libgimpbase-gimpparasite.html#gimp-parasite-free"/>
@ -150,6 +155,7 @@
<keyword type="function" name="gimp_param_spec_parasite ()" link="libgimpbase-gimpparasite.html#gimp-param-spec-parasite"/>
<keyword type="macro" name="GIMP_VALUE_HOLDS_PARASITE()" link="libgimpbase-gimpparasite.html#GIMP-VALUE-HOLDS-PARASITE:CAPS"/>
<keyword type="macro" name="GIMP_PIXPIPE_MAXDIM" link="libgimpbase-gimpparasiteio.html#GIMP-PIXPIPE-MAXDIM:CAPS"/>
<keyword type="struct" name="struct GimpPixPipeParams" link="libgimpbase-gimpparasiteio.html#GimpPixPipeParams"/>
<keyword type="function" name="gimp_pixpipe_params_init ()" link="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-init"/>
<keyword type="function" name="gimp_pixpipe_params_parse ()" link="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-parse"/>
<keyword type="function" name="gimp_pixpipe_params_build ()" link="libgimpbase-gimpparasiteio.html#gimp-pixpipe-params-build"/>
@ -168,6 +174,10 @@
<keyword type="function" name="gimp_unit_get_abbreviation ()" link="libgimpbase-gimpunit.html#gimp-unit-get-abbreviation"/>
<keyword type="function" name="gimp_unit_get_singular ()" link="libgimpbase-gimpunit.html#gimp-unit-get-singular"/>
<keyword type="function" name="gimp_unit_get_plural ()" link="libgimpbase-gimpunit.html#gimp-unit-get-plural"/>
<keyword type="function" name="gimp_unit_format_string ()" link="libgimpbase-gimpunit.html#gimp-unit-format-string" since="GIMP 2.8"/>
<keyword type="function" name="gimp_pixels_to_units ()" link="libgimpbase-gimpunit.html#gimp-pixels-to-units" since="GIMP 2.8"/>
<keyword type="function" name="gimp_units_to_pixels ()" link="libgimpbase-gimpunit.html#gimp-units-to-pixels" since="GIMP 2.8"/>
<keyword type="function" name="gimp_units_to_points ()" link="libgimpbase-gimpunit.html#gimp-units-to-points" since="GIMP 2.8"/>
<keyword type="macro" name="GIMP_TYPE_UNIT" link="libgimpbase-gimpunit.html#GIMP-TYPE-UNIT:CAPS"/>
<keyword type="macro" name="GIMP_TYPE_PARAM_UNIT" link="libgimpbase-gimpunit.html#GIMP-TYPE-PARAM-UNIT:CAPS"/>
<keyword type="macro" name="GIMP_IS_PARAM_SPEC_UNIT()" link="libgimpbase-gimpunit.html#GIMP-IS-PARAM-SPEC-UNIT:CAPS"/>

View File

@ -29,23 +29,26 @@
<span class="refentrytitle"><a href="libgimpbase-gimpbaseenums.html">gimpbaseenums</a></span><span class="refpurpose"> — Basic GIMP enumeration data types.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpbasetypes.html">gimpbasetypes</a></span><span class="refpurpose"> — Translation between gettext translation domain identifier and GType.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpbasetypes.html">gimpbasetypes</a></span><span class="refpurpose"> — Translation between gettext translation domain
identifier and GType.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpversion.html">gimpversion</a></span><span class="refpurpose"> — Macros and constants useful for determining GIMP's version number and
capabilities.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpversion.html">gimpversion</a></span><span class="refpurpose"> — Macros and constants useful for determining
GIMP's version number and capabilities.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimplimits.html">gimplimits</a></span><span class="refpurpose"> — Boundaries of some GIMP data types and some global constants.</span>
<span class="refentrytitle"><a href="libgimpbase-gimplimits.html">gimplimits</a></span><span class="refpurpose"> — Boundaries of some GIMP data types and some
global constants.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpparam.html">gimpparam</a></span><span class="refpurpose"> — Definitions of useful <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamFlags"><span class="type">GParamFlags</span></a>.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpparam.html">gimpparam</a></span><span class="refpurpose"> — Definitions of useful <span class="type">GParamFlags</span>.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpchecks.html">gimpchecks</a></span><span class="refpurpose"> — Constants and functions related to rendering checkerboards.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpchecks.html">gimpchecks</a></span><span class="refpurpose"> — Constants and functions related to rendering
checkerboards.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpcpuaccel.html">gimpcpuaccel</a></span><span class="refpurpose"></span>
<span class="refentrytitle"><a href="libgimpbase-gimpcpuaccel.html">gimpcpuaccel</a></span><span class="refpurpose"> — Functions to query and configure CPU acceleration.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpdatafiles.html">gimpdatafiles</a></span><span class="refpurpose"> — Functions to handle GIMP data files.</span>
@ -57,20 +60,22 @@ capabilities.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpmemsize.html">gimpmemsize</a></span><span class="refpurpose"> — Functions to (de)serialize a given memory size.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimprectangle.html">gimprectangle</a></span><span class="refpurpose"></span>
<span class="refentrytitle"><a href="libgimpbase-gimprectangle.html">gimprectangle</a></span><span class="refpurpose"> — Utility functions dealing with rectangle extents.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpparasite.html">gimpparasite</a></span><span class="refpurpose"> — Arbitrary pieces of data which can be attached to various GIMP objects.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpparasite.html">gimpparasite</a></span><span class="refpurpose"> — Arbitrary pieces of data which can be attached
to various GIMP objects.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpparasiteio.html">gimpparasiteio</a></span><span class="refpurpose"> — Utility functions to (de)serialize certain C structures to/from <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a>'s.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpparasiteio.html">gimpparasiteio</a></span><span class="refpurpose"> — Utility functions to (de)serialize certain C
structures to/from <a class="link" href="libgimpbase-gimpparasite.html#GimpParasite" title="GimpParasite"><span class="type">GimpParasite</span></a>'s.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpsignal.html">gimpsignal</a></span><span class="refpurpose"> — Portable signal handling.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimpunit.html">gimpunit</a></span><span class="refpurpose"> — Provides a collection of predefined units and functions for creating
user-defined units.</span>
<span class="refentrytitle"><a href="libgimpbase-gimpunit.html">gimpunit</a></span><span class="refpurpose"> — Provides a collection of predefined units and
functions for creating user-defined units.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpbase-gimputils.html">gimputils</a></span><span class="refpurpose"> — Utilities of general interest</span>

View File

@ -43,6 +43,9 @@
<index role="GIMP 2.6" id="libgimpbase-index-new-in-2-6">
<title>Index of new symbols in GIMP 2.6</title>
</index>
<index role="GIMP 2.8" id="libgimpbase-index-new-in-2-8">
<title>Index of new symbols in GIMP 2.8</title>
</index>
<index role="deprecated" id="libgimpbase-index-deprecated">
<title>Index of deprecated symbols</title>
</index>

View File

@ -4,6 +4,8 @@ GimpEnumDesc
GimpFlagsDesc
gimp_type_set_translation_domain
gimp_type_get_translation_domain
gimp_type_set_translation_context
gimp_type_get_translation_context
gimp_enum_set_value_descriptions
gimp_enum_get_value_descriptions
gimp_flags_get_value_descriptions
@ -41,6 +43,7 @@ GimpRunMode
GimpSizeType
GimpStackTraceMode
GimpTextDirection
GimpTextHintStyle
GimpTextJustification
GimpTransferMode
GimpTransformDirection
@ -77,6 +80,7 @@ GIMP_TYPE_RUN_MODE
GIMP_TYPE_SIZE_TYPE
GIMP_TYPE_STACK_TRACE_MODE
GIMP_TYPE_TEXT_DIRECTION
GIMP_TYPE_TEXT_HINT_STYLE
GIMP_TYPE_TEXT_JUSTIFICATION
GIMP_TYPE_TRANSFER_MODE
GIMP_TYPE_TRANSFORM_DIRECTION
@ -112,6 +116,7 @@ gimp_run_mode_get_type
gimp_size_type_get_type
gimp_stack_trace_mode_get_type
gimp_text_direction_get_type
gimp_text_hint_style_get_type
gimp_text_justification_get_type
gimp_transfer_mode_get_type
gimp_transform_direction_get_type
@ -180,6 +185,7 @@ gimp_param_memsize_get_type
<SECTION>
<FILE>gimprectangle</FILE>
gimp_rectangle_intersect
gimp_rectangle_union
</SECTION>
<SECTION>
@ -226,6 +232,7 @@ gimp_param_parasite_get_type
<SECTION>
<FILE>gimpparasiteio</FILE>
GIMP_PIXPIPE_MAXDIM
GimpPixPipeParams
gimp_pixpipe_params_init
gimp_pixpipe_params_parse
gimp_pixpipe_params_build
@ -252,6 +259,10 @@ gimp_unit_get_symbol
gimp_unit_get_abbreviation
gimp_unit_get_singular
gimp_unit_get_plural
gimp_unit_format_string
gimp_pixels_to_units
gimp_units_to_pixels
gimp_units_to_points
GIMP_TYPE_UNIT
GIMP_TYPE_PARAM_UNIT
GIMP_IS_PARAM_SPEC_UNIT

View File

@ -2,11 +2,11 @@
gimpbaseenums
<!-- ##### SECTION Short_Description ##### -->
Basic GIMP enumeration data types.
<!-- ##### SECTION Long_Description ##### -->
<para>
Basic GIMP enumeration data types.
</para>
<!-- ##### SECTION See_Also ##### -->
@ -228,7 +228,7 @@ Basic GIMP enumeration data types.
@GIMP_PDB_FLOATARRAY:
@GIMP_PDB_STRINGARRAY:
@GIMP_PDB_COLOR:
@GIMP_PDB_REGION:
@GIMP_PDB_ITEM:
@GIMP_PDB_DISPLAY:
@GIMP_PDB_IMAGE:
@GIMP_PDB_LAYER:
@ -242,6 +242,7 @@ Basic GIMP enumeration data types.
@GIMP_PDB_END:
@GIMP_PDB_PATH:
@GIMP_PDB_BOUNDARY:
@GIMP_PDB_REGION:
<!-- ##### ENUM GimpPDBErrorHandler ##### -->
<para>
@ -327,6 +328,16 @@ Basic GIMP enumeration data types.
@GIMP_TEXT_DIRECTION_LTR:
@GIMP_TEXT_DIRECTION_RTL:
<!-- ##### ENUM GimpTextHintStyle ##### -->
<para>
</para>
@GIMP_TEXT_HINT_STYLE_NONE:
@GIMP_TEXT_HINT_STYLE_SLIGHT:
@GIMP_TEXT_HINT_STYLE_MEDIUM:
@GIMP_TEXT_HINT_STYLE_FULL:
<!-- ##### ENUM GimpTextJustification ##### -->
<para>

View File

@ -2,11 +2,11 @@
gimpbasetypes
<!-- ##### SECTION Short_Description ##### -->
Translation between gettext translation domain identifier and GType.
<!-- ##### SECTION Long_Description ##### -->
<para>
Translation between gettext translation domain identifier and GType.
</para>
<!-- ##### SECTION See_Also ##### -->
@ -56,6 +56,24 @@ Translation between gettext translation domain identifier and GType.
@Returns:
<!-- ##### FUNCTION gimp_type_set_translation_context ##### -->
<para>
</para>
@type:
@context:
<!-- ##### FUNCTION gimp_type_get_translation_context ##### -->
<para>
</para>
@type:
@Returns:
<!-- ##### FUNCTION gimp_enum_set_value_descriptions ##### -->
<para>

View File

@ -2,11 +2,11 @@
gimpchecks
<!-- ##### SECTION Short_Description ##### -->
Constants and functions related to rendering checkerboards.
<!-- ##### SECTION Long_Description ##### -->
<para>
Constants and functions related to rendering checkerboards.
</para>
<!-- ##### SECTION See_Also ##### -->
@ -22,30 +22,28 @@ Constants and functions related to rendering checkerboards.
<!-- ##### MACRO GIMP_CHECK_SIZE ##### -->
<para>
The default checkerboard size in pixels. This is configurable in the
core but GIMP plug-ins can't access the user preference and should use
this constant instead.
</para>
<!-- ##### MACRO GIMP_CHECK_SIZE_SM ##### -->
<para>
The default small checkerboard size in pixels.
</para>
<!-- ##### MACRO GIMP_CHECK_DARK ##### -->
<para>
The dark gray value for the default checkerboard pattern.
</para>
<!-- ##### MACRO GIMP_CHECK_LIGHT ##### -->
<para>
The light gray value for the default checkerboard pattern.
</para>

View File

@ -2,11 +2,11 @@
gimpdatafiles
<!-- ##### SECTION Short_Description ##### -->
Functions to handle GIMP data files.
<!-- ##### SECTION Long_Description ##### -->
<para>
Functions to handle GIMP data files.
</para>
<!-- ##### SECTION See_Also ##### -->

View File

@ -2,12 +2,11 @@
gimpenv
<!-- ##### SECTION Short_Description ##### -->
Functions to access the GIMP environment.
<!-- ##### SECTION Long_Description ##### -->
<para>
A set of functions to find the locations of GIMP's data directories and
configuration files.
</para>
<!-- ##### SECTION See_Also ##### -->

View File

@ -2,11 +2,10 @@
gimplimits
<!-- ##### SECTION Short_Description ##### -->
Boundaries of some GIMP data types and some global constants.
<!-- ##### SECTION Long_Description ##### -->
<para>
Boundaries of some GIMP data types and some global constants.
</para>
@ -23,45 +22,35 @@ Boundaries of some GIMP data types and some global constants.
<!-- ##### MACRO GIMP_MIN_IMAGE_SIZE ##### -->
<para>
The minimum width and height of a GIMP image in pixels.
</para>
<!-- ##### MACRO GIMP_MAX_IMAGE_SIZE ##### -->
<para>
The maximum width and height of a GIMP image in pixels. This is a
somewhat arbitray value that can be used when an upper value for pixel
sizes is needed; for example to give a spin button an upper limit.
</para>
<!-- ##### MACRO GIMP_MIN_RESOLUTION ##### -->
<para>
The minimum resolution of a GIMP image in pixels per inch. This is a
somewhat arbitray value that can be used to when a lower value for a
resolution is needed. GIMP will not accept resolutions smaller than
this value.
</para>
<!-- ##### MACRO GIMP_MAX_RESOLUTION ##### -->
<para>
The maximum resolution of a GIMP image in pixels per inch. This is a
somewhat arbitray value that can be used to when an upper value for a
resolution is needed. GIMP will not accept resolutions larger than
this value.
</para>
<!-- ##### MACRO GIMP_MAX_MEMSIZE ##### -->
<para>
A large but arbitrary value that can be used when an upper limit for a
memory size (in bytes) is needed. It is smaller than %G_MAXDOUBLE since
the #GimpMemsizeEntry doesn't handle larger values.
</para>

View File

@ -2,11 +2,11 @@
gimpmemsize
<!-- ##### SECTION Short_Description ##### -->
Functions to (de)serialize a given memory size.
<!-- ##### SECTION Long_Description ##### -->
<para>
Functions to (de)serialize a given memory size.
</para>
<!-- ##### SECTION See_Also ##### -->
@ -50,7 +50,7 @@ Functions to (de)serialize a given memory size.
<!-- ##### MACRO GIMP_TYPE_MEMSIZE ##### -->
<para>
#GIMP_TYPE_MEMSIZE is a #GType derived from #G_TYPE_UINT64.
</para>

View File

@ -2,7 +2,7 @@
gimpparam
<!-- ##### SECTION Short_Description ##### -->
Definitions of useful #GParamFlags.
<!-- ##### SECTION Long_Description ##### -->
<para>
@ -22,28 +22,28 @@ Definitions of useful #GParamFlags.
<!-- ##### MACRO GIMP_PARAM_STATIC_STRINGS ##### -->
<para>
Since: GIMP 2.4
</para>
<!-- ##### MACRO GIMP_PARAM_READABLE ##### -->
<para>
Since: GIMP 2.4
</para>
<!-- ##### MACRO GIMP_PARAM_WRITABLE ##### -->
<para>
Since: GIMP 2.4
</para>
<!-- ##### MACRO GIMP_PARAM_READWRITE ##### -->
<para>
Since: GIMP 2.4
</para>

View File

@ -2,18 +2,16 @@
gimpparasite
<!-- ##### SECTION Short_Description ##### -->
Arbitrary pieces of data which can be attached to various GIMP objects.
<!-- ##### SECTION Long_Description ##### -->
<para>
Arbitrary pieces of data which can be attached to various GIMP objects.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
gimp_image_parasite_attach(), gimp_drawable_parasite_attach(),
gimp_parasite_attach() and their related functions.
</para>
<!-- ##### SECTION Stability_Level ##### -->

View File

@ -2,17 +2,16 @@
gimpparasiteio
<!-- ##### SECTION Short_Description ##### -->
Utility functions to (de)serialize certain C structures to/from #GimpParasite's.
<!-- ##### SECTION Long_Description ##### -->
<para>
Utility functions to (de)serialize certain C structures to/from #GimpParasite's.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
#GimpParasite
</para>
<!-- ##### SECTION Stability_Level ##### -->
@ -28,6 +27,24 @@ Utility functions to (de)serialize certain C structures to/from #GimpParasite's.
<!-- ##### STRUCT GimpPixPipeParams ##### -->
<para>
</para>
@step:
@ncells:
@dim:
@cols:
@rows:
@cellwidth:
@cellheight:
@placement:
@free_placement_string:
@rank:
@selection:
@free_selection_string:
<!-- ##### FUNCTION gimp_pixpipe_params_init ##### -->
<para>

View File

@ -40,3 +40,22 @@ gimprectangle
@Returns:
<!-- ##### FUNCTION gimp_rectangle_union ##### -->
<para>
</para>
@x1:
@y1:
@width1:
@height1:
@x2:
@y2:
@width2:
@height2:
@dest_x:
@dest_y:
@dest_width:
@dest_height:

View File

@ -2,17 +2,16 @@
gimpsignal
<!-- ##### SECTION Short_Description ##### -->
Portable signal handling.
<!-- ##### SECTION Long_Description ##### -->
<para>
Portable signal handling.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
signal(2), signal(5 or 7), sigaction(2).
</para>
<!-- ##### SECTION Stability_Level ##### -->
@ -23,14 +22,10 @@ signal(2), signal(5 or 7), sigaction(2).
<!-- ##### USER_FUNCTION GimpSignalHandlerFunc ##### -->
<para>
A prototype for signal handler functions. Note that each function which
takes or returns a variable of this type also accepts or may return
special values defined by your system's signal.h header file (like
@SIG_DFL or @SIG_IGN).
</para>
@signum: The number of the signal. Useful if different signals are handled
by a single handler.
@signum:
<!-- ##### FUNCTION gimp_signal_private ##### -->

View File

@ -2,22 +2,16 @@
gimpunit
<!-- ##### SECTION Short_Description ##### -->
Provides a collection of predefined units and functions for creating
user-defined units.
<!-- ##### SECTION Long_Description ##### -->
<para>
Provides a collection of predefined units and functions for creating
user-defined units.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
#GimpUnitMenu
</para>
<para>
#GimpSizeEntry
</para>
<!-- ##### SECTION Stability_Level ##### -->
@ -153,9 +147,52 @@ user-defined units.
@Returns:
<!-- ##### FUNCTION gimp_unit_format_string ##### -->
<para>
</para>
@format:
@unit:
@Returns:
<!-- ##### FUNCTION gimp_pixels_to_units ##### -->
<para>
</para>
@pixels:
@unit:
@resolution:
@Returns:
<!-- ##### FUNCTION gimp_units_to_pixels ##### -->
<para>
</para>
@value:
@unit:
@resolution:
@Returns:
<!-- ##### FUNCTION gimp_units_to_points ##### -->
<para>
</para>
@value:
@unit:
@resolution:
@Returns:
<!-- ##### MACRO GIMP_TYPE_UNIT ##### -->
<para>
#GIMP_TYPE_UNIT is a #GType derived from #G_TYPE_INT.
</para>

View File

@ -2,7 +2,7 @@
gimputils
<!-- ##### SECTION Short_Description ##### -->
Utilities of general interest
<!-- ##### SECTION Long_Description ##### -->
<para>

View File

@ -2,13 +2,10 @@
gimpversion
<!-- ##### SECTION Short_Description ##### -->
Macros and constants useful for determining GIMP's version number and
capabilities.
<!-- ##### SECTION Long_Description ##### -->
<para>
Macros and constants useful for determining GIMP's version number and
capabilities.
</para>
@ -53,7 +50,7 @@ capabilities.
<!-- ##### MACRO GIMP_API_VERSION ##### -->
<para>
Since: GIMP 2.2
</para>