diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 03:13:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 03:13:10 +0000 |
commit | 3c57dd931145d43f2b0aef96c4d178135956bf91 (patch) | |
tree | 3de698981e9f0cc2c4f9569b19a5f3595e741f6b /devel-docs/libgimpcolor | |
parent | Initial commit. (diff) | |
download | gimp-3c57dd931145d43f2b0aef96c4d178135956bf91.tar.xz gimp-3c57dd931145d43f2b0aef96c4d178135956bf91.zip |
Adding upstream version 2.10.36.upstream/2.10.36
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devel-docs/libgimpcolor')
30 files changed, 9012 insertions, 0 deletions
diff --git a/devel-docs/libgimpcolor/Makefile.am b/devel-docs/libgimpcolor/Makefile.am new file mode 100644 index 0000000..6df5b4f --- /dev/null +++ b/devel-docs/libgimpcolor/Makefile.am @@ -0,0 +1,57 @@ +## Process this file with automake to produce Makefile.in + +# The name of the module. +DOC_MODULE = libgimpcolor + +# The top-level SGML file. +DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml + +# The directory containing the source code. +DOC_SOURCE_DIR = $(top_srcdir)/$(DOC_MODULE) + +# Extra options to pass to gtkdoc-scangobj +SCANGOBJ_OPTIONS = + +# Extra options to supply to gtkdoc-scan +SCAN_OPTIONS = --deprecated-guards="GIMP_DISABLE_DEPRECATED" + +# Extra options to supply to gtkdoc-mkdb +MKDB_OPTIONS = --sgml-mode --output-format=xml + +# Extra options to supply to gtkdoc-fixref +FIXXREF_OPTIONS = + +# Used for dependencies +HFILE_GLOB = $(DOC_SOURCE_DIR)/*.h +CFILE_GLOB = $(DOC_SOURCE_DIR)/*.c + +# Header files to ignore when scanning +IGNORE_HFILES = gimpcolor.h + +# Images to copy into HTML directory +HTML_IMAGES= + +# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE) +content_files = + +# Other files to distribute +extra_files = + +# CFLAGS and LDFLAGS for compiling scan program. Only needed +# if $(DOC_MODULE).types is non-empty. +GTKDOC_CFLAGS = \ + @CFLAGS@ \ + -I$(top_srcdir) \ + -I$(top_builddir) \ + @GLIB_CFLAGS@ + +GTKDOC_LIBS = \ + $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la \ + $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la \ + @GLIB_LIBS@ + + +include $(top_srcdir)/gtk-doc.make + +# Other files to distribute +EXTRA_DIST += version.in diff --git a/devel-docs/libgimpcolor/Makefile.in b/devel-docs/libgimpcolor/Makefile.in new file mode 100644 index 0000000..576368c --- /dev/null +++ b/devel-docs/libgimpcolor/Makefile.in @@ -0,0 +1,1106 @@ +# Makefile.in generated by automake 1.16.3 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2020 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. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# -*- mode: makefile -*- +# +# gtk-doc.make - make rules for gtk-doc +# Copyright (C) 2003 James Henstridge +# 2004-2007 Damon Chaplin +# 2007-2017 Stefan Sauer +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +#################################### +# Everything below here is generic # +#################################### +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = devel-docs/libgimpcolor +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/m4macros/alsa.m4 \ + $(top_srcdir)/m4macros/ax_compare_version.m4 \ + $(top_srcdir)/m4macros/ax_cxx_compile_stdcxx.m4 \ + $(top_srcdir)/m4macros/ax_gcc_func_attribute.m4 \ + $(top_srcdir)/m4macros/ax_prog_cc_for_build.m4 \ + $(top_srcdir)/m4macros/ax_prog_perl_version.m4 \ + $(top_srcdir)/m4macros/detectcflags.m4 \ + $(top_srcdir)/m4macros/pythondev.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = version +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +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_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +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 +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/version.in \ + $(top_srcdir)/gtk-doc.make +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +AA_LIBS = @AA_LIBS@ +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +ALL_LINGUAS = @ALL_LINGUAS@ +ALSA_CFLAGS = @ALSA_CFLAGS@ +ALSA_LIBS = @ALSA_LIBS@ +ALTIVEC_EXTRA_CFLAGS = @ALTIVEC_EXTRA_CFLAGS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +APPSTREAM_UTIL = @APPSTREAM_UTIL@ +AR = @AR@ +AS = @AS@ +ATK_CFLAGS = @ATK_CFLAGS@ +ATK_LIBS = @ATK_LIBS@ +ATK_REQUIRED_VERSION = @ATK_REQUIRED_VERSION@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BABL_CFLAGS = @BABL_CFLAGS@ +BABL_LIBS = @BABL_LIBS@ +BABL_REQUIRED_VERSION = @BABL_REQUIRED_VERSION@ +BUG_REPORT_URL = @BUG_REPORT_URL@ +BUILD_EXEEXT = @BUILD_EXEEXT@ +BUILD_OBJEXT = @BUILD_OBJEXT@ +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_PDF_REQUIRED_VERSION = @CAIRO_PDF_REQUIRED_VERSION@ +CAIRO_REQUIRED_VERSION = @CAIRO_REQUIRED_VERSION@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCAS = @CCAS@ +CCASDEPMODE = @CCASDEPMODE@ +CCASFLAGS = @CCASFLAGS@ +CCDEPMODE = @CCDEPMODE@ +CC_FOR_BUILD = @CC_FOR_BUILD@ +CC_VERSION = @CC_VERSION@ +CFLAGS = @CFLAGS@ +CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ +CPP_FOR_BUILD = @CPP_FOR_BUILD@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DESKTOP_DATADIR = @DESKTOP_DATADIR@ +DESKTOP_FILE_VALIDATE = @DESKTOP_FILE_VALIDATE@ +DLLTOOL = @DLLTOOL@ +DOC_SHOOTER = @DOC_SHOOTER@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +FILE_AA = @FILE_AA@ +FILE_EXR = @FILE_EXR@ +FILE_HEIF = @FILE_HEIF@ +FILE_JP2_LOAD = @FILE_JP2_LOAD@ +FILE_JPEGXL = @FILE_JPEGXL@ +FILE_MNG = @FILE_MNG@ +FILE_PDF_SAVE = @FILE_PDF_SAVE@ +FILE_PS = @FILE_PS@ +FILE_WMF = @FILE_WMF@ +FILE_XMC = @FILE_XMC@ +FILE_XPM = @FILE_XPM@ +FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@ +FONTCONFIG_LIBS = @FONTCONFIG_LIBS@ +FONTCONFIG_REQUIRED_VERSION = @FONTCONFIG_REQUIRED_VERSION@ +FREETYPE2_REQUIRED_VERSION = @FREETYPE2_REQUIRED_VERSION@ +FREETYPE_CFLAGS = @FREETYPE_CFLAGS@ +FREETYPE_LIBS = @FREETYPE_LIBS@ +GDBUS_CODEGEN = @GDBUS_CODEGEN@ +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 = @GEGL@ +GEGL_CFLAGS = @GEGL_CFLAGS@ +GEGL_LIBS = @GEGL_LIBS@ +GEGL_MAJOR_MINOR_VERSION = @GEGL_MAJOR_MINOR_VERSION@ +GEGL_REQUIRED_VERSION = @GEGL_REQUIRED_VERSION@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GEXIV2_CFLAGS = @GEXIV2_CFLAGS@ +GEXIV2_LIBS = @GEXIV2_LIBS@ +GEXIV2_REQUIRED_VERSION = @GEXIV2_REQUIRED_VERSION@ +GIMP_API_VERSION = @GIMP_API_VERSION@ +GIMP_APP_VERSION = @GIMP_APP_VERSION@ +GIMP_BINARY_AGE = @GIMP_BINARY_AGE@ +GIMP_COMMAND = @GIMP_COMMAND@ +GIMP_DATA_VERSION = @GIMP_DATA_VERSION@ +GIMP_FULL_NAME = @GIMP_FULL_NAME@ +GIMP_INTERFACE_AGE = @GIMP_INTERFACE_AGE@ +GIMP_MAJOR_VERSION = @GIMP_MAJOR_VERSION@ +GIMP_MICRO_VERSION = @GIMP_MICRO_VERSION@ +GIMP_MINOR_VERSION = @GIMP_MINOR_VERSION@ +GIMP_MKENUMS = @GIMP_MKENUMS@ +GIMP_MODULES = @GIMP_MODULES@ +GIMP_PACKAGE_REVISION = @GIMP_PACKAGE_REVISION@ +GIMP_PKGCONFIG_VERSION = @GIMP_PKGCONFIG_VERSION@ +GIMP_PLUGINS = @GIMP_PLUGINS@ +GIMP_PLUGIN_VERSION = @GIMP_PLUGIN_VERSION@ +GIMP_REAL_VERSION = @GIMP_REAL_VERSION@ +GIMP_RELEASE = @GIMP_RELEASE@ +GIMP_SYSCONF_VERSION = @GIMP_SYSCONF_VERSION@ +GIMP_TOOL_VERSION = @GIMP_TOOL_VERSION@ +GIMP_UNSTABLE = @GIMP_UNSTABLE@ +GIMP_USER_VERSION = @GIMP_USER_VERSION@ +GIMP_VERSION = @GIMP_VERSION@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ +GIO_UNIX_CFLAGS = @GIO_UNIX_CFLAGS@ +GIO_UNIX_LIBS = @GIO_UNIX_LIBS@ +GIO_WINDOWS_CFLAGS = @GIO_WINDOWS_CFLAGS@ +GIO_WINDOWS_LIBS = @GIO_WINDOWS_LIBS@ +GLIB_CFLAGS = @GLIB_CFLAGS@ +GLIB_COMPILE_RESOURCES = @GLIB_COMPILE_RESOURCES@ +GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ +GLIB_LIBS = @GLIB_LIBS@ +GLIB_MKENUMS = @GLIB_MKENUMS@ +GLIB_REQUIRED_VERSION = @GLIB_REQUIRED_VERSION@ +GMODULE_NO_EXPORT_CFLAGS = @GMODULE_NO_EXPORT_CFLAGS@ +GMODULE_NO_EXPORT_LIBS = @GMODULE_NO_EXPORT_LIBS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GOBJECT_QUERY = @GOBJECT_QUERY@ +GREP = @GREP@ +GS_LIBS = @GS_LIBS@ +GTKDOC_CHECK = @GTKDOC_CHECK@ +GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ +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_MAC_INTEGRATION_CFLAGS = @GTK_MAC_INTEGRATION_CFLAGS@ +GTK_MAC_INTEGRATION_LIBS = @GTK_MAC_INTEGRATION_LIBS@ +GTK_REQUIRED_VERSION = @GTK_REQUIRED_VERSION@ +GTK_UPDATE_ICON_CACHE = @GTK_UPDATE_ICON_CACHE@ +GUDEV_CFLAGS = @GUDEV_CFLAGS@ +GUDEV_LIBS = @GUDEV_LIBS@ +HARFBUZZ_CFLAGS = @HARFBUZZ_CFLAGS@ +HARFBUZZ_LIBS = @HARFBUZZ_LIBS@ +HARFBUZZ_REQUIRED_VERSION = @HARFBUZZ_REQUIRED_VERSION@ +HAVE_CXX14 = @HAVE_CXX14@ +HAVE_FINITE = @HAVE_FINITE@ +HAVE_ISFINITE = @HAVE_ISFINITE@ +HAVE_VFORK = @HAVE_VFORK@ +HOST_GLIB_COMPILE_RESOURCES = @HOST_GLIB_COMPILE_RESOURCES@ +HTML_DIR = @HTML_DIR@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_REQUIRED_VERSION = @INTLTOOL_REQUIRED_VERSION@ +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@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +ISO_CODES_LOCALEDIR = @ISO_CODES_LOCALEDIR@ +ISO_CODES_LOCATION = @ISO_CODES_LOCATION@ +JPEG_LIBS = @JPEG_LIBS@ +JSON_GLIB_CFLAGS = @JSON_GLIB_CFLAGS@ +JSON_GLIB_LIBS = @JSON_GLIB_LIBS@ +JXL_CFLAGS = @JXL_CFLAGS@ +JXL_LIBS = @JXL_LIBS@ +JXL_THREADS_CFLAGS = @JXL_THREADS_CFLAGS@ +JXL_THREADS_LIBS = @JXL_THREADS_LIBS@ +LCMS_CFLAGS = @LCMS_CFLAGS@ +LCMS_LIBS = @LCMS_LIBS@ +LCMS_REQUIRED_VERSION = @LCMS_REQUIRED_VERSION@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ +LIBBACKTRACE_LIBS = @LIBBACKTRACE_LIBS@ +LIBHEIF_CFLAGS = @LIBHEIF_CFLAGS@ +LIBHEIF_LIBS = @LIBHEIF_LIBS@ +LIBHEIF_REQUIRED_VERSION = @LIBHEIF_REQUIRED_VERSION@ +LIBJXL_REQUIRED_VERSION = @LIBJXL_REQUIRED_VERSION@ +LIBLZMA_REQUIRED_VERSION = @LIBLZMA_REQUIRED_VERSION@ +LIBMYPAINT_CFLAGS = @LIBMYPAINT_CFLAGS@ +LIBMYPAINT_LIBS = @LIBMYPAINT_LIBS@ +LIBMYPAINT_REQUIRED_VERSION = @LIBMYPAINT_REQUIRED_VERSION@ +LIBOBJS = @LIBOBJS@ +LIBPNG_REQUIRED_VERSION = @LIBPNG_REQUIRED_VERSION@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBUNWIND_CFLAGS = @LIBUNWIND_CFLAGS@ +LIBUNWIND_LIBS = @LIBUNWIND_LIBS@ +LIBUNWIND_REQUIRED_VERSION = @LIBUNWIND_REQUIRED_VERSION@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +LT_VERSION_INFO = @LT_VERSION_INFO@ +LZMA_CFLAGS = @LZMA_CFLAGS@ +LZMA_LIBS = @LZMA_LIBS@ +MAIL = @MAIL@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MIME_INFO_CFLAGS = @MIME_INFO_CFLAGS@ +MIME_INFO_LIBS = @MIME_INFO_LIBS@ +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@ +MSGMERGE = @MSGMERGE@ +MYPAINT_BRUSHES_CFLAGS = @MYPAINT_BRUSHES_CFLAGS@ +MYPAINT_BRUSHES_LIBS = @MYPAINT_BRUSHES_LIBS@ +NATIVE_GLIB_CFLAGS = @NATIVE_GLIB_CFLAGS@ +NATIVE_GLIB_LIBS = @NATIVE_GLIB_LIBS@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OPENEXR_CFLAGS = @OPENEXR_CFLAGS@ +OPENEXR_LIBS = @OPENEXR_LIBS@ +OPENEXR_REQUIRED_VERSION = @OPENEXR_REQUIRED_VERSION@ +OPENJPEG_CFLAGS = @OPENJPEG_CFLAGS@ +OPENJPEG_LIBS = @OPENJPEG_LIBS@ +OPENJPEG_REQUIRED_VERSION = @OPENJPEG_REQUIRED_VERSION@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PANGOCAIRO_CFLAGS = @PANGOCAIRO_CFLAGS@ +PANGOCAIRO_LIBS = @PANGOCAIRO_LIBS@ +PANGOCAIRO_REQUIRED_VERSION = @PANGOCAIRO_REQUIRED_VERSION@ +PATHSEP = @PATHSEP@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PERL = @PERL@ +PERL_REQUIRED_VERSION = @PERL_REQUIRED_VERSION@ +PERL_VERSION = @PERL_VERSION@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +PNG_CFLAGS = @PNG_CFLAGS@ +PNG_LIBS = @PNG_LIBS@ +POFILES = @POFILES@ +POPPLER_CFLAGS = @POPPLER_CFLAGS@ +POPPLER_DATA_CFLAGS = @POPPLER_DATA_CFLAGS@ +POPPLER_DATA_LIBS = @POPPLER_DATA_LIBS@ +POPPLER_DATA_REQUIRED_VERSION = @POPPLER_DATA_REQUIRED_VERSION@ +POPPLER_LIBS = @POPPLER_LIBS@ +POPPLER_REQUIRED_VERSION = @POPPLER_REQUIRED_VERSION@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PYBIN_PATH = @PYBIN_PATH@ +PYCAIRO_CFLAGS = @PYCAIRO_CFLAGS@ +PYCAIRO_LIBS = @PYCAIRO_LIBS@ +PYGIMP_EXTRA_CFLAGS = @PYGIMP_EXTRA_CFLAGS@ +PYGTK_CFLAGS = @PYGTK_CFLAGS@ +PYGTK_CODEGEN = @PYGTK_CODEGEN@ +PYGTK_DEFSDIR = @PYGTK_DEFSDIR@ +PYGTK_LIBS = @PYGTK_LIBS@ +PYLINK_LIBS = @PYLINK_LIBS@ +PYTHON = @PYTHON@ +PYTHON2_REQUIRED_VERSION = @PYTHON2_REQUIRED_VERSION@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_INCLUDES = @PYTHON_INCLUDES@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +RANLIB = @RANLIB@ +RSVG_REQUIRED_VERSION = @RSVG_REQUIRED_VERSION@ +RT_LIBS = @RT_LIBS@ +SCREENSHOT_LIBS = @SCREENSHOT_LIBS@ +SED = @SED@ +SENDMAIL = @SENDMAIL@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SOCKET_LIBS = @SOCKET_LIBS@ +SSE2_EXTRA_CFLAGS = @SSE2_EXTRA_CFLAGS@ +SSE4_1_EXTRA_CFLAGS = @SSE4_1_EXTRA_CFLAGS@ +SSE_EXTRA_CFLAGS = @SSE_EXTRA_CFLAGS@ +STRIP = @STRIP@ +SVG_CFLAGS = @SVG_CFLAGS@ +SVG_LIBS = @SVG_LIBS@ +SYMPREFIX = @SYMPREFIX@ +TIFF_LIBS = @TIFF_LIBS@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WEBKIT_CFLAGS = @WEBKIT_CFLAGS@ +WEBKIT_LIBS = @WEBKIT_LIBS@ +WEBKIT_REQUIRED_VERSION = @WEBKIT_REQUIRED_VERSION@ +WEBPDEMUX_CFLAGS = @WEBPDEMUX_CFLAGS@ +WEBPDEMUX_LIBS = @WEBPDEMUX_LIBS@ +WEBPMUX_CFLAGS = @WEBPMUX_CFLAGS@ +WEBPMUX_LIBS = @WEBPMUX_LIBS@ +WEBP_CFLAGS = @WEBP_CFLAGS@ +WEBP_LIBS = @WEBP_LIBS@ +WEBP_REQUIRED_VERSION = @WEBP_REQUIRED_VERSION@ +WEB_PAGE = @WEB_PAGE@ +WIN32_LARGE_ADDRESS_AWARE = @WIN32_LARGE_ADDRESS_AWARE@ +WINDRES = @WINDRES@ +WMF_CFLAGS = @WMF_CFLAGS@ +WMF_CONFIG = @WMF_CONFIG@ +WMF_LIBS = @WMF_LIBS@ +WMF_REQUIRED_VERSION = @WMF_REQUIRED_VERSION@ +XDG_EMAIL = @XDG_EMAIL@ +XFIXES_CFLAGS = @XFIXES_CFLAGS@ +XFIXES_LIBS = @XFIXES_LIBS@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_REQUIRED_VERSION = @XGETTEXT_REQUIRED_VERSION@ +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@ +X_PRE_LIBS = @X_PRE_LIBS@ +Z_LIBS = @Z_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CC_FOR_BUILD = @ac_ct_CC_FOR_BUILD@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +gimpdatadir = @gimpdatadir@ +gimpdir = @gimpdir@ +gimplocaledir = @gimplocaledir@ +gimpplugindir = @gimpplugindir@ +gimpsysconfdir = @gimpsysconfdir@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +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@ +localstatedir = @localstatedir@ +mandir = @mandir@ +manpage_gimpdir = @manpage_gimpdir@ +mkdir_p = @mkdir_p@ +ms_librarian = @ms_librarian@ +mypaint_brushes_dir = @mypaint_brushes_dir@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +runstatedir = @runstatedir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ + +# The name of the module. +DOC_MODULE = libgimpcolor + +# The top-level SGML file. +DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml + +# The directory containing the source code. +DOC_SOURCE_DIR = $(top_srcdir)/$(DOC_MODULE) + +# Extra options to pass to gtkdoc-scangobj +SCANGOBJ_OPTIONS = + +# Extra options to supply to gtkdoc-scan +SCAN_OPTIONS = --deprecated-guards="GIMP_DISABLE_DEPRECATED" + +# Extra options to supply to gtkdoc-mkdb +MKDB_OPTIONS = --sgml-mode --output-format=xml + +# Extra options to supply to gtkdoc-fixref +FIXXREF_OPTIONS = + +# Used for dependencies +HFILE_GLOB = $(DOC_SOURCE_DIR)/*.h +CFILE_GLOB = $(DOC_SOURCE_DIR)/*.c + +# Header files to ignore when scanning +IGNORE_HFILES = gimpcolor.h + +# Images to copy into HTML directory +HTML_IMAGES = + +# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE) +content_files = + +# Other files to distribute +extra_files = + +# CFLAGS and LDFLAGS for compiling scan program. Only needed +# if $(DOC_MODULE).types is non-empty. +GTKDOC_CFLAGS = \ + @CFLAGS@ \ + -I$(top_srcdir) \ + -I$(top_builddir) \ + @GLIB_CFLAGS@ + +GTKDOC_LIBS = \ + $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la \ + $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la \ + @GLIB_LIBS@ + +@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) +@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) +@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN = +@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute + +# We set GPATH here; this gives us semantics for GNU make +# which are more like other make's VPATH, when it comes to +# whether a source that is a target of one rule is then +# searched for in VPATH/GPATH. +# +GPATH = $(srcdir) +TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE) +SETUP_FILES = \ + $(content_files) \ + $(expand_content_files) \ + $(DOC_MAIN_SGML_FILE) \ + $(DOC_MODULE)-sections.txt \ + $(DOC_MODULE)-overrides.txt + + +# Other files to distribute +EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES) version.in +DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \ + html-build.stamp pdf-build.stamp \ + sgml.stamp html.stamp pdf.stamp + +SCANOBJ_FILES = \ + $(DOC_MODULE).actions \ + $(DOC_MODULE).args \ + $(DOC_MODULE).hierarchy \ + $(DOC_MODULE).interfaces \ + $(DOC_MODULE).prerequisites \ + $(DOC_MODULE).signals + +REPORT_FILES = \ + $(DOC_MODULE)-undocumented.txt \ + $(DOC_MODULE)-undeclared.txt \ + $(DOC_MODULE)-unused.txt + +CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) gtkdoc-check.test +@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP = +@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp +@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP = +@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp + +#### setup #### +GTK_DOC_V_SETUP = $(GTK_DOC_V_SETUP_@AM_V@) +GTK_DOC_V_SETUP_ = $(GTK_DOC_V_SETUP_@AM_DEFAULT_V@) +GTK_DOC_V_SETUP_0 = @echo " DOC Preparing build"; + +#### scan #### +GTK_DOC_V_SCAN = $(GTK_DOC_V_SCAN_@AM_V@) +GTK_DOC_V_SCAN_ = $(GTK_DOC_V_SCAN_@AM_DEFAULT_V@) +GTK_DOC_V_SCAN_0 = @echo " DOC Scanning header files"; +GTK_DOC_V_INTROSPECT = $(GTK_DOC_V_INTROSPECT_@AM_V@) +GTK_DOC_V_INTROSPECT_ = $(GTK_DOC_V_INTROSPECT_@AM_DEFAULT_V@) +GTK_DOC_V_INTROSPECT_0 = @echo " DOC Introspecting gobjects"; + +#### xml #### +GTK_DOC_V_XML = $(GTK_DOC_V_XML_@AM_V@) +GTK_DOC_V_XML_ = $(GTK_DOC_V_XML_@AM_DEFAULT_V@) +GTK_DOC_V_XML_0 = @echo " DOC Building XML"; + +#### html #### +GTK_DOC_V_HTML = $(GTK_DOC_V_HTML_@AM_V@) +GTK_DOC_V_HTML_ = $(GTK_DOC_V_HTML_@AM_DEFAULT_V@) +GTK_DOC_V_HTML_0 = @echo " DOC Building HTML"; +GTK_DOC_V_XREF = $(GTK_DOC_V_XREF_@AM_V@) +GTK_DOC_V_XREF_ = $(GTK_DOC_V_XREF_@AM_DEFAULT_V@) +GTK_DOC_V_XREF_0 = @echo " DOC Fixing cross-references"; + +#### pdf #### +GTK_DOC_V_PDF = $(GTK_DOC_V_PDF_@AM_V@) +GTK_DOC_V_PDF_ = $(GTK_DOC_V_PDF_@AM_DEFAULT_V@) +GTK_DOC_V_PDF_0 = @echo " DOC Building PDF"; +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu devel-docs/libgimpcolor/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu devel-docs/libgimpcolor/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; +$(top_srcdir)/gtk-doc.make $(am__empty): + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +version: $(top_builddir)/config.status $(srcdir)/version.in + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook +check-am: all-am +check: check-am +@ENABLE_GTK_DOC_FALSE@all-local: +all-am: Makefile all-local +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + 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: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-local + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-data-local + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic \ + maintainer-clean-local + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-local + +.MAKE: install-am install-strip + +.PHONY: all all-am all-local check check-am clean clean-generic \ + clean-libtool clean-local cscopelist-am ctags-am dist-hook \ + distclean distclean-generic distclean-libtool distclean-local \ + distdir dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-data-local \ + install-dvi install-dvi-am install-exec install-exec-am \ + install-html install-html-am install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + maintainer-clean-local mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ + uninstall-am uninstall-local + +.PRECIOUS: Makefile + + +gtkdoc-check.test: Makefile + $(AM_V_GEN)echo "#!/bin/sh -e" > $@; \ + echo "$(GTKDOC_CHECK_PATH) || exit 1" >> $@; \ + chmod +x $@ + +all-gtk-doc: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) +.PHONY: all-gtk-doc + +@ENABLE_GTK_DOC_TRUE@all-local: all-gtk-doc + +docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) + +$(REPORT_FILES): sgml-build.stamp + +setup-build.stamp: + -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ + files=`echo $(SETUP_FILES) $(DOC_MODULE).types`; \ + if test "x$$files" != "x" ; then \ + for file in $$files ; do \ + destdir=`dirname $(abs_builddir)/$$file`; \ + test -d "$$destdir" || mkdir -p "$$destdir"; \ + test -f $(abs_srcdir)/$$file && \ + cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ + done; \ + fi; \ + fi + $(AM_V_at)touch setup-build.stamp + +scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB) + $(GTK_DOC_V_SCAN)_source_dir='' ; \ + for i in $(DOC_SOURCE_DIR) ; do \ + _source_dir="$${_source_dir} --source-dir=$$i" ; \ + done ; \ + gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES) + $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ + scanobj_options=""; \ + gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ + if test "$$?" = "0"; then \ + if test "x$(V)" = "x1"; then \ + scanobj_options="--verbose"; \ + fi; \ + fi; \ + CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ + gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \ + else \ + for i in $(SCANOBJ_FILES) ; do \ + test -f $$i || touch $$i ; \ + done \ + fi + $(AM_V_at)touch scan-build.stamp + +$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp + @true + +sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) xml/gtkdocentities.ent + $(GTK_DOC_V_XML)_source_dir='' ; \ + for i in $(DOC_SOURCE_DIR) ; do \ + _source_dir="$${_source_dir} --source-dir=$$i" ; \ + done ; \ + gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS) + $(AM_V_at)touch sgml-build.stamp + +sgml.stamp: sgml-build.stamp + @true + +$(DOC_MAIN_SGML_FILE): sgml-build.stamp + @true + +xml/gtkdocentities.ent: Makefile + $(GTK_DOC_V_XML)$(MKDIR_P) $(@D) && ( \ + echo "<!ENTITY package \"$(PACKAGE)\">"; \ + echo "<!ENTITY package_bugreport \"$(PACKAGE_BUGREPORT)\">"; \ + echo "<!ENTITY package_name \"$(PACKAGE_NAME)\">"; \ + echo "<!ENTITY package_string \"$(PACKAGE_STRING)\">"; \ + echo "<!ENTITY package_tarname \"$(PACKAGE_TARNAME)\">"; \ + echo "<!ENTITY package_url \"$(PACKAGE_URL)\">"; \ + echo "<!ENTITY package_version \"$(PACKAGE_VERSION)\">"; \ + ) > $@ + +html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files) + $(GTK_DOC_V_HTML)rm -rf html && mkdir html && \ + mkhtml_options=""; \ + gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \ + if test "$$?" = "0"; then \ + if test "x$(V)" = "x1"; then \ + mkhtml_options="$$mkhtml_options --verbose"; \ + fi; \ + fi; \ + gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \ + if test "$$?" = "0"; then \ + mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \ + fi; \ + cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) + -@test "x$(HTML_IMAGES)" = "x" || \ + for file in $(HTML_IMAGES) ; do \ + test -f $(abs_srcdir)/$$file && cp $(abs_srcdir)/$$file $(abs_builddir)/html; \ + test -f $(abs_builddir)/$$file && cp $(abs_builddir)/$$file $(abs_builddir)/html; \ + test -f $$file && cp $$file $(abs_builddir)/html; \ + done; + $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) + $(AM_V_at)touch html-build.stamp + +pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files) + $(GTK_DOC_V_PDF)rm -f $(DOC_MODULE).pdf && \ + mkpdf_options=""; \ + gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \ + if test "$$?" = "0"; then \ + if test "x$(V)" = "x1"; then \ + mkpdf_options="$$mkpdf_options --verbose"; \ + fi; \ + fi; \ + if test "x$(HTML_IMAGES)" != "x"; then \ + for img in $(HTML_IMAGES); do \ + part=`dirname $$img`; \ + echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \ + if test $$? != 0; then \ + mkpdf_options="$$mkpdf_options --imgdir=$$part"; \ + fi; \ + done; \ + fi; \ + gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS) + $(AM_V_at)touch pdf-build.stamp + +############## + +clean-local: + @rm -f *~ *.bak + @rm -rf .libs + @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \ + rm -f $(DOC_MODULE).types; \ + fi + @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-sections" ; then \ + rm -f $(DOC_MODULE)-sections.txt; \ + fi + +distclean-local: + @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \ + $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt + @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ + rm -f $(SETUP_FILES) $(DOC_MODULE).types; \ + fi + +maintainer-clean-local: + @rm -rf xml html + +install-data-local: + @installfiles=`echo $(builddir)/html/*`; \ + if test "$$installfiles" = '$(builddir)/html/*'; \ + then echo 1>&2 'Nothing to install' ; \ + else \ + if test -n "$(DOC_MODULE_VERSION)"; then \ + installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ + else \ + installdir="$(DESTDIR)$(TARGET_DIR)"; \ + fi; \ + $(mkinstalldirs) $${installdir} ; \ + for i in $$installfiles; do \ + echo ' $(INSTALL_DATA) '$$i ; \ + $(INSTALL_DATA) $$i $${installdir}; \ + done; \ + if test -n "$(DOC_MODULE_VERSION)"; then \ + mv -f $${installdir}/$(DOC_MODULE).devhelp2 \ + $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \ + fi; \ + $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \ + fi + +uninstall-local: + @if test -n "$(DOC_MODULE_VERSION)"; then \ + installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ + else \ + installdir="$(DESTDIR)$(TARGET_DIR)"; \ + fi; \ + rm -rf $${installdir} + +# +# Require gtk-doc when making dist +# +@HAVE_GTK_DOC_TRUE@dist-check-gtkdoc: docs +@HAVE_GTK_DOC_FALSE@dist-check-gtkdoc: +@HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc is needed to run 'make dist'. ***" +@HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc was not found when 'configure' ran. ***" +@HAVE_GTK_DOC_FALSE@ @echo "*** please install gtk-doc and rerun 'configure'. ***" +@HAVE_GTK_DOC_FALSE@ @false + +dist-hook: dist-check-gtkdoc all-gtk-doc dist-hook-local + @mkdir $(distdir)/html + @cp ./html/* $(distdir)/html + @-cp ./$(DOC_MODULE).pdf $(distdir)/ + @-cp ./$(DOC_MODULE).types $(distdir)/ + @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/ + @cd $(distdir) && rm -f $(DISTCLEANFILES) + @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html + +.PHONY : dist-hook-local docs + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/devel-docs/libgimpcolor/html/GimpColorManaged.html b/devel-docs/libgimpcolor/html/GimpColorManaged.html new file mode 100644 index 0000000..7d513b0 --- /dev/null +++ b/devel-docs/libgimpcolor/html/GimpColorManaged.html @@ -0,0 +1,284 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GimpColorManaged: GIMP Color Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="up" href="pt01.html" title="Part I. GIMP Color Library"> +<link rel="prev" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace"> +<link rel="next" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile"> +<meta name="generator" content="GTK-Doc V1.33.1 (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="5"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"> +<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> + <a href="#GimpColorManaged.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> + <a href="#GimpColorManaged.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_prerequisites"> <span class="dim">|</span> + <a href="#GimpColorManaged.prerequisites" class="shortcut">Prerequisites</a></span><span id="nav_signals"> <span class="dim">|</span> + <a href="#GimpColorManaged.signals" class="shortcut">Signals</a></span> +</td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> +<td><a accesskey="u" href="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<td><a accesskey="p" href="libgimpcolor-GimpColorSpace.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<td><a accesskey="n" href="libgimpcolor-GimpColorProfile.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +</tr></table> +<div class="refentry"> +<a name="GimpColorManaged"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="GimpColorManaged.top_of_page"></a>GimpColorManaged</span></h2> +<p>GimpColorManaged — An interface dealing with color profiles.</p> +</td> +<td class="gallery_image" valign="top" align="right"></td> +</tr></table></div> +<div class="refsect1"> +<a name="GimpColorManaged.functions"></a><h2>Functions</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="functions_proto_type"> +<col class="functions_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="function_type">const <span class="returnvalue">guint8</span> * +</td> +<td class="function_name"> +<a class="link" href="GimpColorManaged.html#gimp-color-managed-get-icc-profile" title="gimp_color_managed_get_icc_profile ()">gimp_color_managed_get_icc_profile</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GimpColorProfile</span> * +</td> +<td class="function_name"> +<a class="link" href="GimpColorManaged.html#gimp-color-managed-get-color-profile" title="gimp_color_managed_get_color_profile ()">gimp_color_managed_get_color_profile</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="GimpColorManaged.html#gimp-color-managed-profile-changed" title="gimp_color_managed_profile_changed ()">gimp_color_managed_profile_changed</a> <span class="c_punctuation">()</span> +</td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="GimpColorManaged.signals"></a><h2>Signals</h2> +<div class="informaltable"><table class="informaltable" border="0"> +<colgroup> +<col width="150px" class="signal_proto_type"> +<col width="300px" class="signal_proto_name"> +<col width="200px" class="signal_proto_flags"> +</colgroup> +<tbody><tr> +<td class="signal_type"><span class="returnvalue">void</span></td> +<td class="signal_name"><a class="link" href="GimpColorManaged.html#GimpColorManaged-profile-changed" title="The “profile-changed” signal">profile-changed</a></td> +<td class="signal_flags">Run First</td> +</tr></tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="GimpColorManaged.other"></a><h2>Types and Values</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="other_proto_type"> +<col class="other_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="datatype_keyword"> </td> +<td class="function_name"><a class="link" href="GimpColorManaged.html#GimpColorManaged-struct" title="GimpColorManaged">GimpColorManaged</a></td> +</tr> +<tr> +<td class="datatype_keyword">struct</td> +<td class="function_name"><a class="link" href="GimpColorManaged.html#GimpColorManagedInterface" title="struct GimpColorManagedInterface">GimpColorManagedInterface</a></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="GimpColorManaged.object-hierarchy"></a><h2>Object Hierarchy</h2> +<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a> + <span class="lineart">╰──</span> GimpColorManaged +</pre> +</div> +<div class="refsect1"> +<a name="GimpColorManaged.prerequisites"></a><h2>Prerequisites</h2> +<p> +GimpColorManaged requires + GObject.</p> +</div> +<div class="refsect1"> +<a name="GimpColorManaged.description"></a><h2>Description</h2> +<p>An interface dealing with color profiles.</p> +</div> +<div class="refsect1"> +<a name="GimpColorManaged.functions_details"></a><h2>Functions</h2> +<div class="refsect2"> +<a name="gimp-color-managed-get-icc-profile"></a><h3>gimp_color_managed_get_icc_profile ()</h3> +<pre class="programlisting">const <span class="returnvalue">guint8</span> * +gimp_color_managed_get_icc_profile (<em class="parameter"><code><a class="link" href="GimpColorManaged.html" title="GimpColorManaged"><span class="type">GimpColorManaged</span></a> *managed</code></em>, + <em class="parameter"><code><span class="type">gsize</span> *len</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-color-managed-get-icc-profile.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>managed</p></td> +<td class="parameter_description"><p>an object the implements the <a class="link" href="GimpColorManaged.html" title="GimpColorManaged"><span class="type">GimpColorManaged</span></a> interface</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>len</p></td> +<td class="parameter_description"><p>return location for the number of bytes in the profile data</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-managed-get-icc-profile.returns"></a><h4>Returns</h4> +<p> A pointer to a blob of data that represents an ICC +color profile.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-managed-get-color-profile"></a><h3>gimp_color_managed_get_color_profile ()</h3> +<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> * +gimp_color_managed_get_color_profile (<em class="parameter"><code><a class="link" href="GimpColorManaged.html" title="GimpColorManaged"><span class="type">GimpColorManaged</span></a> *managed</code></em>);</pre> +<p>This function always returns a <span class="type">GimpColorProfile</span> and falls back to +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-rgb-srgb" title="gimp_color_profile_new_rgb_srgb ()"><code class="function">gimp_color_profile_new_rgb_srgb()</code></a> if the method is not implemented.</p> +<div class="refsect3"> +<a name="gimp-color-managed-get-color-profile.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>managed</p></td> +<td class="parameter_description"><p>an object the implements the <a class="link" href="GimpColorManaged.html" title="GimpColorManaged"><span class="type">GimpColorManaged</span></a> interface</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-managed-get-color-profile.returns"></a><h4>Returns</h4> +<p> The <em class="parameter"><code>managed</code></em> +'s <span class="type">GimpColorProfile</span>.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-managed-profile-changed"></a><h3>gimp_color_managed_profile_changed ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_color_managed_profile_changed (<em class="parameter"><code><a class="link" href="GimpColorManaged.html" title="GimpColorManaged"><span class="type">GimpColorManaged</span></a> *managed</code></em>);</pre> +<p>Emits the "profile-changed" signal.</p> +<div class="refsect3"> +<a name="gimp-color-managed-profile-changed.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>managed</p></td> +<td class="parameter_description"><p>an object the implements the <a class="link" href="GimpColorManaged.html" title="GimpColorManaged"><span class="type">GimpColorManaged</span></a> interface</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p> +</div> +</div> +<div class="refsect1"> +<a name="GimpColorManaged.other_details"></a><h2>Types and Values</h2> +<div class="refsect2"> +<a name="GimpColorManaged-struct"></a><h3>GimpColorManaged</h3> +<pre class="programlisting">typedef struct _GimpColorManaged GimpColorManaged;</pre> +</div> +<hr> +<div class="refsect2"> +<a name="GimpColorManagedInterface"></a><h3>struct GimpColorManagedInterface</h3> +<pre class="programlisting">struct GimpColorManagedInterface { + GTypeInterface base_iface; + + /* virtual functions */ + const guint8 * (* get_icc_profile) (GimpColorManaged *managed, + gsize *len); + + /* signals */ + void (* profile_changed) (GimpColorManaged *managed); + + /* virtual functions */ + GimpColorProfile * (* get_color_profile) (GimpColorManaged *managed); +}; +</pre> +<div class="refsect3"> +<a name="GimpColorManagedInterface.members"></a><h4>Members</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="300px" class="struct_members_name"> +<col class="struct_members_description"> +<col width="200px" class="struct_members_annotations"> +</colgroup> +<tbody> +<tr> +<td class="struct_member_name"><p><span class="type">GTypeInterface</span> <em class="structfield"><code><a name="GimpColorManagedInterface.base-iface"></a>base_iface</code></em>;</p></td> +<td class="struct_member_description"><p>The parent interface</p></td> +<td class="struct_member_annotations"> </td> +</tr> +<tr> +<td class="struct_member_name"><p><em class="structfield"><code><a name="GimpColorManagedInterface.get-icc-profile"></a>get_icc_profile</code></em> ()</p></td> +<td class="struct_member_description"><p>Returns the ICC profile of the pixels managed by +the object</p></td> +<td class="struct_member_annotations"> </td> +</tr> +<tr> +<td class="struct_member_name"><p><em class="structfield"><code><a name="GimpColorManagedInterface.profile-changed"></a>profile_changed</code></em> ()</p></td> +<td class="struct_member_description"><p>This signal is emitted when the object's color profile +has changed</p></td> +<td class="struct_member_annotations"> </td> +</tr> +<tr> +<td class="struct_member_name"><p><em class="structfield"><code><a name="GimpColorManagedInterface.get-color-profile"></a>get_color_profile</code></em> ()</p></td> +<td class="struct_member_description"><p>Returns the <span class="type">GimpColorProfile</span> of the pixels managed +by the object</p></td> +<td class="struct_member_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +<div class="refsect1"> +<a name="GimpColorManaged.signal-details"></a><h2>Signal Details</h2> +<div class="refsect2"> +<a name="GimpColorManaged-profile-changed"></a><h3>The <code class="literal">“profile-changed”</code> signal</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +user_function (<a class="link" href="GimpColorManaged.html" title="GimpColorManaged"><span class="type">GimpColorManaged</span></a> *gimpcolormanaged, + <span class="type">gpointer</span> user_data)</pre> +<p>Flags: Run First</p> +</div> +</div> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html>
\ No newline at end of file diff --git a/devel-docs/libgimpcolor/html/api-index-full.html b/devel-docs/libgimpcolor/html/api-index-full.html new file mode 100644 index 0000000..c8e3729 --- /dev/null +++ b/devel-docs/libgimpcolor/html/api-index-full.html @@ -0,0 +1,643 @@ +<!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: GIMP Color Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="up" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="prev" href="libgimpcolor-GimpPixbuf.html" title="GimpPixbuf"> +<link rel="next" href="api-index-2-2.html" title="Index of new symbols in GIMP 2.2"> +<meta name="generator" content="GTK-Doc V1.33.1 (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="5"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"><span id="nav_index"><a class="shortcut" href="#idxA">A</a> + <span class="dim">|</span> + <a class="shortcut" href="#idxB">B</a> + <span class="dim">|</span> + <a class="shortcut" href="#idxC">C</a> + <span class="dim">|</span> + <a class="shortcut" href="#idxH">H</a> + <span class="dim">|</span> + <a class="shortcut" href="#idxP">P</a> + <span class="dim">|</span> + <a class="shortcut" href="#idxR">R</a> + <span class="dim">|</span> + <a class="shortcut" href="#idxT">T</a> + <span class="dim">|</span> + <a class="shortcut" href="#idxV">V</a></span></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> +<td><img src="up-insensitive.png" width="16" height="16" border="0"></td> +<td><a accesskey="p" href="libgimpcolor-GimpPixbuf.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<td><a accesskey="n" href="api-index-2-2.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +</tr></table> +<div class="index"> +<div class="titlepage"><div><div><h1 class="title"> +<a name="api-index-full"></a>Index</h1></div></div></div> +<a name="idx"></a><a name="idxA"></a><h3 class="title">A</h3> +<dt> +<a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#gimp-adaptive-supersample-area" title="gimp_adaptive_supersample_area ()">gimp_adaptive_supersample_area</a>, function in <a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html" title="GimpAdaptiveSupersample">GimpAdaptiveSupersample</a> +</dt> +<dd></dd> +<a name="idxB"></a><h3 class="title">B</h3> +<dt> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear" title="gimp_bilinear ()">gimp_bilinear</a>, function in <a class="link" href="libgimpcolor-GimpBilinear.html" title="GimpBilinear">GimpBilinear</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-16" title="gimp_bilinear_16 ()">gimp_bilinear_16</a>, function in <a class="link" href="libgimpcolor-GimpBilinear.html" title="GimpBilinear">GimpBilinear</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-32" title="gimp_bilinear_32 ()">gimp_bilinear_32</a>, function in <a class="link" href="libgimpcolor-GimpBilinear.html" title="GimpBilinear">GimpBilinear</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-8" title="gimp_bilinear_8 ()">gimp_bilinear_8</a>, function in <a class="link" href="libgimpcolor-GimpBilinear.html" title="GimpBilinear">GimpBilinear</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8" title="gimp_bilinear_pixels_8 ()">gimp_bilinear_pixels_8</a>, function in <a class="link" href="libgimpcolor-GimpBilinear.html" title="GimpBilinear">GimpBilinear</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-rgb" title="gimp_bilinear_rgb ()">gimp_bilinear_rgb</a>, function in <a class="link" href="libgimpcolor-GimpBilinear.html" title="GimpBilinear">GimpBilinear</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-rgba" title="gimp_bilinear_rgba ()">gimp_bilinear_rgba</a>, function in <a class="link" href="libgimpcolor-GimpBilinear.html" title="GimpBilinear">GimpBilinear</a> +</dt> +<dd></dd> +<a name="idxC"></a><h3 class="title">C</h3> +<dt> +<a class="link" href="libgimpcolor-GimpCairo.html#GIMP-CAIRO-ARGB32-GET-PIXEL:CAPS" title="GIMP_CAIRO_ARGB32_GET_PIXEL()">GIMP_CAIRO_ARGB32_GET_PIXEL</a>, macro in <a class="link" href="libgimpcolor-GimpCairo.html" title="GimpCairo">GimpCairo</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpCairo.html#GIMP-CAIRO-ARGB32-SET-PIXEL:CAPS" title="GIMP_CAIRO_ARGB32_SET_PIXEL()">GIMP_CAIRO_ARGB32_SET_PIXEL</a>, macro in <a class="link" href="libgimpcolor-GimpCairo.html" title="GimpCairo">GimpCairo</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpCairo.html#gimp-cairo-checkerboard-create" title="gimp_cairo_checkerboard_create ()">gimp_cairo_checkerboard_create</a>, function in <a class="link" href="libgimpcolor-GimpCairo.html" title="GimpCairo">GimpCairo</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpCairo.html#GIMP-CAIRO-RGB24-GET-PIXEL:CAPS" title="GIMP_CAIRO_RGB24_GET_PIXEL()">GIMP_CAIRO_RGB24_GET_PIXEL</a>, macro in <a class="link" href="libgimpcolor-GimpCairo.html" title="GimpCairo">GimpCairo</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpCairo.html#GIMP-CAIRO-RGB24-SET-PIXEL:CAPS" title="GIMP_CAIRO_RGB24_SET_PIXEL()">GIMP_CAIRO_RGB24_SET_PIXEL</a>, macro in <a class="link" href="libgimpcolor-GimpCairo.html" title="GimpCairo">GimpCairo</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpCairo.html#gimp-cairo-set-source-rgb" title="gimp_cairo_set_source_rgb ()">gimp_cairo_set_source_rgb</a>, function in <a class="link" href="libgimpcolor-GimpCairo.html" title="GimpCairo">GimpCairo</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpCairo.html#gimp-cairo-set-source-rgba" title="gimp_cairo_set_source_rgba ()">gimp_cairo_set_source_rgba</a>, function in <a class="link" href="libgimpcolor-GimpCairo.html" title="GimpCairo">GimpCairo</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpCairo.html#gimp-cairo-surface-create-buffer" title="gimp_cairo_surface_create_buffer ()">gimp_cairo_surface_create_buffer</a>, function in <a class="link" href="libgimpcolor-GimpCairo.html" title="GimpCairo">GimpCairo</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpCairo.html#gimp-cairo-surface-get-format" title="gimp_cairo_surface_get_format ()">gimp_cairo_surface_get_format</a>, function in <a class="link" href="libgimpcolor-GimpCairo.html" title="GimpCairo">GimpCairo</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK">GimpCMYK</a>, struct in <a class="link" href="libgimpcolor-GimpCMYK.html" title="GimpCMYK">GimpCMYK</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyka-get-uchar" title="gimp_cmyka_get_uchar ()">gimp_cmyka_get_uchar</a>, function in <a class="link" href="libgimpcolor-GimpCMYK.html" title="GimpCMYK">GimpCMYK</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyka-set" title="gimp_cmyka_set ()">gimp_cmyka_set</a>, function in <a class="link" href="libgimpcolor-GimpCMYK.html" title="GimpCMYK">GimpCMYK</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyka-set-uchar" title="gimp_cmyka_set_uchar ()">gimp_cmyka_set_uchar</a>, function in <a class="link" href="libgimpcolor-GimpCMYK.html" title="GimpCMYK">GimpCMYK</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyk-get-uchar" title="gimp_cmyk_get_uchar ()">gimp_cmyk_get_uchar</a>, function in <a class="link" href="libgimpcolor-GimpCMYK.html" title="GimpCMYK">GimpCMYK</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyk-set" title="gimp_cmyk_set ()">gimp_cmyk_set</a>, function in <a class="link" href="libgimpcolor-GimpCMYK.html" title="GimpCMYK">GimpCMYK</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyk-set-uchar" title="gimp_cmyk_set_uchar ()">gimp_cmyk_set_uchar</a>, function in <a class="link" href="libgimpcolor-GimpCMYK.html" title="GimpCMYK">GimpCMYK</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-cmyk-to-rgb" title="gimp_cmyk_to_rgb ()">gimp_cmyk_to_rgb</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-cmyk-to-rgb-int" title="gimp_cmyk_to_rgb_int ()">gimp_cmyk_to_rgb_int</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="GimpColorManaged.html#GimpColorManaged-struct" title="GimpColorManaged">GimpColorManaged</a>, struct in <a class="link" href="GimpColorManaged.html" title="GimpColorManaged">GimpColorManaged</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="GimpColorManaged.html#GimpColorManaged-profile-changed" title="The “profile-changed” signal">GimpColorManaged::profile-changed</a>, object signal in <a class="link" href="GimpColorManaged.html" title="GimpColorManaged">GimpColorManaged</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="GimpColorManaged.html#GimpColorManagedInterface" title="struct GimpColorManagedInterface">GimpColorManagedInterface</a>, struct in <a class="link" href="GimpColorManaged.html" title="GimpColorManaged">GimpColorManaged</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorTransform.html#GimpColorTransformFlags" title="enum GimpColorTransformFlags">GimpColorTransformFlags</a>, enum in <a class="link" href="libgimpcolor-GimpColorTransform.html" title="GimpColorTransform">GimpColorTransform</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="GimpColorManaged.html#gimp-color-managed-get-color-profile" title="gimp_color_managed_get_color_profile ()">gimp_color_managed_get_color_profile</a>, function in <a class="link" href="GimpColorManaged.html" title="GimpColorManaged">GimpColorManaged</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="GimpColorManaged.html#gimp-color-managed-get-icc-profile" title="gimp_color_managed_get_icc_profile ()">gimp_color_managed_get_icc_profile</a>, function in <a class="link" href="GimpColorManaged.html" title="GimpColorManaged">GimpColorManaged</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="GimpColorManaged.html#gimp-color-managed-profile-changed" title="gimp_color_managed_profile_changed ()">gimp_color_managed_profile_changed</a>, function in <a class="link" href="GimpColorManaged.html" title="GimpColorManaged">GimpColorManaged</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-copyright" title="gimp_color_profile_get_copyright ()">gimp_color_profile_get_copyright</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-description" title="gimp_color_profile_get_description ()">gimp_color_profile_get_description</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-format" title="gimp_color_profile_get_format ()">gimp_color_profile_get_format</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-icc-profile" title="gimp_color_profile_get_icc_profile ()">gimp_color_profile_get_icc_profile</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-label" title="gimp_color_profile_get_label ()">gimp_color_profile_get_label</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-lcms-format" title="gimp_color_profile_get_lcms_format ()">gimp_color_profile_get_lcms_format</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-lcms-profile" title="gimp_color_profile_get_lcms_profile ()">gimp_color_profile_get_lcms_profile</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-manufacturer" title="gimp_color_profile_get_manufacturer ()">gimp_color_profile_get_manufacturer</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-model" title="gimp_color_profile_get_model ()">gimp_color_profile_get_model</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-space" title="gimp_color_profile_get_space ()">gimp_color_profile_get_space</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-summary" title="gimp_color_profile_get_summary ()">gimp_color_profile_get_summary</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-cmyk" title="gimp_color_profile_is_cmyk ()">gimp_color_profile_is_cmyk</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-equal" title="gimp_color_profile_is_equal ()">gimp_color_profile_is_equal</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-gray" title="gimp_color_profile_is_gray ()">gimp_color_profile_is_gray</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-linear" title="gimp_color_profile_is_linear ()">gimp_color_profile_is_linear</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-rgb" title="gimp_color_profile_is_rgb ()">gimp_color_profile_is_rgb</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-d50-gray-lab-trc" title="gimp_color_profile_new_d50_gray_lab_trc ()">gimp_color_profile_new_d50_gray_lab_trc</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-d65-gray-linear" title="gimp_color_profile_new_d65_gray_linear ()">gimp_color_profile_new_d65_gray_linear</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-d65-gray-srgb-trc" title="gimp_color_profile_new_d65_gray_srgb_trc ()">gimp_color_profile_new_d65_gray_srgb_trc</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-from-file" title="gimp_color_profile_new_from_file ()">gimp_color_profile_new_from_file</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-from-icc-profile" title="gimp_color_profile_new_from_icc_profile ()">gimp_color_profile_new_from_icc_profile</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-from-lcms-profile" title="gimp_color_profile_new_from_lcms_profile ()">gimp_color_profile_new_from_lcms_profile</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-linear-from-color-profile" title="gimp_color_profile_new_linear_from_color_profile ()">gimp_color_profile_new_linear_from_color_profile</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-rgb-adobe" title="gimp_color_profile_new_rgb_adobe ()">gimp_color_profile_new_rgb_adobe</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-rgb-srgb" title="gimp_color_profile_new_rgb_srgb ()">gimp_color_profile_new_rgb_srgb</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-rgb-srgb-linear" title="gimp_color_profile_new_rgb_srgb_linear ()">gimp_color_profile_new_rgb_srgb_linear</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-srgb-trc-from-color-profile" title="gimp_color_profile_new_srgb_trc_from_color_profile ()">gimp_color_profile_new_srgb_trc_from_color_profile</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-save-to-file" title="gimp_color_profile_save_to_file ()">gimp_color_profile_save_to_file</a>, function in <a class="link" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile">GimpColorProfile</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorTransform.html#gimp-color-transform-can-gegl-copy" title="gimp_color_transform_can_gegl_copy ()">gimp_color_transform_can_gegl_copy</a>, function in <a class="link" href="libgimpcolor-GimpColorTransform.html" title="GimpColorTransform">GimpColorTransform</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorTransform.html#gimp-color-transform-new" title="gimp_color_transform_new ()">gimp_color_transform_new</a>, function in <a class="link" href="libgimpcolor-GimpColorTransform.html" title="GimpColorTransform">GimpColorTransform</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorTransform.html#gimp-color-transform-new-proofing" title="gimp_color_transform_new_proofing ()">gimp_color_transform_new_proofing</a>, function in <a class="link" href="libgimpcolor-GimpColorTransform.html" title="GimpColorTransform">GimpColorTransform</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorTransform.html#gimp-color-transform-process-buffer" title="gimp_color_transform_process_buffer ()">gimp_color_transform_process_buffer</a>, function in <a class="link" href="libgimpcolor-GimpColorTransform.html" title="GimpColorTransform">GimpColorTransform</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorTransform.html#gimp-color-transform-process-pixels" title="gimp_color_transform_process_pixels ()">gimp_color_transform_process_pixels</a>, function in <a class="link" href="libgimpcolor-GimpColorTransform.html" title="GimpColorTransform">GimpColorTransform</a> +</dt> +<dd></dd> +<a name="idxH"></a><h3 class="title">H</h3> +<dt> +<a class="link" href="libgimpcolor-GimpHSV.html#GimpHSL" title="struct GimpHSL">GimpHSL</a>, struct in <a class="link" href="libgimpcolor-GimpHSV.html" title="GimpHSV">GimpHSV</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpHSV.html#gimp-hsl-set" title="gimp_hsl_set ()">gimp_hsl_set</a>, function in <a class="link" href="libgimpcolor-GimpHSV.html" title="GimpHSV">GimpHSV</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpHSV.html#gimp-hsl-set-alpha" title="gimp_hsl_set_alpha ()">gimp_hsl_set_alpha</a>, function in <a class="link" href="libgimpcolor-GimpHSV.html" title="GimpHSV">GimpHSV</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hsl-to-rgb" title="gimp_hsl_to_rgb ()">gimp_hsl_to_rgb</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hsl-to-rgb-int" title="gimp_hsl_to_rgb_int ()">gimp_hsl_to_rgb_int</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpHSV.html#GimpHSV" title="struct GimpHSV">GimpHSV</a>, struct in <a class="link" href="libgimpcolor-GimpHSV.html" title="GimpHSV">GimpHSV</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpHSV.html#gimp-hsva-set" title="gimp_hsva_set ()">gimp_hsva_set</a>, function in <a class="link" href="libgimpcolor-GimpHSV.html" title="GimpHSV">GimpHSV</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpHSV.html#gimp-hsv-clamp" title="gimp_hsv_clamp ()">gimp_hsv_clamp</a>, function in <a class="link" href="libgimpcolor-GimpHSV.html" title="GimpHSV">GimpHSV</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpHSV.html#gimp-hsv-set" title="gimp_hsv_set ()">gimp_hsv_set</a>, function in <a class="link" href="libgimpcolor-GimpHSV.html" title="GimpHSV">GimpHSV</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hsv-to-rgb" title="gimp_hsv_to_rgb ()">gimp_hsv_to_rgb</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hsv-to-rgb4" title="gimp_hsv_to_rgb4 ()">gimp_hsv_to_rgb4</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hsv-to-rgb-int" title="gimp_hsv_to_rgb_int ()">gimp_hsv_to_rgb_int</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hwb-to-rgb" title="gimp_hwb_to_rgb ()">gimp_hwb_to_rgb</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<a name="idxP"></a><h3 class="title">P</h3> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-param-spec-rgb" title="gimp_param_spec_rgb ()">gimp_param_spec_rgb</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-param-spec-rgb-get-default" title="gimp_param_spec_rgb_get_default ()">gimp_param_spec_rgb_get_default</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-param-spec-rgb-has-alpha" title="gimp_param_spec_rgb_has_alpha ()">gimp_param_spec_rgb_has_alpha</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpPixbuf.html#gimp-pixbuf-create-buffer" title="gimp_pixbuf_create_buffer ()">gimp_pixbuf_create_buffer</a>, function in <a class="link" href="libgimpcolor-GimpPixbuf.html" title="GimpPixbuf">GimpPixbuf</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpPixbuf.html#gimp-pixbuf-get-format" title="gimp_pixbuf_get_format ()">gimp_pixbuf_get_format</a>, function in <a class="link" href="libgimpcolor-GimpPixbuf.html" title="GimpPixbuf">GimpPixbuf</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpPixbuf.html#gimp-pixbuf-get-icc-profile" title="gimp_pixbuf_get_icc_profile ()">gimp_pixbuf_get_icc_profile</a>, function in <a class="link" href="libgimpcolor-GimpPixbuf.html" title="GimpPixbuf">GimpPixbuf</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpProgressFunc" title="GimpProgressFunc ()">GimpProgressFunc</a>, user_function in <a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html" title="GimpAdaptiveSupersample">GimpAdaptiveSupersample</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpPutPixelFunc" title="GimpPutPixelFunc ()">GimpPutPixelFunc</a>, user_function in <a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html" title="GimpAdaptiveSupersample">GimpAdaptiveSupersample</a> +</dt> +<dd></dd> +<a name="idxR"></a><h3 class="title">R</h3> +<dt> +<a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpRenderFunc" title="GimpRenderFunc ()">GimpRenderFunc</a>, user_function in <a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html" title="GimpAdaptiveSupersample">GimpAdaptiveSupersample</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB">GimpRGB</a>, struct in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-add" title="gimp_rgba_add ()">gimp_rgba_add</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-distance" title="gimp_rgba_distance ()">gimp_rgba_distance</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-get-pixel" title="gimp_rgba_get_pixel ()">gimp_rgba_get_pixel</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-get-uchar" title="gimp_rgba_get_uchar ()">gimp_rgba_get_uchar</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-multiply" title="gimp_rgba_multiply ()">gimp_rgba_multiply</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-parse-css" title="gimp_rgba_parse_css ()">gimp_rgba_parse_css</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-set" title="gimp_rgba_set ()">gimp_rgba_set</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-set-pixel" title="gimp_rgba_set_pixel ()">gimp_rgba_set_pixel</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-set-uchar" title="gimp_rgba_set_uchar ()">gimp_rgba_set_uchar</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-subtract" title="gimp_rgba_subtract ()">gimp_rgba_subtract</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGBCompositeMode" title="enum GimpRGBCompositeMode">GimpRGBCompositeMode</a>, enum in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-add" title="gimp_rgb_add ()">gimp_rgb_add</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-clamp" title="gimp_rgb_clamp ()">gimp_rgb_clamp</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-composite" title="gimp_rgb_composite ()">gimp_rgb_composite</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-distance" title="gimp_rgb_distance ()">gimp_rgb_distance</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-gamma" title="gimp_rgb_gamma ()">gimp_rgb_gamma</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-get-pixel" title="gimp_rgb_get_pixel ()">gimp_rgb_get_pixel</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-get-uchar" title="gimp_rgb_get_uchar ()">gimp_rgb_get_uchar</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY:CAPS" title="GIMP_RGB_INTENSITY()">GIMP_RGB_INTENSITY</a>, macro in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-intensity" title="gimp_rgb_intensity ()">gimp_rgb_intensity</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-BLUE:CAPS" title="GIMP_RGB_INTENSITY_BLUE">GIMP_RGB_INTENSITY_BLUE</a>, macro in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-GREEN:CAPS" title="GIMP_RGB_INTENSITY_GREEN">GIMP_RGB_INTENSITY_GREEN</a>, macro in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-RED:CAPS" title="GIMP_RGB_INTENSITY_RED">GIMP_RGB_INTENSITY_RED</a>, macro in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-intensity-uchar" title="gimp_rgb_intensity_uchar ()">gimp_rgb_intensity_uchar</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-list-names" title="gimp_rgb_list_names ()">gimp_rgb_list_names</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE:CAPS" title="GIMP_RGB_LUMINANCE()">GIMP_RGB_LUMINANCE</a>, macro in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-luminance" title="gimp_rgb_luminance ()">gimp_rgb_luminance</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE-BLUE:CAPS" title="GIMP_RGB_LUMINANCE_BLUE">GIMP_RGB_LUMINANCE_BLUE</a>, macro in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE-GREEN:CAPS" title="GIMP_RGB_LUMINANCE_GREEN">GIMP_RGB_LUMINANCE_GREEN</a>, macro in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE-RED:CAPS" title="GIMP_RGB_LUMINANCE_RED">GIMP_RGB_LUMINANCE_RED</a>, macro in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-luminance-uchar" title="gimp_rgb_luminance_uchar ()">gimp_rgb_luminance_uchar</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-max" title="gimp_rgb_max ()">gimp_rgb_max</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-min" title="gimp_rgb_min ()">gimp_rgb_min</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-multiply" title="gimp_rgb_multiply ()">gimp_rgb_multiply</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-parse-css" title="gimp_rgb_parse_css ()">gimp_rgb_parse_css</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-parse-hex" title="gimp_rgb_parse_hex ()">gimp_rgb_parse_hex</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-parse-name" title="gimp_rgb_parse_name ()">gimp_rgb_parse_name</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-set" title="gimp_rgb_set ()">gimp_rgb_set</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-set-alpha" title="gimp_rgb_set_alpha ()">gimp_rgb_set_alpha</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-set-pixel" title="gimp_rgb_set_pixel ()">gimp_rgb_set_pixel</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-set-uchar" title="gimp_rgb_set_uchar ()">gimp_rgb_set_uchar</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-subtract" title="gimp_rgb_subtract ()">gimp_rgb_subtract</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-cmyk" title="gimp_rgb_to_cmyk ()">gimp_rgb_to_cmyk</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-cmyk-int" title="gimp_rgb_to_cmyk_int ()">gimp_rgb_to_cmyk_int</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsl" title="gimp_rgb_to_hsl ()">gimp_rgb_to_hsl</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsl-int" title="gimp_rgb_to_hsl_int ()">gimp_rgb_to_hsl_int</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsv" title="gimp_rgb_to_hsv ()">gimp_rgb_to_hsv</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsv4" title="gimp_rgb_to_hsv4 ()">gimp_rgb_to_hsv4</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsv-int" title="gimp_rgb_to_hsv_int ()">gimp_rgb_to_hsv_int</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hwb" title="gimp_rgb_to_hwb ()">gimp_rgb_to_hwb</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-l-int" title="gimp_rgb_to_l_int ()">gimp_rgb_to_l_int</a>, function in <a class="link" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">GimpColorSpace</a> +</dt> +<dd></dd> +<a name="idxT"></a><h3 class="title">T</h3> +<dt> +<a class="link" href="libgimpcolor-GimpCMYK.html#GIMP-TYPE-CMYK:CAPS" title="GIMP_TYPE_CMYK">GIMP_TYPE_CMYK</a>, macro in <a class="link" href="libgimpcolor-GimpCMYK.html" title="GimpCMYK">GimpCMYK</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpHSV.html#GIMP-TYPE-HSL:CAPS" title="GIMP_TYPE_HSL">GIMP_TYPE_HSL</a>, macro in <a class="link" href="libgimpcolor-GimpHSV.html" title="GimpHSV">GimpHSV</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpHSV.html#GIMP-TYPE-HSV:CAPS" title="GIMP_TYPE_HSV">GIMP_TYPE_HSV</a>, macro in <a class="link" href="libgimpcolor-GimpHSV.html" title="GimpHSV">GimpHSV</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#GIMP-TYPE-PARAM-RGB:CAPS" title="GIMP_TYPE_PARAM_RGB">GIMP_TYPE_PARAM_RGB</a>, macro in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#GIMP-TYPE-RGB:CAPS" title="GIMP_TYPE_RGB">GIMP_TYPE_RGB</a>, macro in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<a name="idxV"></a><h3 class="title">V</h3> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-value-get-rgb" title="gimp_value_get_rgb ()">gimp_value_get_rgb</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#GIMP-VALUE-HOLDS-RGB:CAPS" title="GIMP_VALUE_HOLDS_RGB()">GIMP_VALUE_HOLDS_RGB</a>, macro in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +<dt> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-value-set-rgb" title="gimp_value_set_rgb ()">gimp_value_set_rgb</a>, function in <a class="link" href="libgimpcolor-GimpRGB.html" title="GimpRGB">GimpRGB</a> +</dt> +<dd></dd> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html>
\ No newline at end of file diff --git a/devel-docs/libgimpcolor/html/home.png b/devel-docs/libgimpcolor/html/home.png Binary files differnew file mode 100644 index 0000000..3966a91 --- /dev/null +++ b/devel-docs/libgimpcolor/html/home.png diff --git a/devel-docs/libgimpcolor/html/index.html b/devel-docs/libgimpcolor/html/index.html new file mode 100644 index 0000000..22d7e12 --- /dev/null +++ b/devel-docs/libgimpcolor/html/index.html @@ -0,0 +1,69 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GIMP Color Library Reference Manual: GIMP Color Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="next" href="pt01.html" title="Part I. GIMP Color Library"> +<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<div lang="en" class="book"> +<div class="titlepage"> +<div> +<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GIMP Color Library Reference Manual</p></th></tr></table></div> +<div><p class="releaseinfo"> + for GIMP 2.10.36 + + </p></div> +</div> +<hr> +</div> +<div class="toc"><dl class="toc"> +<dt><span class="part"><a href="pt01.html">I. GIMP Color Library</a></span></dt> +<dd><dl> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpRGB.html">GimpRGB</a></span><span class="refpurpose"> — Definitions and Functions relating to RGB colors.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpHSV.html">GimpHSV</a></span><span class="refpurpose"> — Definitions and Functions relating to HSV colors.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpCMYK.html">GimpCMYK</a></span><span class="refpurpose"> — Definitions and Functions relating to CMYK colors.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpColorSpace.html">GimpColorSpace</a></span><span class="refpurpose"> — Utility functions which convert colors between +different color models.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="GimpColorManaged.html">GimpColorManaged</a></span><span class="refpurpose"> — An interface dealing with color profiles.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpColorProfile.html">GimpColorProfile</a></span><span class="refpurpose"> — Definitions and Functions relating to LCMS.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpColorTransform.html">GimpColorTransform</a></span><span class="refpurpose"> — Definitions and Functions relating to LCMS.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpAdaptiveSupersample.html">GimpAdaptiveSupersample</a></span><span class="refpurpose"> — Functions to perform adaptive supersampling on +an area.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpBilinear.html">GimpBilinear</a></span><span class="refpurpose"> — Utility functions for bilinear interpolation.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpCairo.html">GimpCairo</a></span><span class="refpurpose"> — Color utility functions for cairo</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpPixbuf.html">GimpPixbuf</a></span><span class="refpurpose"> — Definitions and Functions relating to GdkPixbuf.</span> +</dt> +</dl></dd> +<dt><span class="index"><a href="api-index-full.html">Index</a></span></dt> +</dl></div> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html>
\ No newline at end of file diff --git a/devel-docs/libgimpcolor/html/left-insensitive.png b/devel-docs/libgimpcolor/html/left-insensitive.png Binary files differnew file mode 100644 index 0000000..2cd8c16 --- /dev/null +++ b/devel-docs/libgimpcolor/html/left-insensitive.png diff --git a/devel-docs/libgimpcolor/html/left.png b/devel-docs/libgimpcolor/html/left.png Binary files differnew file mode 100644 index 0000000..1ca1664 --- /dev/null +++ b/devel-docs/libgimpcolor/html/left.png diff --git a/devel-docs/libgimpcolor/html/libgimpcolor-GimpAdaptiveSupersample.html b/devel-docs/libgimpcolor/html/libgimpcolor-GimpAdaptiveSupersample.html new file mode 100644 index 0000000..bcb4004 --- /dev/null +++ b/devel-docs/libgimpcolor/html/libgimpcolor-GimpAdaptiveSupersample.html @@ -0,0 +1,132 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GimpAdaptiveSupersample: GIMP Color Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="up" href="pt01.html" title="Part I. GIMP Color Library"> +<link rel="prev" href="libgimpcolor-GimpColorTransform.html" title="GimpColorTransform"> +<link rel="next" href="libgimpcolor-GimpBilinear.html" title="GimpBilinear"> +<meta name="generator" content="GTK-Doc V1.33.1 (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="5"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"> +<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> + <a href="#libgimpcolor-GimpAdaptiveSupersample.description" class="shortcut">Description</a></span> +</td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> +<td><a accesskey="u" href="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<td><a accesskey="p" href="libgimpcolor-GimpColorTransform.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<td><a accesskey="n" href="libgimpcolor-GimpBilinear.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +</tr></table> +<div class="refentry"> +<a name="libgimpcolor-GimpAdaptiveSupersample"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libgimpcolor-GimpAdaptiveSupersample.top_of_page"></a>GimpAdaptiveSupersample</span></h2> +<p>GimpAdaptiveSupersample — Functions to perform adaptive supersampling on +an area.</p> +</td> +<td class="gallery_image" valign="top" align="right"></td> +</tr></table></div> +<div class="refsect1"> +<a name="libgimpcolor-GimpAdaptiveSupersample.functions"></a><h2>Functions</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="functions_proto_type"> +<col class="functions_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<span class="c_punctuation">(</span><a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpProgressFunc" title="GimpProgressFunc ()">*GimpProgressFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<span class="c_punctuation">(</span><a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpPutPixelFunc" title="GimpPutPixelFunc ()">*GimpPutPixelFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<span class="c_punctuation">(</span><a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpRenderFunc" title="GimpRenderFunc ()">*GimpRenderFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gulong</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#gimp-adaptive-supersample-area" title="gimp_adaptive_supersample_area ()">gimp_adaptive_supersample_area</a> <span class="c_punctuation">()</span> +</td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpAdaptiveSupersample.description"></a><h2>Description</h2> +<p>Functions to perform adaptive supersampling on an area.</p> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpAdaptiveSupersample.functions_details"></a><h2>Functions</h2> +<div class="refsect2"> +<a name="GimpProgressFunc"></a><h3>GimpProgressFunc ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +<span class="c_punctuation">(</span>*GimpProgressFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">gint</span> min</code></em>, + <em class="parameter"><code><span class="type">gint</span> max</code></em>, + <em class="parameter"><code><span class="type">gint</span> current</code></em>, + <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="GimpPutPixelFunc"></a><h3>GimpPutPixelFunc ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +<span class="c_punctuation">(</span>*GimpPutPixelFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">gint</span> x</code></em>, + <em class="parameter"><code><span class="type">gint</span> y</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>, + <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="GimpRenderFunc"></a><h3>GimpRenderFunc ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +<span class="c_punctuation">(</span>*GimpRenderFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">gdouble</span> x</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> y</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>, + <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-adaptive-supersample-area"></a><h3>gimp_adaptive_supersample_area ()</h3> +<pre class="programlisting"><span class="returnvalue">gulong</span> +gimp_adaptive_supersample_area (<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> x2</code></em>, + <em class="parameter"><code><span class="type">gint</span> y2</code></em>, + <em class="parameter"><code><span class="type">gint</span> max_depth</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> threshold</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpRenderFunc" title="GimpRenderFunc ()"><span class="type">GimpRenderFunc</span></a> render_func</code></em>, + <em class="parameter"><code><span class="type">gpointer</span> render_data</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpPutPixelFunc" title="GimpPutPixelFunc ()"><span class="type">GimpPutPixelFunc</span></a> put_pixel_func</code></em>, + <em class="parameter"><code><span class="type">gpointer</span> put_pixel_data</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpAdaptiveSupersample.html#GimpProgressFunc" title="GimpProgressFunc ()"><span class="type">GimpProgressFunc</span></a> progress_func</code></em>, + <em class="parameter"><code><span class="type">gpointer</span> progress_data</code></em>);</pre> +</div> +</div> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html>
\ No newline at end of file diff --git a/devel-docs/libgimpcolor/html/libgimpcolor-GimpBilinear.html b/devel-docs/libgimpcolor/html/libgimpcolor-GimpBilinear.html new file mode 100644 index 0000000..d1835f3 --- /dev/null +++ b/devel-docs/libgimpcolor/html/libgimpcolor-GimpBilinear.html @@ -0,0 +1,226 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GimpBilinear: GIMP Color Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="up" href="pt01.html" title="Part I. GIMP Color Library"> +<link rel="prev" href="libgimpcolor-GimpAdaptiveSupersample.html" title="GimpAdaptiveSupersample"> +<link rel="next" href="libgimpcolor-GimpCairo.html" title="GimpCairo"> +<meta name="generator" content="GTK-Doc V1.33.1 (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="5"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"> +<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> + <a href="#libgimpcolor-GimpBilinear.description" class="shortcut">Description</a></span> +</td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> +<td><a accesskey="u" href="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<td><a accesskey="p" href="libgimpcolor-GimpAdaptiveSupersample.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<td><a accesskey="n" href="libgimpcolor-GimpCairo.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +</tr></table> +<div class="refentry"> +<a name="libgimpcolor-GimpBilinear"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libgimpcolor-GimpBilinear.top_of_page"></a>GimpBilinear</span></h2> +<p>GimpBilinear — Utility functions for bilinear interpolation.</p> +</td> +<td class="gallery_image" valign="top" align="right"></td> +</tr></table></div> +<div class="refsect1"> +<a name="libgimpcolor-GimpBilinear.functions"></a><h2>Functions</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="functions_proto_type"> +<col class="functions_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="function_type"> +<span class="returnvalue">gdouble</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear" title="gimp_bilinear ()">gimp_bilinear</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">guchar</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-8" title="gimp_bilinear_8 ()">gimp_bilinear_8</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">guint16</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-16" title="gimp_bilinear_16 ()">gimp_bilinear_16</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">guint32</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-32" title="gimp_bilinear_32 ()">gimp_bilinear_32</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="returnvalue">GimpRGB</span></a> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-rgb" title="gimp_bilinear_rgb ()">gimp_bilinear_rgb</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="returnvalue">GimpRGB</span></a> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-rgba" title="gimp_bilinear_rgba ()">gimp_bilinear_rgba</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8" title="gimp_bilinear_pixels_8 ()">gimp_bilinear_pixels_8</a> <span class="c_punctuation">()</span> +</td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpBilinear.description"></a><h2>Description</h2> +<p>Utility functions for bilinear interpolation.</p> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpBilinear.functions_details"></a><h2>Functions</h2> +<div class="refsect2"> +<a name="gimp-bilinear"></a><h3>gimp_bilinear ()</h3> +<pre class="programlisting"><span class="returnvalue">gdouble</span> +gimp_bilinear (<em class="parameter"><code><span class="type">gdouble</span> x</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> y</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *values</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-bilinear-8"></a><h3>gimp_bilinear_8 ()</h3> +<pre class="programlisting"><span class="returnvalue">guchar</span> +gimp_bilinear_8 (<em class="parameter"><code><span class="type">gdouble</span> x</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> y</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *values</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-bilinear-16"></a><h3>gimp_bilinear_16 ()</h3> +<pre class="programlisting"><span class="returnvalue">guint16</span> +gimp_bilinear_16 (<em class="parameter"><code><span class="type">gdouble</span> x</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> y</code></em>, + <em class="parameter"><code><span class="type">guint16</span> *values</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-bilinear-32"></a><h3>gimp_bilinear_32 ()</h3> +<pre class="programlisting"><span class="returnvalue">guint32</span> +gimp_bilinear_32 (<em class="parameter"><code><span class="type">gdouble</span> x</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> y</code></em>, + <em class="parameter"><code><span class="type">guint32</span> *values</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-bilinear-rgb"></a><h3>gimp_bilinear_rgb ()</h3> +<pre class="programlisting"><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="returnvalue">GimpRGB</span></a> +gimp_bilinear_rgb (<em class="parameter"><code><span class="type">gdouble</span> x</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> y</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *values</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-bilinear-rgba"></a><h3>gimp_bilinear_rgba ()</h3> +<pre class="programlisting"><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="returnvalue">GimpRGB</span></a> +gimp_bilinear_rgba (<em class="parameter"><code><span class="type">gdouble</span> x</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> y</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *values</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-bilinear-pixels-8"></a><h3>gimp_bilinear_pixels_8 ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_bilinear_pixels_8 (<em class="parameter"><code><span class="type">guchar</span> *dest</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> x</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> y</code></em>, + <em class="parameter"><code><span class="type">guint</span> bpp</code></em>, + <em class="parameter"><code><span class="type">gboolean</span> has_alpha</code></em>, + <em class="parameter"><code><span class="type">guchar</span> **values</code></em>);</pre> +<div class="warning"><p><code class="literal">gimp_bilinear_pixels_8</code> is deprecated and should not be used in newly-written code.</p></div> +<p>Computes bilinear interpolation of four pixels.</p> +<p>When <em class="parameter"><code>has_alpha</code></em> + is <code class="literal">FALSE</code>, it's identical to <a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-8" title="gimp_bilinear_8 ()"><code class="function">gimp_bilinear_8()</code></a> on +each channel separately. When <em class="parameter"><code>has_alpha</code></em> + is <code class="literal">TRUE</code>, it handles +alpha channel correctly.</p> +<p>The pixels in <em class="parameter"><code>values</code></em> + correspond to corner x, y coordinates in the +following order: [0,0], [1,0], [0,1], [1,1].</p> +<div class="refsect3"> +<a name="gimp-bilinear-pixels-8.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>Pixel, where interpolation result is to be stored.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>x</p></td> +<td class="parameter_description"><p>x-coordinate (0.0 to 1.0).</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>y</p></td> +<td class="parameter_description"><p>y-coordinate (0.0 to 1.0).</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>bpp</p></td> +<td class="parameter_description"><p>Bytes per pixel. <em class="parameter"><code>dest</code></em> +and each <em class="parameter"><code>values</code></em> +item is an array of +<em class="parameter"><code>bpp</code></em> +bytes.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>has_alpha</p></td> +<td class="parameter_description"><p><code class="literal">TRUE</code> if the last channel is an alpha channel.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>values</p></td> +<td class="parameter_description"><p>Array of four pointers to pixels.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html>
\ No newline at end of file diff --git a/devel-docs/libgimpcolor/html/libgimpcolor-GimpCMYK.html b/devel-docs/libgimpcolor/html/libgimpcolor-GimpCMYK.html new file mode 100644 index 0000000..9b25940 --- /dev/null +++ b/devel-docs/libgimpcolor/html/libgimpcolor-GimpCMYK.html @@ -0,0 +1,491 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GimpCMYK: GIMP Color Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="up" href="pt01.html" title="Part I. GIMP Color Library"> +<link rel="prev" href="libgimpcolor-GimpHSV.html" title="GimpHSV"> +<link rel="next" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace"> +<meta name="generator" content="GTK-Doc V1.33.1 (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="5"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"> +<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> + <a href="#libgimpcolor-GimpCMYK.description" class="shortcut">Description</a></span> +</td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> +<td><a accesskey="u" href="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<td><a accesskey="p" href="libgimpcolor-GimpHSV.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<td><a accesskey="n" href="libgimpcolor-GimpColorSpace.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +</tr></table> +<div class="refentry"> +<a name="libgimpcolor-GimpCMYK"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libgimpcolor-GimpCMYK.top_of_page"></a>GimpCMYK</span></h2> +<p>GimpCMYK — Definitions and Functions relating to CMYK colors.</p> +</td> +<td class="gallery_image" valign="top" align="right"></td> +</tr></table></div> +<div class="refsect1"> +<a name="libgimpcolor-GimpCMYK.functions"></a><h2>Functions</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="functions_proto_type"> +<col class="functions_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyk-set" title="gimp_cmyk_set ()">gimp_cmyk_set</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyk-set-uchar" title="gimp_cmyk_set_uchar ()">gimp_cmyk_set_uchar</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyk-get-uchar" title="gimp_cmyk_get_uchar ()">gimp_cmyk_get_uchar</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyka-set" title="gimp_cmyka_set ()">gimp_cmyka_set</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyka-set-uchar" title="gimp_cmyka_set_uchar ()">gimp_cmyka_set_uchar</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyka-get-uchar" title="gimp_cmyka_get_uchar ()">gimp_cmyka_get_uchar</a> <span class="c_punctuation">()</span> +</td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpCMYK.other"></a><h2>Types and Values</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="other_proto_type"> +<col class="other_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="datatype_keyword">struct</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK">GimpCMYK</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpCMYK.html#GIMP-TYPE-CMYK:CAPS" title="GIMP_TYPE_CMYK">GIMP_TYPE_CMYK</a></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpCMYK.description"></a><h2>Description</h2> +<p>Definitions and Functions relating to CMYK colors.</p> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpCMYK.functions_details"></a><h2>Functions</h2> +<div class="refsect2"> +<a name="gimp-cmyk-set"></a><h3>gimp_cmyk_set ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_cmyk_set (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> *cmyk</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> cyan</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> magenta</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> yellow</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> black</code></em>);</pre> +<p>Very basic initialiser for the internal <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> structure. Channel +values are doubles in the range 0 to 1.</p> +<div class="refsect3"> +<a name="gimp-cmyk-set.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>cmyk</p></td> +<td class="parameter_description"><p>A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYK value.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>cyan</p></td> +<td class="parameter_description"><p>The Cyan channel of the CMYK value</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>magenta</p></td> +<td class="parameter_description"><p>The Magenta channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>yellow</p></td> +<td class="parameter_description"><p>The Yellow channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>black</p></td> +<td class="parameter_description"><p>The blacK channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-cmyk-set-uchar"></a><h3>gimp_cmyk_set_uchar ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_cmyk_set_uchar (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> *cmyk</code></em>, + <em class="parameter"><code><span class="type">guchar</span> cyan</code></em>, + <em class="parameter"><code><span class="type">guchar</span> magenta</code></em>, + <em class="parameter"><code><span class="type">guchar</span> yellow</code></em>, + <em class="parameter"><code><span class="type">guchar</span> black</code></em>);</pre> +<p>The same as <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyk-set" title="gimp_cmyk_set ()"><code class="function">gimp_cmyk_set()</code></a>, except that channel values are +unsigned chars in the range 0 to 255.</p> +<div class="refsect3"> +<a name="gimp-cmyk-set-uchar.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>cmyk</p></td> +<td class="parameter_description"><p>A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYK value.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>cyan</p></td> +<td class="parameter_description"><p>The Cyan channel of the CMYK value</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>magenta</p></td> +<td class="parameter_description"><p>The Magenta channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>yellow</p></td> +<td class="parameter_description"><p>The Yellow channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>black</p></td> +<td class="parameter_description"><p>The blacK channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-cmyk-get-uchar"></a><h3>gimp_cmyk_get_uchar ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_cmyk_get_uchar (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> *cmyk</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *cyan</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *magenta</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *yellow</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *black</code></em>);</pre> +<p>Retrieve individual channel values from a <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> structure. Channel +values are pointers to unsigned chars in the range 0 to 255.</p> +<div class="refsect3"> +<a name="gimp-cmyk-get-uchar.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>cmyk</p></td> +<td class="parameter_description"><p>A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYK value.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>cyan</p></td> +<td class="parameter_description"><p>The Cyan channel of the CMYK value</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>magenta</p></td> +<td class="parameter_description"><p>The Magenta channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>yellow</p></td> +<td class="parameter_description"><p>The Yellow channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>black</p></td> +<td class="parameter_description"><p>The blacK channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-cmyka-set"></a><h3>gimp_cmyka_set ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_cmyka_set (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> *cmyka</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> cyan</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> magenta</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> yellow</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> black</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> alpha</code></em>);</pre> +<p>Initialiser for the internal <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> structure. Channel values are +doubles in the range 0 to 1.</p> +<div class="refsect3"> +<a name="gimp-cmyka-set.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>cmyka</p></td> +<td class="parameter_description"><p>A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYKA value.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>cyan</p></td> +<td class="parameter_description"><p>The Cyan channel of the CMYK value</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>magenta</p></td> +<td class="parameter_description"><p>The Magenta channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>yellow</p></td> +<td class="parameter_description"><p>The Yellow channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>black</p></td> +<td class="parameter_description"><p>The blacK channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>alpha</p></td> +<td class="parameter_description"><p>The Alpha channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-cmyka-set-uchar"></a><h3>gimp_cmyka_set_uchar ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_cmyka_set_uchar (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> *cmyka</code></em>, + <em class="parameter"><code><span class="type">guchar</span> cyan</code></em>, + <em class="parameter"><code><span class="type">guchar</span> magenta</code></em>, + <em class="parameter"><code><span class="type">guchar</span> yellow</code></em>, + <em class="parameter"><code><span class="type">guchar</span> black</code></em>, + <em class="parameter"><code><span class="type">guchar</span> alpha</code></em>);</pre> +<p>The same as <a class="link" href="libgimpcolor-GimpCMYK.html#gimp-cmyka-set" title="gimp_cmyka_set ()"><code class="function">gimp_cmyka_set()</code></a>, except that channel values are +unsigned chars in the range 0 to 255.</p> +<div class="refsect3"> +<a name="gimp-cmyka-set-uchar.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>cmyka</p></td> +<td class="parameter_description"><p>A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYKA value.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>cyan</p></td> +<td class="parameter_description"><p>The Cyan channel of the CMYK value</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>magenta</p></td> +<td class="parameter_description"><p>The Magenta channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>yellow</p></td> +<td class="parameter_description"><p>The Yellow channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>black</p></td> +<td class="parameter_description"><p>The blacK channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>alpha</p></td> +<td class="parameter_description"><p>The Alpha channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-cmyka-get-uchar"></a><h3>gimp_cmyka_get_uchar ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_cmyka_get_uchar (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> *cmyka</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *cyan</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *magenta</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *yellow</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *black</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *alpha</code></em>);</pre> +<p>Retrieve individual channel values from a <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> structure. +Channel values are pointers to unsigned chars in the range 0 to 255.</p> +<div class="refsect3"> +<a name="gimp-cmyka-get-uchar.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>cmyka</p></td> +<td class="parameter_description"><p>A <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYKA value.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>cyan</p></td> +<td class="parameter_description"><p>The Cyan channel of the CMYK value</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>magenta</p></td> +<td class="parameter_description"><p>The Magenta channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>yellow</p></td> +<td class="parameter_description"><p>The Yellow channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>black</p></td> +<td class="parameter_description"><p>The blacK channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>alpha</p></td> +<td class="parameter_description"><p>The Alpha channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpCMYK.other_details"></a><h2>Types and Values</h2> +<div class="refsect2"> +<a name="GimpCMYK"></a><h3>struct GimpCMYK</h3> +<pre class="programlisting">struct GimpCMYK { + gdouble c, m, y, k, a; +}; +</pre> +<p>Used to keep CMYK and CMYKA colors. All components are in a range +of [0.0..1.0]. An alpha value is somewhat useless in the CMYK +colorspace, but we keep one around anyway so color conversions +going to CMYK and back can preserve alpha.</p> +<div class="refsect3"> +<a name="GimpCMYK.members"></a><h4>Members</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="300px" class="struct_members_name"> +<col class="struct_members_description"> +<col width="200px" class="struct_members_annotations"> +</colgroup> +<tbody> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpCMYK.c"></a>c</code></em>;</p></td> +<td class="struct_member_description"><p>the cyan component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpCMYK.m"></a>m</code></em>;</p></td> +<td class="struct_member_description"><p>the magenta component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpCMYK.y"></a>y</code></em>;</p></td> +<td class="struct_member_description"><p>the yellow component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpCMYK.k"></a>k</code></em>;</p></td> +<td class="struct_member_description"><p>the black component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpCMYK.a"></a>a</code></em>;</p></td> +<td class="struct_member_description"><p>the alpha component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-TYPE-CMYK:CAPS"></a><h3>GIMP_TYPE_CMYK</h3> +<pre class="programlisting">#define GIMP_TYPE_CMYK (gimp_cmyk_get_type ()) +</pre> +</div> +</div> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html>
\ No newline at end of file diff --git a/devel-docs/libgimpcolor/html/libgimpcolor-GimpCairo.html b/devel-docs/libgimpcolor/html/libgimpcolor-GimpCairo.html new file mode 100644 index 0000000..fcd9999 --- /dev/null +++ b/devel-docs/libgimpcolor/html/libgimpcolor-GimpCairo.html @@ -0,0 +1,463 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GimpCairo: GIMP Color Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="up" href="pt01.html" title="Part I. GIMP Color Library"> +<link rel="prev" href="libgimpcolor-GimpBilinear.html" title="GimpBilinear"> +<link rel="next" href="libgimpcolor-GimpPixbuf.html" title="GimpPixbuf"> +<meta name="generator" content="GTK-Doc V1.33.1 (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="5"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"> +<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> + <a href="#libgimpcolor-GimpCairo.description" class="shortcut">Description</a></span> +</td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> +<td><a accesskey="u" href="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<td><a accesskey="p" href="libgimpcolor-GimpBilinear.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<td><a accesskey="n" href="libgimpcolor-GimpPixbuf.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +</tr></table> +<div class="refentry"> +<a name="libgimpcolor-GimpCairo"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libgimpcolor-GimpCairo.top_of_page"></a>GimpCairo</span></h2> +<p>GimpCairo — Color utility functions for cairo</p> +</td> +<td class="gallery_image" valign="top" align="right"></td> +</tr></table></div> +<div class="refsect1"> +<a name="libgimpcolor-GimpCairo.functions"></a><h2>Functions</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="functions_proto_type"> +<col class="functions_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpCairo.html#gimp-cairo-set-source-rgb" title="gimp_cairo_set_source_rgb ()">gimp_cairo_set_source_rgb</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpCairo.html#gimp-cairo-set-source-rgba" title="gimp_cairo_set_source_rgba ()">gimp_cairo_set_source_rgba</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">cairo_pattern_t</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpCairo.html#gimp-cairo-checkerboard-create" title="gimp_cairo_checkerboard_create ()">gimp_cairo_checkerboard_create</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type">const <span class="returnvalue">Babl</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpCairo.html#gimp-cairo-surface-get-format" title="gimp_cairo_surface_get_format ()">gimp_cairo_surface_get_format</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GeglBuffer</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpCairo.html#gimp-cairo-surface-create-buffer" title="gimp_cairo_surface_create_buffer ()">gimp_cairo_surface_create_buffer</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpCairo.html#GIMP-CAIRO-RGB24-SET-PIXEL:CAPS" title="GIMP_CAIRO_RGB24_SET_PIXEL()">GIMP_CAIRO_RGB24_SET_PIXEL</a><span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpCairo.html#GIMP-CAIRO-RGB24-GET-PIXEL:CAPS" title="GIMP_CAIRO_RGB24_GET_PIXEL()">GIMP_CAIRO_RGB24_GET_PIXEL</a><span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpCairo.html#GIMP-CAIRO-ARGB32-SET-PIXEL:CAPS" title="GIMP_CAIRO_ARGB32_SET_PIXEL()">GIMP_CAIRO_ARGB32_SET_PIXEL</a><span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpCairo.html#GIMP-CAIRO-ARGB32-GET-PIXEL:CAPS" title="GIMP_CAIRO_ARGB32_GET_PIXEL()">GIMP_CAIRO_ARGB32_GET_PIXEL</a><span class="c_punctuation">()</span> +</td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpCairo.description"></a><h2>Description</h2> +<p>Utility functions that make cairo easier to use with GIMP color +data types.</p> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpCairo.functions_details"></a><h2>Functions</h2> +<div class="refsect2"> +<a name="gimp-cairo-set-source-rgb"></a><h3>gimp_cairo_set_source_rgb ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_cairo_set_source_rgb (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>, + <em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);</pre> +<p>Sets the source pattern within <em class="parameter"><code>cr</code></em> + to the solid opaque color +described by <em class="parameter"><code>color</code></em> +.</p> +<p>This function calls <code class="function">cairo_set_source_rgb()</code> for you.</p> +<div class="refsect3"> +<a name="gimp-cairo-set-source-rgb.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>cr</p></td> +<td class="parameter_description"><p>Cairo context</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>color</p></td> +<td class="parameter_description"><p>GimpRGB color</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: <a class="link" href="api-index-2-6.html#api-index-2.6">2.6</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-cairo-set-source-rgba"></a><h3>gimp_cairo_set_source_rgba ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_cairo_set_source_rgba (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>, + <em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);</pre> +<p>Sets the source pattern within <em class="parameter"><code>cr</code></em> + to the solid translucent color +described by <em class="parameter"><code>color</code></em> +.</p> +<p>This function calls <code class="function">cairo_set_source_rgba()</code> for you.</p> +<div class="refsect3"> +<a name="gimp-cairo-set-source-rgba.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>cr</p></td> +<td class="parameter_description"><p>Cairo context</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>color</p></td> +<td class="parameter_description"><p>GimpRGB color</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: <a class="link" href="api-index-2-6.html#api-index-2.6">2.6</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-cairo-checkerboard-create"></a><h3>gimp_cairo_checkerboard_create ()</h3> +<pre class="programlisting"><span class="returnvalue">cairo_pattern_t</span> * +gimp_cairo_checkerboard_create (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>, + <em class="parameter"><code><span class="type">gint</span> size</code></em>, + <em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *light</code></em>, + <em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *dark</code></em>);</pre> +<p>Create a repeating checkerboard pattern.</p> +<div class="refsect3"> +<a name="gimp-cairo-checkerboard-create.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>cr</p></td> +<td class="parameter_description"><p>Cairo context</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>size</p></td> +<td class="parameter_description"><p>check size</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>light</p></td> +<td class="parameter_description"><p>light check color or <code class="literal">NULL</code> to use the default light gray</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dark</p></td> +<td class="parameter_description"><p>dark check color or <code class="literal">NULL</code> to use the default dark gray</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-cairo-checkerboard-create.returns"></a><h4>Returns</h4> +<p> a new Cairo pattern that can be used as a source on <em class="parameter"><code>cr</code></em> +.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-6.html#api-index-2.6">2.6</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-cairo-surface-get-format"></a><h3>gimp_cairo_surface_get_format ()</h3> +<pre class="programlisting">const <span class="returnvalue">Babl</span> * +gimp_cairo_surface_get_format (<em class="parameter"><code><span class="type">cairo_surface_t</span> *surface</code></em>);</pre> +<p>This function returns a <span class="type">Babl</span> format that corresponds to <em class="parameter"><code>surface</code></em> +'s +pixel format.</p> +<div class="refsect3"> +<a name="gimp-cairo-surface-get-format.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>surface</p></td> +<td class="parameter_description"><p>a Cairo surface</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-cairo-surface-get-format.returns"></a><h4>Returns</h4> +<p> the <span class="type">Babl</span> format of <em class="parameter"><code>surface</code></em> +.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-cairo-surface-create-buffer"></a><h3>gimp_cairo_surface_create_buffer ()</h3> +<pre class="programlisting"><span class="returnvalue">GeglBuffer</span> * +gimp_cairo_surface_create_buffer (<em class="parameter"><code><span class="type">cairo_surface_t</span> *surface</code></em>);</pre> +<p>This function returns a <span class="type">GeglBuffer</span> which wraps <em class="parameter"><code>surface</code></em> +'s pixels. +It must only be called on image surfaces, calling it on other surface +types is an error.</p> +<div class="refsect3"> +<a name="gimp-cairo-surface-create-buffer.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>surface</p></td> +<td class="parameter_description"><p>a Cairo surface</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-cairo-surface-create-buffer.returns"></a><h4>Returns</h4> +<p> a <span class="type">GeglBuffer</span></p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-CAIRO-RGB24-SET-PIXEL:CAPS"></a><h3>GIMP_CAIRO_RGB24_SET_PIXEL()</h3> +<pre class="programlisting">#define GIMP_CAIRO_RGB24_SET_PIXEL(d, r, g, b)</pre> +<p>Sets a single pixel in an Cairo image surface in <code class="literal">CAIRO_FORMAT_RGB24</code>.</p> +<div class="refsect3"> +<a name="GIMP-CAIRO-RGB24-SET-PIXEL.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>d</p></td> +<td class="parameter_description"><p>pointer to the destination buffer</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>r</p></td> +<td class="parameter_description"><p>red component</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>g</p></td> +<td class="parameter_description"><p>green component</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>b</p></td> +<td class="parameter_description"><p>blue component</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: <a class="link" href="api-index-2-6.html#api-index-2.6">2.6</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-CAIRO-RGB24-GET-PIXEL:CAPS"></a><h3>GIMP_CAIRO_RGB24_GET_PIXEL()</h3> +<pre class="programlisting">#define GIMP_CAIRO_RGB24_GET_PIXEL(s, r, g, b)</pre> +<p>Gets a single pixel from a Cairo image surface in <code class="literal">CAIRO_FORMAT_RGB24</code>.</p> +<div class="refsect3"> +<a name="GIMP-CAIRO-RGB24-GET-PIXEL.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>s</p></td> +<td class="parameter_description"><p>pointer to the source buffer</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>r</p></td> +<td class="parameter_description"><p>red component</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>g</p></td> +<td class="parameter_description"><p>green component</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>b</p></td> +<td class="parameter_description"><p>blue component</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: <a class="link" href="api-index-2-8.html#api-index-2.8">2.8</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-CAIRO-ARGB32-SET-PIXEL:CAPS"></a><h3>GIMP_CAIRO_ARGB32_SET_PIXEL()</h3> +<pre class="programlisting">#define GIMP_CAIRO_ARGB32_SET_PIXEL(d, r, g, b, a)</pre> +<p>Sets a single pixel in an Cairo image surface in <code class="literal">CAIRO_FORMAT_ARGB32</code>.</p> +<div class="refsect3"> +<a name="GIMP-CAIRO-ARGB32-SET-PIXEL.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>d</p></td> +<td class="parameter_description"><p>pointer to the destination buffer</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>r</p></td> +<td class="parameter_description"><p>red component, not pre-multiplied</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>g</p></td> +<td class="parameter_description"><p>green component, not pre-multiplied</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>b</p></td> +<td class="parameter_description"><p>blue component, not pre-multiplied</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>a</p></td> +<td class="parameter_description"><p>alpha component</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: <a class="link" href="api-index-2-6.html#api-index-2.6">2.6</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-CAIRO-ARGB32-GET-PIXEL:CAPS"></a><h3>GIMP_CAIRO_ARGB32_GET_PIXEL()</h3> +<pre class="programlisting">#define GIMP_CAIRO_ARGB32_GET_PIXEL(s, r, g, b, a)</pre> +<p>Gets a single pixel from a Cairo image surface in <code class="literal">CAIRO_FORMAT_ARGB32</code>.</p> +<div class="refsect3"> +<a name="GIMP-CAIRO-ARGB32-GET-PIXEL.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>s</p></td> +<td class="parameter_description"><p>pointer to the source buffer</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>r</p></td> +<td class="parameter_description"><p>red component, not pre-multiplied</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>g</p></td> +<td class="parameter_description"><p>green component, not pre-multiplied</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>b</p></td> +<td class="parameter_description"><p>blue component, not pre-multiplied</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>a</p></td> +<td class="parameter_description"><p>alpha component</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: <a class="link" href="api-index-2-8.html#api-index-2.8">2.8</a></p> +</div> +</div> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html>
\ No newline at end of file diff --git a/devel-docs/libgimpcolor/html/libgimpcolor-GimpColorProfile.html b/devel-docs/libgimpcolor/html/libgimpcolor-GimpColorProfile.html new file mode 100644 index 0000000..c6c8d96 --- /dev/null +++ b/devel-docs/libgimpcolor/html/libgimpcolor-GimpColorProfile.html @@ -0,0 +1,1138 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GimpColorProfile: GIMP Color Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="up" href="pt01.html" title="Part I. GIMP Color Library"> +<link rel="prev" href="GimpColorManaged.html" title="GimpColorManaged"> +<link rel="next" href="libgimpcolor-GimpColorTransform.html" title="GimpColorTransform"> +<meta name="generator" content="GTK-Doc V1.33.1 (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="5"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"> +<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> + <a href="#libgimpcolor-GimpColorProfile.description" class="shortcut">Description</a></span> +</td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> +<td><a accesskey="u" href="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<td><a accesskey="p" href="GimpColorManaged.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<td><a accesskey="n" href="libgimpcolor-GimpColorTransform.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +</tr></table> +<div class="refentry"> +<a name="libgimpcolor-GimpColorProfile"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libgimpcolor-GimpColorProfile.top_of_page"></a>GimpColorProfile</span></h2> +<p>GimpColorProfile — Definitions and Functions relating to LCMS.</p> +</td> +<td class="gallery_image" valign="top" align="right"></td> +</tr></table></div> +<div class="refsect1"> +<a name="libgimpcolor-GimpColorProfile.functions"></a><h2>Functions</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="functions_proto_type"> +<col class="functions_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="function_type"> +<span class="returnvalue">GimpColorProfile</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-rgb-srgb" title="gimp_color_profile_new_rgb_srgb ()">gimp_color_profile_new_rgb_srgb</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GimpColorProfile</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-rgb-srgb-linear" title="gimp_color_profile_new_rgb_srgb_linear ()">gimp_color_profile_new_rgb_srgb_linear</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GimpColorProfile</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-rgb-adobe" title="gimp_color_profile_new_rgb_adobe ()">gimp_color_profile_new_rgb_adobe</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GimpColorProfile</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-d65-gray-srgb-trc" title="gimp_color_profile_new_d65_gray_srgb_trc ()">gimp_color_profile_new_d65_gray_srgb_trc</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GimpColorProfile</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-d65-gray-linear" title="gimp_color_profile_new_d65_gray_linear ()">gimp_color_profile_new_d65_gray_linear</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GimpColorProfile</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-d50-gray-lab-trc" title="gimp_color_profile_new_d50_gray_lab_trc ()">gimp_color_profile_new_d50_gray_lab_trc</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GimpColorProfile</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-srgb-trc-from-color-profile" title="gimp_color_profile_new_srgb_trc_from_color_profile ()">gimp_color_profile_new_srgb_trc_from_color_profile</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GimpColorProfile</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-linear-from-color-profile" title="gimp_color_profile_new_linear_from_color_profile ()">gimp_color_profile_new_linear_from_color_profile</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GimpColorProfile</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-from-file" title="gimp_color_profile_new_from_file ()">gimp_color_profile_new_from_file</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GimpColorProfile</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-from-icc-profile" title="gimp_color_profile_new_from_icc_profile ()">gimp_color_profile_new_from_icc_profile</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GimpColorProfile</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-from-lcms-profile" title="gimp_color_profile_new_from_lcms_profile ()">gimp_color_profile_new_from_lcms_profile</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gboolean</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-save-to-file" title="gimp_color_profile_save_to_file ()">gimp_color_profile_save_to_file</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type">const <span class="returnvalue">guint8</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-icc-profile" title="gimp_color_profile_get_icc_profile ()">gimp_color_profile_get_icc_profile</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gpointer</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-lcms-profile" title="gimp_color_profile_get_lcms_profile ()">gimp_color_profile_get_lcms_profile</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type">const <span class="returnvalue">gchar</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-description" title="gimp_color_profile_get_description ()">gimp_color_profile_get_description</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type">const <span class="returnvalue">gchar</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-manufacturer" title="gimp_color_profile_get_manufacturer ()">gimp_color_profile_get_manufacturer</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type">const <span class="returnvalue">gchar</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-model" title="gimp_color_profile_get_model ()">gimp_color_profile_get_model</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type">const <span class="returnvalue">gchar</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-copyright" title="gimp_color_profile_get_copyright ()">gimp_color_profile_get_copyright</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type">const <span class="returnvalue">gchar</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-label" title="gimp_color_profile_get_label ()">gimp_color_profile_get_label</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type">const <span class="returnvalue">gchar</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-summary" title="gimp_color_profile_get_summary ()">gimp_color_profile_get_summary</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gboolean</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-equal" title="gimp_color_profile_is_equal ()">gimp_color_profile_is_equal</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gboolean</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-rgb" title="gimp_color_profile_is_rgb ()">gimp_color_profile_is_rgb</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gboolean</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-gray" title="gimp_color_profile_is_gray ()">gimp_color_profile_is_gray</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gboolean</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-cmyk" title="gimp_color_profile_is_cmyk ()">gimp_color_profile_is_cmyk</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gboolean</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-linear" title="gimp_color_profile_is_linear ()">gimp_color_profile_is_linear</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type">const <span class="returnvalue">Babl</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-space" title="gimp_color_profile_get_space ()">gimp_color_profile_get_space</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type">const <span class="returnvalue">Babl</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-format" title="gimp_color_profile_get_format ()">gimp_color_profile_get_format</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type">const <span class="returnvalue">Babl</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-lcms-format" title="gimp_color_profile_get_lcms_format ()">gimp_color_profile_get_lcms_format</a> <span class="c_punctuation">()</span> +</td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpColorProfile.description"></a><h2>Description</h2> +<p>Definitions and Functions relating to LCMS.</p> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpColorProfile.functions_details"></a><h2>Functions</h2> +<div class="refsect2"> +<a name="gimp-color-profile-new-rgb-srgb"></a><h3>gimp_color_profile_new_rgb_srgb ()</h3> +<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> * +gimp_color_profile_new_rgb_srgb (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> +<p>This function is a replacement for <code class="function">cmsCreate_sRGBProfile()</code> and +returns an sRGB profile that is functionally the same as the +ArgyllCMS sRGB.icm profile. "Functionally the same" means it has +the same red, green, and blue colorants and the V4 "chad" +equivalent of the ArgyllCMS V2 white point. The profile TRC is also +functionally equivalent to the ArgyllCMS sRGB.icm TRC and is the +same as the LCMS sRGB built-in profile TRC.</p> +<p>The actual primaries in the sRGB specification are +red xy: {0.6400, 0.3300, 1.0} +green xy: {0.3000, 0.6000, 1.0} +blue xy: {0.1500, 0.0600, 1.0}</p> +<p>The sRGB primaries given below are "pre-quantized" to compensate +for hexadecimal quantization during the profile-making process. +Unless the profile-making code compensates for this quantization, +the resulting profile's red, green, and blue colorants will deviate +slightly from the correct XYZ values.</p> +<p>LCMS2 doesn't compensate for hexadecimal quantization. The +"pre-quantized" primaries below were back-calculated from the +ArgyllCMS sRGB.icm profile. The resulting sRGB profile's colorants +exactly matches the ArgyllCMS sRGB.icm profile colorants.</p> +<div class="refsect3"> +<a name="gimp-color-profile-new-rgb-srgb.returns"></a><h4>Returns</h4> +<p> the sRGB <span class="type">GimpColorProfile</span>.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-new-rgb-srgb-linear"></a><h3>gimp_color_profile_new_rgb_srgb_linear ()</h3> +<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> * +gimp_color_profile_new_rgb_srgb_linear + (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> +<p>This function creates a profile for babl_model("RGB"). Please +somebody write something smarter here.</p> +<div class="refsect3"> +<a name="gimp-color-profile-new-rgb-srgb-linear.returns"></a><h4>Returns</h4> +<p> the linear RGB <span class="type">GimpColorProfile</span>.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-new-rgb-adobe"></a><h3>gimp_color_profile_new_rgb_adobe ()</h3> +<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> * +gimp_color_profile_new_rgb_adobe (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> +<p>This function creates a profile compatible with AbobeRGB (1998).</p> +<div class="refsect3"> +<a name="gimp-color-profile-new-rgb-adobe.returns"></a><h4>Returns</h4> +<p> the AdobeRGB-compatible <span class="type">GimpColorProfile</span>.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-new-d65-gray-srgb-trc"></a><h3>gimp_color_profile_new_d65_gray_srgb_trc ()</h3> +<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> * +gimp_color_profile_new_d65_gray_srgb_trc + (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> +<p>This function creates a grayscale <span class="type">GimpColorProfile</span> with an +sRGB TRC. See <a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-rgb-srgb" title="gimp_color_profile_new_rgb_srgb ()"><code class="function">gimp_color_profile_new_rgb_srgb()</code></a>.</p> +<div class="refsect3"> +<a name="gimp-color-profile-new-d65-gray-srgb-trc.returns"></a><h4>Returns</h4> +<p> the sRGB-gamma grayscale <span class="type">GimpColorProfile</span>.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-new-d65-gray-linear"></a><h3>gimp_color_profile_new_d65_gray_linear ()</h3> +<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> * +gimp_color_profile_new_d65_gray_linear + (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-new-d50-gray-lab-trc"></a><h3>gimp_color_profile_new_d50_gray_lab_trc ()</h3> +<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> * +gimp_color_profile_new_d50_gray_lab_trc + (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> +<p>This function creates a grayscale <span class="type">GimpColorProfile</span> with the +D50 ICC profile illuminant as the profile white point and the +LAB companding curve as the TRC.</p> +<div class="refsect3"> +<a name="gimp-color-profile-new-d50-gray-lab-trc.returns"></a><h4>Returns</h4> +<p> a gray profile with the D50 ICC profile illuminant +as the profile white point and the LAB companding curve as the TRC. +as the TRC.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-new-srgb-trc-from-color-profile"></a><h3>gimp_color_profile_new_srgb_trc_from_color_profile ()</h3> +<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> * +gimp_color_profile_new_srgb_trc_from_color_profile + (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre> +<p>This function creates a new RGB <span class="type">GimpColorProfile</span> with a sRGB gamma +TRC and <em class="parameter"><code>profile</code></em> +'s RGB chromacities and whitepoint.</p> +<div class="refsect3"> +<a name="gimp-color-profile-new-srgb-trc-from-color-profile.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-new-srgb-trc-from-color-profile.returns"></a><h4>Returns</h4> +<p> the new <span class="type">GimpColorProfile</span>, or <code class="literal">NULL</code> if <em class="parameter"><code>profile</code></em> +is not +an RGB profile or not matrix-based.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-new-linear-from-color-profile"></a><h3>gimp_color_profile_new_linear_from_color_profile ()</h3> +<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> * +gimp_color_profile_new_linear_from_color_profile + (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre> +<p>This function creates a new RGB <span class="type">GimpColorProfile</span> with a linear TRC +and <em class="parameter"><code>profile</code></em> +'s RGB chromacities and whitepoint.</p> +<div class="refsect3"> +<a name="gimp-color-profile-new-linear-from-color-profile.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-new-linear-from-color-profile.returns"></a><h4>Returns</h4> +<p> the new <span class="type">GimpColorProfile</span>, or <code class="literal">NULL</code> if <em class="parameter"><code>profile</code></em> +is not +an RGB profile or not matrix-based.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-new-from-file"></a><h3>gimp_color_profile_new_from_file ()</h3> +<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> * +gimp_color_profile_new_from_file (<em class="parameter"><code><span class="type">GFile</span> *file</code></em>, + <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> +<p>This function opens an ICC color profile from <em class="parameter"><code>file</code></em> +.</p> +<div class="refsect3"> +<a name="gimp-color-profile-new-from-file.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>file</p></td> +<td class="parameter_description"><p>a <span class="type">GFile</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>error</p></td> +<td class="parameter_description"><p>return location for <span class="type">GError</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-new-from-file.returns"></a><h4>Returns</h4> +<p> the <span class="type">GimpColorProfile</span>, or <code class="literal">NULL</code>. On error, <code class="literal">NULL</code> is +returned and <em class="parameter"><code>error</code></em> +is set.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-new-from-icc-profile"></a><h3>gimp_color_profile_new_from_icc_profile ()</h3> +<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> * +gimp_color_profile_new_from_icc_profile + (<em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, + <em class="parameter"><code><span class="type">gsize</span> length</code></em>, + <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> +<p>This function opens an ICC color profile from memory. On error, +<code class="literal">NULL</code> is returned and <em class="parameter"><code>error</code></em> + is set.</p> +<div class="refsect3"> +<a name="gimp-color-profile-new-from-icc-profile.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>pointer to memory containing an ICC profile</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p>length of the profile in memory, in bytes</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>error</p></td> +<td class="parameter_description"><p>return location for <span class="type">GError</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-new-from-icc-profile.returns"></a><h4>Returns</h4> +<p> the <span class="type">GimpColorProfile</span>, or <code class="literal">NULL</code>.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-new-from-lcms-profile"></a><h3>gimp_color_profile_new_from_lcms_profile ()</h3> +<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> * +gimp_color_profile_new_from_lcms_profile + (<em class="parameter"><code><span class="type">gpointer</span> lcms_profile</code></em>, + <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> +<p>This function creates a GimpColorProfile from a cmsHPROFILE. On +error, <code class="literal">NULL</code> is returned and <em class="parameter"><code>error</code></em> + is set. The passed +<em class="parameter"><code>lcms_profile</code></em> + pointer is not retained by the created +<span class="type">GimpColorProfile</span>.</p> +<div class="refsect3"> +<a name="gimp-color-profile-new-from-lcms-profile.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>lcms_profile</p></td> +<td class="parameter_description"><p>an LCMS cmsHPROFILE pointer</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>error</p></td> +<td class="parameter_description"><p>return location for <span class="type">GError</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-new-from-lcms-profile.returns"></a><h4>Returns</h4> +<p> the <span class="type">GimpColorProfile</span>, or <code class="literal">NULL</code>.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-save-to-file"></a><h3>gimp_color_profile_save_to_file ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_color_profile_save_to_file (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>, + <em class="parameter"><code><span class="type">GFile</span> *file</code></em>, + <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> +<p>This function saves <em class="parameter"><code>profile</code></em> + to <em class="parameter"><code>file</code></em> + as ICC profile.</p> +<div class="refsect3"> +<a name="gimp-color-profile-save-to-file.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>file</p></td> +<td class="parameter_description"><p>a <span class="type">GFile</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>error</p></td> +<td class="parameter_description"><p>return location for <span class="type">GError</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-save-to-file.returns"></a><h4>Returns</h4> +<p> <code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> if an error occurred.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-get-icc-profile"></a><h3>gimp_color_profile_get_icc_profile ()</h3> +<pre class="programlisting">const <span class="returnvalue">guint8</span> * +gimp_color_profile_get_icc_profile (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>, + <em class="parameter"><code><span class="type">gsize</span> *length</code></em>);</pre> +<p>This function returns <em class="parameter"><code>profile</code></em> + as ICC profile data. The returned +memory belongs to <em class="parameter"><code>profile</code></em> + and must not be modified or freed.</p> +<div class="refsect3"> +<a name="gimp-color-profile-get-icc-profile.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p>return location for the number of bytes</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-get-icc-profile.returns"></a><h4>Returns</h4> +<p> a pointer to the IIC profile data.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-get-lcms-profile"></a><h3>gimp_color_profile_get_lcms_profile ()</h3> +<pre class="programlisting"><span class="returnvalue">gpointer</span> +gimp_color_profile_get_lcms_profile (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre> +<p>This function returns <em class="parameter"><code>profile</code></em> +'s cmsHPROFILE. The returned +value belongs to <em class="parameter"><code>profile</code></em> + and must not be modified or freed.</p> +<div class="refsect3"> +<a name="gimp-color-profile-get-lcms-profile.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-get-lcms-profile.returns"></a><h4>Returns</h4> +<p> a pointer to the cmsHPROFILE.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-get-description"></a><h3>gimp_color_profile_get_description ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * +gimp_color_profile_get_description (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-color-profile-get-description.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-get-description.returns"></a><h4>Returns</h4> +<p> a string containing <em class="parameter"><code>profile</code></em> +'s description. The +returned value belongs to <em class="parameter"><code>profile</code></em> +and must not be +modified or freed.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-get-manufacturer"></a><h3>gimp_color_profile_get_manufacturer ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * +gimp_color_profile_get_manufacturer (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-color-profile-get-manufacturer.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-get-manufacturer.returns"></a><h4>Returns</h4> +<p> a string containing <em class="parameter"><code>profile</code></em> +'s manufacturer. The +returned value belongs to <em class="parameter"><code>profile</code></em> +and must not be +modified or freed.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-get-model"></a><h3>gimp_color_profile_get_model ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * +gimp_color_profile_get_model (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-color-profile-get-model.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-get-model.returns"></a><h4>Returns</h4> +<p> a string containing <em class="parameter"><code>profile</code></em> +'s model. The returned +value belongs to <em class="parameter"><code>profile</code></em> +and must not be modified or +freed.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-get-copyright"></a><h3>gimp_color_profile_get_copyright ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * +gimp_color_profile_get_copyright (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-color-profile-get-copyright.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-get-copyright.returns"></a><h4>Returns</h4> +<p> a string containing <em class="parameter"><code>profile</code></em> +'s copyright. The +returned value belongs to <em class="parameter"><code>profile</code></em> +and must not be +modified or freed.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-get-label"></a><h3>gimp_color_profile_get_label ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * +gimp_color_profile_get_label (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre> +<p>This function returns a string containing <em class="parameter"><code>profile</code></em> +'s "title", a +string that can be used to label the profile in a user interface.</p> +<p>Unlike <a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-description" title="gimp_color_profile_get_description ()"><code class="function">gimp_color_profile_get_description()</code></a>, this function always +returns a string (as a fallback, it returns "(unnamed profile)").</p> +<div class="refsect3"> +<a name="gimp-color-profile-get-label.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-get-label.returns"></a><h4>Returns</h4> +<p> the <em class="parameter"><code>profile</code></em> +'s label. The returned value belongs to +<em class="parameter"><code>profile</code></em> +and must not be modified or freed.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-get-summary"></a><h3>gimp_color_profile_get_summary ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * +gimp_color_profile_get_summary (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre> +<p>This function return a string containing a multi-line summary of +<em class="parameter"><code>profile</code></em> +'s description, model, manufacturer and copyright, to be +used as detailed information about the profile in a user +interface.</p> +<div class="refsect3"> +<a name="gimp-color-profile-get-summary.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-get-summary.returns"></a><h4>Returns</h4> +<p> the <em class="parameter"><code>profile</code></em> +'s summary. The returned value belongs to +<em class="parameter"><code>profile</code></em> +and must not be modified or freed.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-is-equal"></a><h3>gimp_color_profile_is_equal ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_color_profile_is_equal (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile1</code></em>, + <em class="parameter"><code><span class="type">GimpColorProfile</span> *profile2</code></em>);</pre> +<p>Compares two profiles.</p> +<div class="refsect3"> +<a name="gimp-color-profile-is-equal.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>profile1</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>profile2</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-is-equal.returns"></a><h4>Returns</h4> +<p> <code class="literal">TRUE</code> if the profiles are equal, <code class="literal">FALSE</code> otherwise.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-is-rgb"></a><h3>gimp_color_profile_is_rgb ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_color_profile_is_rgb (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-color-profile-is-rgb.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-is-rgb.returns"></a><h4>Returns</h4> +<p> <code class="literal">TRUE</code> if the profile's color space is RGB, <code class="literal">FALSE</code> +otherwise.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-is-gray"></a><h3>gimp_color_profile_is_gray ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_color_profile_is_gray (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-color-profile-is-gray.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-is-gray.returns"></a><h4>Returns</h4> +<p> <code class="literal">TRUE</code> if the profile's color space is grayscale, <code class="literal">FALSE</code> +otherwise.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-is-cmyk"></a><h3>gimp_color_profile_is_cmyk ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_color_profile_is_cmyk (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-color-profile-is-cmyk.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-is-cmyk.returns"></a><h4>Returns</h4> +<p> <code class="literal">TRUE</code> if the profile's color space is CMYK, <code class="literal">FALSE</code> +otherwise.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-is-linear"></a><h3>gimp_color_profile_is_linear ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_color_profile_is_linear (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre> +<p>This function determines is the ICC profile represented by a GimpColorProfile +is a linear RGB profile or not, some profiles that are LUTs though linear +will also return FALSE;</p> +<div class="refsect3"> +<a name="gimp-color-profile-is-linear.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-is-linear.returns"></a><h4>Returns</h4> +<p> <code class="literal">TRUE</code> if the profile is a matrix shaping profile with linear +TRCs, <code class="literal">FALSE</code> otherwise.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-get-space"></a><h3>gimp_color_profile_get_space ()</h3> +<pre class="programlisting">const <span class="returnvalue">Babl</span> * +gimp_color_profile_get_space (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>, + <em class="parameter"><code><span class="type">GimpColorRenderingIntent</span> intent</code></em>, + <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> +<p>This function returns the <span class="type">Babl</span> space of <em class="parameter"><code>profile</code></em> +, for the +specified <em class="parameter"><code>intent</code></em> +.</p> +<div class="refsect3"> +<a name="gimp-color-profile-get-space.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>intent</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorRenderingIntent</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>error</p></td> +<td class="parameter_description"><p>return location for <span class="type">GError</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-get-space.returns"></a><h4>Returns</h4> +<p> the new <span class="type">Babl</span> space.</p> +</div> +<p class="since">Since: 2.10.6</p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-get-format"></a><h3>gimp_color_profile_get_format ()</h3> +<pre class="programlisting">const <span class="returnvalue">Babl</span> * +gimp_color_profile_get_format (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>, + <em class="parameter"><code>const <span class="type">Babl</span> *format</code></em>, + <em class="parameter"><code><span class="type">GimpColorRenderingIntent</span> intent</code></em>, + <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> +<p>This function takes a <span class="type">GimpColorProfile</span> and a <span class="type">Babl</span> format and +returns a new <span class="type">Babl</span> format with <em class="parameter"><code>profile</code></em> +'s RGB primaries and TRC, +and <em class="parameter"><code>format</code></em> +'s pixel layout.</p> +<div class="refsect3"> +<a name="gimp-color-profile-get-format.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>profile</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>format</p></td> +<td class="parameter_description"><p>a <span class="type">Babl</span> format</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>intent</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorRenderingIntent</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>error</p></td> +<td class="parameter_description"><p>return location for <span class="type">GError</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-get-format.returns"></a><h4>Returns</h4> +<p> the new <span class="type">Babl</span> format.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-profile-get-lcms-format"></a><h3>gimp_color_profile_get_lcms_format ()</h3> +<pre class="programlisting">const <span class="returnvalue">Babl</span> * +gimp_color_profile_get_lcms_format (<em class="parameter"><code>const <span class="type">Babl</span> *format</code></em>, + <em class="parameter"><code><span class="type">guint32</span> *lcms_format</code></em>);</pre> +<p>This function takes a <span class="type">Babl</span> format and returns the lcms format to +be used with that <em class="parameter"><code>format</code></em> +. It also returns a <span class="type">Babl</span> format to be +used instead of the passed <em class="parameter"><code>format</code></em> +, which usually is the same as +<em class="parameter"><code>format</code></em> +, unless lcms doesn't support <em class="parameter"><code>format</code></em> +.</p> +<p>Note that this function currently only supports RGB, RGBA, R'G'B', +R'G'B'A, Y, YA, Y', Y'A and the cairo-RGB24 and cairo-ARGB32 formats.</p> +<div class="refsect3"> +<a name="gimp-color-profile-get-lcms-format.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>format</p></td> +<td class="parameter_description"><p>a <span class="type">Babl</span> format</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>lcms_format</p></td> +<td class="parameter_description"><p>return location for an lcms format</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-profile-get-lcms-format.returns"></a><h4>Returns</h4> +<p> the <span class="type">Babl</span> format to be used instead of <em class="parameter"><code>format</code></em> +, or <code class="literal">NULL</code> +if the passed <em class="parameter"><code>format</code></em> +is not supported at all.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +</div> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html>
\ No newline at end of file diff --git a/devel-docs/libgimpcolor/html/libgimpcolor-GimpColorSpace.html b/devel-docs/libgimpcolor/html/libgimpcolor-GimpColorSpace.html new file mode 100644 index 0000000..15cbaa4 --- /dev/null +++ b/devel-docs/libgimpcolor/html/libgimpcolor-GimpColorSpace.html @@ -0,0 +1,868 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GimpColorSpace: GIMP Color Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="up" href="pt01.html" title="Part I. GIMP Color Library"> +<link rel="prev" href="libgimpcolor-GimpCMYK.html" title="GimpCMYK"> +<link rel="next" href="GimpColorManaged.html" title="GimpColorManaged"> +<meta name="generator" content="GTK-Doc V1.33.1 (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="5"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"> +<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> + <a href="#libgimpcolor-GimpColorSpace.description" class="shortcut">Description</a></span> +</td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> +<td><a accesskey="u" href="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<td><a accesskey="p" href="libgimpcolor-GimpCMYK.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<td><a accesskey="n" href="GimpColorManaged.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +</tr></table> +<div class="refentry"> +<a name="libgimpcolor-GimpColorSpace"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libgimpcolor-GimpColorSpace.top_of_page"></a>GimpColorSpace</span></h2> +<p>GimpColorSpace — Utility functions which convert colors between +different color models.</p> +</td> +<td class="gallery_image" valign="top" align="right"></td> +</tr></table></div> +<div class="refsect1"> +<a name="libgimpcolor-GimpColorSpace.functions"></a><h2>Functions</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="functions_proto_type"> +<col class="functions_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsv" title="gimp_rgb_to_hsv ()">gimp_rgb_to_hsv</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsl" title="gimp_rgb_to_hsl ()">gimp_rgb_to_hsl</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-cmyk" title="gimp_rgb_to_cmyk ()">gimp_rgb_to_cmyk</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hsv-to-rgb" title="gimp_hsv_to_rgb ()">gimp_hsv_to_rgb</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hsl-to-rgb" title="gimp_hsl_to_rgb ()">gimp_hsl_to_rgb</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-cmyk-to-rgb" title="gimp_cmyk_to_rgb ()">gimp_cmyk_to_rgb</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hwb" title="gimp_rgb_to_hwb ()">gimp_rgb_to_hwb</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hwb-to-rgb" title="gimp_hwb_to_rgb ()">gimp_hwb_to_rgb</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsv-int" title="gimp_rgb_to_hsv_int ()">gimp_rgb_to_hsv_int</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hsv-to-rgb-int" title="gimp_hsv_to_rgb_int ()">gimp_hsv_to_rgb_int</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsl-int" title="gimp_rgb_to_hsl_int ()">gimp_rgb_to_hsl_int</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-cmyk-int" title="gimp_rgb_to_cmyk_int ()">gimp_rgb_to_cmyk_int</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-cmyk-to-rgb-int" title="gimp_cmyk_to_rgb_int ()">gimp_cmyk_to_rgb_int</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gint</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-l-int" title="gimp_rgb_to_l_int ()">gimp_rgb_to_l_int</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hsl-to-rgb-int" title="gimp_hsl_to_rgb_int ()">gimp_hsl_to_rgb_int</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsv4" title="gimp_rgb_to_hsv4 ()">gimp_rgb_to_hsv4</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorSpace.html#gimp-hsv-to-rgb4" title="gimp_hsv_to_rgb4 ()">gimp_hsv_to_rgb4</a> <span class="c_punctuation">()</span> +</td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpColorSpace.description"></a><h2>Description</h2> +<p>When programming pixel data manipulation functions you will often +use algorithms operating on a color model different from the one +GIMP uses. This file provides utility functions to convert colors +between different color spaces.</p> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpColorSpace.functions_details"></a><h2>Functions</h2> +<div class="refsect2"> +<a name="gimp-rgb-to-hsv"></a><h3>gimp_rgb_to_hsv ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_to_hsv (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpHSV.html#GimpHSV" title="struct GimpHSV"><span class="type">GimpHSV</span></a> *hsv</code></em>);</pre> +<p>Does a conversion from RGB to HSV (Hue, Saturation, +Value) colorspace.</p> +<div class="refsect3"> +<a name="gimp-rgb-to-hsv.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>A color value in the RGB colorspace</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>hsv</p></td> +<td class="parameter_description"><p>The value converted to the HSV colorspace</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-to-hsl"></a><h3>gimp_rgb_to_hsl ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_to_hsl (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpHSV.html#GimpHSL" title="struct GimpHSL"><span class="type">GimpHSL</span></a> *hsl</code></em>);</pre> +<p>Convert an RGB color value to a HSL (Hue, Saturation, Lightness) +color value.</p> +<div class="refsect3"> +<a name="gimp-rgb-to-hsl.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>A color value in the RGB colorspace</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>hsl</p></td> +<td class="parameter_description"><p>The value converted to HSL</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-to-cmyk"></a><h3>gimp_rgb_to_cmyk ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_to_cmyk (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> pullout</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> *cmyk</code></em>);</pre> +<p>Does a naive conversion from RGB to CMYK colorspace. A simple +formula that doesn't take any color-profiles into account is used. +The amount of black pullout how can be controlled via the <em class="parameter"><code>pullout</code></em> + +parameter. A <em class="parameter"><code>pullout</code></em> + value of 0 makes this a conversion to CMY. +A value of 1 causes the maximum amount of black to be pulled out.</p> +<div class="refsect3"> +<a name="gimp-rgb-to-cmyk.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>A value in the RGB colorspace</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>pullout</p></td> +<td class="parameter_description"><p>A scaling value (0-1) indicating how much black should be +pulled out</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>cmyk</p></td> +<td class="parameter_description"><p>The input value naively converted to the CMYK colorspace</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-hsv-to-rgb"></a><h3>gimp_hsv_to_rgb ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_hsv_to_rgb (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpHSV.html#GimpHSV" title="struct GimpHSV"><span class="type">GimpHSV</span></a> *hsv</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>);</pre> +<p>Converts a color value from HSV to RGB colorspace</p> +<div class="refsect3"> +<a name="gimp-hsv-to-rgb.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>hsv</p></td> +<td class="parameter_description"><p>A color value in the HSV colorspace</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>The returned RGB value.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-hsl-to-rgb"></a><h3>gimp_hsl_to_rgb ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_hsl_to_rgb (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpHSV.html#GimpHSL" title="struct GimpHSL"><span class="type">GimpHSL</span></a> *hsl</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>);</pre> +<p>Convert a HSL color value to an RGB color value.</p> +<div class="refsect3"> +<a name="gimp-hsl-to-rgb.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>hsl</p></td> +<td class="parameter_description"><p>A color value in the HSL colorspace</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>The value converted to a value in the RGB colorspace</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-cmyk-to-rgb"></a><h3>gimp_cmyk_to_rgb ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_cmyk_to_rgb (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpCMYK.html#GimpCMYK" title="struct GimpCMYK"><span class="type">GimpCMYK</span></a> *cmyk</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>);</pre> +<p>Does a simple transformation from the CMYK colorspace to the RGB +colorspace, without taking color profiles into account.</p> +<div class="refsect3"> +<a name="gimp-cmyk-to-rgb.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>cmyk</p></td> +<td class="parameter_description"><p>A color value in the CMYK colorspace</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>The value converted to the RGB colorspace</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-to-hwb"></a><h3>gimp_rgb_to_hwb ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_to_hwb (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *hue</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *whiteness</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *blackness</code></em>);</pre> +<div class="warning"><p><code class="literal">gimp_rgb_to_hwb</code> is deprecated and should not be used in newly-written code.</p></div> +<p>Theoretically, hue 0 (pure red) is identical to hue 6 in these transforms. +Pure red always maps to 6 in this implementation. Therefore UNDEFINED can +be defined as 0 in situations where only unsigned numbers are desired.</p> +<p>RGB are each on [0, 1]. Whiteness and Blackness are returned in the +range [0, 1] and H is returned in the range [0, 6]. If W == 1 - B, H is +undefined.</p> +<div class="refsect3"> +<a name="gimp-rgb-to-hwb.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>A color value in the RGB colorspace</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>hue</p></td> +<td class="parameter_description"><p>The hue value of the above color, in the range 0 to 6</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>whiteness</p></td> +<td class="parameter_description"><p>The whiteness value of the above color, in the range 0 to 1</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>blackness</p></td> +<td class="parameter_description"><p>The blackness value of the above color, in the range 0 to 1</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-hwb-to-rgb"></a><h3>gimp_hwb_to_rgb ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_hwb_to_rgb (<em class="parameter"><code><span class="type">gdouble</span> hue</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> whiteness</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> blackness</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>);</pre> +<div class="warning"><p><code class="literal">gimp_hwb_to_rgb</code> is deprecated and should not be used in newly-written code.</p></div> +<p>H is defined in the range [0, 6] or UNDEFINED, B and W are both in the +range [0, 1]. The returned RGB values are all in the range [0, 1].</p> +<div class="refsect3"> +<a name="gimp-hwb-to-rgb.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>hue</p></td> +<td class="parameter_description"><p>A hue value, in the range 0 to 6</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>whiteness</p></td> +<td class="parameter_description"><p>A whiteness value, in the range 0 to 1</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>blackness</p></td> +<td class="parameter_description"><p>A blackness value, in the range 0 to 1</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>The above color converted to the RGB colorspace</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-to-hsv-int"></a><h3>gimp_rgb_to_hsv_int ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_to_hsv_int (<em class="parameter"><code><span class="type">gint</span> *red</code></em>, + <em class="parameter"><code><span class="type">gint</span> *green</code></em>, + <em class="parameter"><code><span class="type">gint</span> *blue</code></em>);</pre> +<div class="warning"><p><code class="literal">gimp_rgb_to_hsv_int</code> is deprecated and should not be used in newly-written code.</p></div> +<p>The arguments are pointers to int representing channel values in +the RGB colorspace, and the values pointed to are all in the range +[0, 255].</p> +<p>The function changes the arguments to point to the HSV value +corresponding, with the returned values in the following +ranges: H [0, 359], S [0, 255], V [0, 255].</p> +<div class="refsect3"> +<a name="gimp-rgb-to-hsv-int.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>red</p></td> +<td class="parameter_description"><p>The red channel value, returns the Hue channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>green</p></td> +<td class="parameter_description"><p>The green channel value, returns the Saturation channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>blue</p></td> +<td class="parameter_description"><p>The blue channel value, returns the Value channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-hsv-to-rgb-int"></a><h3>gimp_hsv_to_rgb_int ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_hsv_to_rgb_int (<em class="parameter"><code><span class="type">gint</span> *hue</code></em>, + <em class="parameter"><code><span class="type">gint</span> *saturation</code></em>, + <em class="parameter"><code><span class="type">gint</span> *value</code></em>);</pre> +<div class="warning"><p><code class="literal">gimp_hsv_to_rgb_int</code> is deprecated and should not be used in newly-written code.</p></div> +<p>The arguments are pointers to int, with the values pointed to in the +following ranges: H [0, 360], S [0, 255], V [0, 255].</p> +<p>The function changes the arguments to point to the RGB value +corresponding, with the returned values all in the range [0, 255].</p> +<div class="refsect3"> +<a name="gimp-hsv-to-rgb-int.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>hue</p></td> +<td class="parameter_description"><p>The hue channel, returns the red channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>saturation</p></td> +<td class="parameter_description"><p>The saturation channel, returns the green channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>value</p></td> +<td class="parameter_description"><p>The value channel, returns the blue channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-to-hsl-int"></a><h3>gimp_rgb_to_hsl_int ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_to_hsl_int (<em class="parameter"><code><span class="type">gint</span> *red</code></em>, + <em class="parameter"><code><span class="type">gint</span> *green</code></em>, + <em class="parameter"><code><span class="type">gint</span> *blue</code></em>);</pre> +<div class="warning"><p><code class="literal">gimp_rgb_to_hsl_int</code> is deprecated and should not be used in newly-written code.</p></div> +<p>The arguments are pointers to int representing channel values in the +RGB colorspace, and the values pointed to are all in the range [0, 255].</p> +<p>The function changes the arguments to point to the corresponding HLS +value with the values pointed to in the following ranges: H [0, 360], +L [0, 255], S [0, 255].</p> +<div class="refsect3"> +<a name="gimp-rgb-to-hsl-int.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>red</p></td> +<td class="parameter_description"><p>Red channel, returns Hue channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>green</p></td> +<td class="parameter_description"><p>Green channel, returns Lightness channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>blue</p></td> +<td class="parameter_description"><p>Blue channel, returns Saturation channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-to-cmyk-int"></a><h3>gimp_rgb_to_cmyk_int ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_to_cmyk_int (<em class="parameter"><code><span class="type">gint</span> *red</code></em>, + <em class="parameter"><code><span class="type">gint</span> *green</code></em>, + <em class="parameter"><code><span class="type">gint</span> *blue</code></em>, + <em class="parameter"><code><span class="type">gint</span> *pullout</code></em>);</pre> +<div class="warning"><p><code class="literal">gimp_rgb_to_cmyk_int</code> is deprecated and should not be used in newly-written code.</p></div> +<p>Does a naive conversion from RGB to CMYK colorspace. A simple +formula that doesn't take any color-profiles into account is used. +The amount of black pullout how can be controlled via the <em class="parameter"><code>pullout</code></em> + +parameter. A <em class="parameter"><code>pullout</code></em> + value of 0 makes this a conversion to CMY. +A value of 100 causes the maximum amount of black to be pulled out.</p> +<div class="refsect3"> +<a name="gimp-rgb-to-cmyk-int.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>red</p></td> +<td class="parameter_description"><p>the red channel; returns the cyan value (0-255)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>green</p></td> +<td class="parameter_description"><p>the green channel; returns the magenta value (0-255)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>blue</p></td> +<td class="parameter_description"><p>the blue channel; returns the yellow value (0-255)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>pullout</p></td> +<td class="parameter_description"><p>the percentage of black to pull out (0-100); returns +the black value (0-255)</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-cmyk-to-rgb-int"></a><h3>gimp_cmyk_to_rgb_int ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_cmyk_to_rgb_int (<em class="parameter"><code><span class="type">gint</span> *cyan</code></em>, + <em class="parameter"><code><span class="type">gint</span> *magenta</code></em>, + <em class="parameter"><code><span class="type">gint</span> *yellow</code></em>, + <em class="parameter"><code><span class="type">gint</span> *black</code></em>);</pre> +<div class="warning"><p><code class="literal">gimp_cmyk_to_rgb_int</code> is deprecated and should not be used in newly-written code.</p></div> +<p>Does a naive conversion from CMYK to RGB colorspace. A simple +formula that doesn't take any color-profiles into account is used.</p> +<div class="refsect3"> +<a name="gimp-cmyk-to-rgb-int.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>cyan</p></td> +<td class="parameter_description"><p>the cyan channel; returns the red value (0-255)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>magenta</p></td> +<td class="parameter_description"><p>the magenta channel; returns the green value (0-255)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>yellow</p></td> +<td class="parameter_description"><p>the yellow channel; returns the blue value (0-255)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>black</p></td> +<td class="parameter_description"><p>the black channel (0-255); doesn't change</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-to-l-int"></a><h3>gimp_rgb_to_l_int ()</h3> +<pre class="programlisting"><span class="returnvalue">gint</span> +gimp_rgb_to_l_int (<em class="parameter"><code><span class="type">gint</span> red</code></em>, + <em class="parameter"><code><span class="type">gint</span> green</code></em>, + <em class="parameter"><code><span class="type">gint</span> blue</code></em>);</pre> +<div class="warning"><p><code class="literal">gimp_rgb_to_l_int</code> is deprecated and should not be used in newly-written code.</p></div> +<p>Calculates the lightness value of an RGB triplet with the formula +L = (max(R, G, B) + min (R, G, B)) / 2</p> +<div class="refsect3"> +<a name="gimp-rgb-to-l-int.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>red</p></td> +<td class="parameter_description"><p>Red channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>green</p></td> +<td class="parameter_description"><p>Green channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>blue</p></td> +<td class="parameter_description"><p>Blue channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-rgb-to-l-int.returns"></a><h4>Returns</h4> +<p> Luminance value corresponding to the input RGB value</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-hsl-to-rgb-int"></a><h3>gimp_hsl_to_rgb_int ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_hsl_to_rgb_int (<em class="parameter"><code><span class="type">gint</span> *hue</code></em>, + <em class="parameter"><code><span class="type">gint</span> *saturation</code></em>, + <em class="parameter"><code><span class="type">gint</span> *lightness</code></em>);</pre> +<div class="warning"><p><code class="literal">gimp_hsl_to_rgb_int</code> is deprecated and should not be used in newly-written code.</p></div> +<p>The arguments are pointers to int, with the values pointed to in the +following ranges: H [0, 360], L [0, 255], S [0, 255].</p> +<p>The function changes the arguments to point to the RGB value +corresponding, with the returned values all in the range [0, 255].</p> +<div class="refsect3"> +<a name="gimp-hsl-to-rgb-int.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>hue</p></td> +<td class="parameter_description"><p>Hue channel, returns Red channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>saturation</p></td> +<td class="parameter_description"><p>Saturation channel, returns Green channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>lightness</p></td> +<td class="parameter_description"><p>Lightness channel, returns Blue channel</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-to-hsv4"></a><h3>gimp_rgb_to_hsv4 ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_to_hsv4 (<em class="parameter"><code>const <span class="type">guchar</span> *rgb</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *hue</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *saturation</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre> +<div class="warning"><p><code class="literal">gimp_rgb_to_hsv4</code> is deprecated and should not be used in newly-written code.</p></div> +<div class="refsect3"> +<a name="gimp-rgb-to-hsv4.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>RGB triplet, rgb[0] is red channel, rgb[1] is green, +rgb[2] is blue (0..255)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>hue</p></td> +<td class="parameter_description"><p>Pointer to hue channel (0..1)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>saturation</p></td> +<td class="parameter_description"><p>Pointer to saturation channel (0..1)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>value</p></td> +<td class="parameter_description"><p>Pointer to value channel (0..1)</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-hsv-to-rgb4"></a><h3>gimp_hsv_to_rgb4 ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_hsv_to_rgb4 (<em class="parameter"><code><span class="type">guchar</span> *rgb</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> hue</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> saturation</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> value</code></em>);</pre> +<div class="warning"><p><code class="literal">gimp_hsv_to_rgb4</code> is deprecated and should not be used in newly-written code.</p></div> +<div class="refsect3"> +<a name="gimp-hsv-to-rgb4.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>RGB triplet, rgb[0] is red channel, rgb[1] is green, +rgb[2] is blue (0..255)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>hue</p></td> +<td class="parameter_description"><p>Hue channel (0..1)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>saturation</p></td> +<td class="parameter_description"><p>Saturation channel (0..1)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>value</p></td> +<td class="parameter_description"><p>Value channel (0..1)</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html>
\ No newline at end of file diff --git a/devel-docs/libgimpcolor/html/libgimpcolor-GimpColorTransform.html b/devel-docs/libgimpcolor/html/libgimpcolor-GimpColorTransform.html new file mode 100644 index 0000000..52d0dbd --- /dev/null +++ b/devel-docs/libgimpcolor/html/libgimpcolor-GimpColorTransform.html @@ -0,0 +1,431 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GimpColorTransform: GIMP Color Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="up" href="pt01.html" title="Part I. GIMP Color Library"> +<link rel="prev" href="libgimpcolor-GimpColorProfile.html" title="GimpColorProfile"> +<link rel="next" href="libgimpcolor-GimpAdaptiveSupersample.html" title="GimpAdaptiveSupersample"> +<meta name="generator" content="GTK-Doc V1.33.1 (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="5"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"> +<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> + <a href="#libgimpcolor-GimpColorTransform.description" class="shortcut">Description</a></span> +</td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> +<td><a accesskey="u" href="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<td><a accesskey="p" href="libgimpcolor-GimpColorProfile.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<td><a accesskey="n" href="libgimpcolor-GimpAdaptiveSupersample.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +</tr></table> +<div class="refentry"> +<a name="libgimpcolor-GimpColorTransform"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libgimpcolor-GimpColorTransform.top_of_page"></a>GimpColorTransform</span></h2> +<p>GimpColorTransform — Definitions and Functions relating to LCMS.</p> +</td> +<td class="gallery_image" valign="top" align="right"></td> +</tr></table></div> +<div class="refsect1"> +<a name="libgimpcolor-GimpColorTransform.functions"></a><h2>Functions</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="functions_proto_type"> +<col class="functions_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="function_type"> +<span class="returnvalue">GimpColorTransform</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorTransform.html#gimp-color-transform-new" title="gimp_color_transform_new ()">gimp_color_transform_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GimpColorTransform</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorTransform.html#gimp-color-transform-new-proofing" title="gimp_color_transform_new_proofing ()">gimp_color_transform_new_proofing</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorTransform.html#gimp-color-transform-process-pixels" title="gimp_color_transform_process_pixels ()">gimp_color_transform_process_pixels</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorTransform.html#gimp-color-transform-process-buffer" title="gimp_color_transform_process_buffer ()">gimp_color_transform_process_buffer</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gboolean</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpColorTransform.html#gimp-color-transform-can-gegl-copy" title="gimp_color_transform_can_gegl_copy ()">gimp_color_transform_can_gegl_copy</a> <span class="c_punctuation">()</span> +</td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpColorTransform.other"></a><h2>Types and Values</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="other_proto_type"> +<col class="other_proto_name"> +</colgroup> +<tbody><tr> +<td class="datatype_keyword">enum</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpColorTransform.html#GimpColorTransformFlags" title="enum GimpColorTransformFlags">GimpColorTransformFlags</a></td> +</tr></tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpColorTransform.description"></a><h2>Description</h2> +<p>Definitions and Functions relating to LCMS.</p> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpColorTransform.functions_details"></a><h2>Functions</h2> +<div class="refsect2"> +<a name="gimp-color-transform-new"></a><h3>gimp_color_transform_new ()</h3> +<pre class="programlisting"><span class="returnvalue">GimpColorTransform</span> * +gimp_color_transform_new (<em class="parameter"><code><span class="type">GimpColorProfile</span> *src_profile</code></em>, + <em class="parameter"><code>const <span class="type">Babl</span> *src_format</code></em>, + <em class="parameter"><code><span class="type">GimpColorProfile</span> *dest_profile</code></em>, + <em class="parameter"><code>const <span class="type">Babl</span> *dest_format</code></em>, + <em class="parameter"><code><span class="type">GimpColorRenderingIntent</span> rendering_intent</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpColorTransform.html#GimpColorTransformFlags" title="enum GimpColorTransformFlags"><span class="type">GimpColorTransformFlags</span></a> flags</code></em>);</pre> +<p>This function creates an color transform.</p> +<div class="refsect3"> +<a name="gimp-color-transform-new.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>src_profile</p></td> +<td class="parameter_description"><p>the source <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>src_format</p></td> +<td class="parameter_description"><p>the source <span class="type">Babl</span> format</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest_profile</p></td> +<td class="parameter_description"><p>the destination <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest_format</p></td> +<td class="parameter_description"><p>the destination <span class="type">Babl</span> format</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>rendering_intent</p></td> +<td class="parameter_description"><p>the rendering intent</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>flags</p></td> +<td class="parameter_description"><p>transform flags</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-transform-new.returns"></a><h4>Returns</h4> +<p> the <span class="type">GimpColorTransform</span>, or <code class="literal">NULL</code> if no transform is needed +to convert between pixels of <em class="parameter"><code>src_profile</code></em> +and <em class="parameter"><code>dest_profile</code></em> +.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-transform-new-proofing"></a><h3>gimp_color_transform_new_proofing ()</h3> +<pre class="programlisting"><span class="returnvalue">GimpColorTransform</span> * +gimp_color_transform_new_proofing (<em class="parameter"><code><span class="type">GimpColorProfile</span> *src_profile</code></em>, + <em class="parameter"><code>const <span class="type">Babl</span> *src_format</code></em>, + <em class="parameter"><code><span class="type">GimpColorProfile</span> *dest_profile</code></em>, + <em class="parameter"><code>const <span class="type">Babl</span> *dest_format</code></em>, + <em class="parameter"><code><span class="type">GimpColorProfile</span> *proof_profile</code></em>, + <em class="parameter"><code><span class="type">GimpColorRenderingIntent</span> proof_intent</code></em>, + <em class="parameter"><code><span class="type">GimpColorRenderingIntent</span> display_intent</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpColorTransform.html#GimpColorTransformFlags" title="enum GimpColorTransformFlags"><span class="type">GimpColorTransformFlags</span></a> flags</code></em>);</pre> +<p>This function creates a simulation / proofing color transform.</p> +<div class="refsect3"> +<a name="gimp-color-transform-new-proofing.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>src_profile</p></td> +<td class="parameter_description"><p>the source <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>src_format</p></td> +<td class="parameter_description"><p>the source <span class="type">Babl</span> format</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest_profile</p></td> +<td class="parameter_description"><p>the destination <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest_format</p></td> +<td class="parameter_description"><p>the destination <span class="type">Babl</span> format</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>proof_profile</p></td> +<td class="parameter_description"><p>the proof <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>proof_intent</p></td> +<td class="parameter_description"><p>the proof intent</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>display_intent</p></td> +<td class="parameter_description"><p>the display intent</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>flags</p></td> +<td class="parameter_description"><p>transform flags</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-transform-new-proofing.returns"></a><h4>Returns</h4> +<p> the <span class="type">GimpColorTransform</span>, or <code class="literal">NULL</code>.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-transform-process-pixels"></a><h3>gimp_color_transform_process_pixels ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_color_transform_process_pixels (<em class="parameter"><code><span class="type">GimpColorTransform</span> *transform</code></em>, + <em class="parameter"><code>const <span class="type">Babl</span> *src_format</code></em>, + <em class="parameter"><code><span class="type">gconstpointer</span> src_pixels</code></em>, + <em class="parameter"><code>const <span class="type">Babl</span> *dest_format</code></em>, + <em class="parameter"><code><span class="type">gpointer</span> dest_pixels</code></em>, + <em class="parameter"><code><span class="type">gsize</span> length</code></em>);</pre> +<p>This function transforms a contiguous line of pixels.</p> +<div class="refsect3"> +<a name="gimp-color-transform-process-pixels.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>transform</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorTransform</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>src_format</p></td> +<td class="parameter_description"><p><span class="type">Babl</span> format of <em class="parameter"><code>src_pixels</code></em> +</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>src_pixels</p></td> +<td class="parameter_description"><p>pointer to the source pixels</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest_format</p></td> +<td class="parameter_description"><p><span class="type">Babl</span> format of <em class="parameter"><code>dest_pixels</code></em> +</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest_pixels</p></td> +<td class="parameter_description"><p>pointer to the destination pixels</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p>number of pixels to process</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-transform-process-buffer"></a><h3>gimp_color_transform_process_buffer ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_color_transform_process_buffer (<em class="parameter"><code><span class="type">GimpColorTransform</span> *transform</code></em>, + <em class="parameter"><code><span class="type">GeglBuffer</span> *src_buffer</code></em>, + <em class="parameter"><code>const <span class="type">GeglRectangle</span> *src_rect</code></em>, + <em class="parameter"><code><span class="type">GeglBuffer</span> *dest_buffer</code></em>, + <em class="parameter"><code>const <span class="type">GeglRectangle</span> *dest_rect</code></em>);</pre> +<p>This function transforms buffer into another buffer.</p> +<div class="refsect3"> +<a name="gimp-color-transform-process-buffer.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>transform</p></td> +<td class="parameter_description"><p>a <span class="type">GimpColorTransform</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>src_buffer</p></td> +<td class="parameter_description"><p>source <span class="type">GeglBuffer</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>src_rect</p></td> +<td class="parameter_description"><p>rectangle in <em class="parameter"><code>src_buffer</code></em> +</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest_buffer</p></td> +<td class="parameter_description"><p>destination <span class="type">GeglBuffer</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest_rect</p></td> +<td class="parameter_description"><p>rectangle in <em class="parameter"><code>dest_buffer</code></em> +</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-color-transform-can-gegl-copy"></a><h3>gimp_color_transform_can_gegl_copy ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_color_transform_can_gegl_copy (<em class="parameter"><code><span class="type">GimpColorProfile</span> *src_profile</code></em>, + <em class="parameter"><code><span class="type">GimpColorProfile</span> *dest_profile</code></em>);</pre> +<p>This function checks if a GimpColorTransform is needed at all.</p> +<div class="refsect3"> +<a name="gimp-color-transform-can-gegl-copy.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>src_profile</p></td> +<td class="parameter_description"><p>source <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>dest_profile</p></td> +<td class="parameter_description"><p>destination <span class="type">GimpColorProfile</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-color-transform-can-gegl-copy.returns"></a><h4>Returns</h4> +<p> <code class="literal">TRUE</code> if pixels can be correctly converted between +<em class="parameter"><code>src_profile</code></em> +and <em class="parameter"><code>dest_profile</code></em> +by simply using +<code class="function">gegl_buffer_copy()</code>, <code class="function">babl_process()</code> or similar.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpColorTransform.other_details"></a><h2>Types and Values</h2> +<div class="refsect2"> +<a name="GimpColorTransformFlags"></a><h3>enum GimpColorTransformFlags</h3> +<p>Flags for modifying <span class="type">GimpColorTransform</span>'s behavior.</p> +<div class="refsect3"> +<a name="GimpColorTransformFlags.members"></a><h4>Members</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="300px" class="enum_members_name"> +<col class="enum_members_description"> +<col width="200px" class="enum_members_annotations"> +</colgroup> +<tbody> +<tr> +<td class="enum_member_name"><p><a name="GIMP-COLOR-TRANSFORM-FLAGS-NOOPTIMIZE:CAPS"></a>GIMP_COLOR_TRANSFORM_FLAGS_NOOPTIMIZE</p></td> +<td class="enum_member_description"> +<p>optimize for accuracy rather +than for speed</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +<tr> +<td class="enum_member_name"><p><a name="GIMP-COLOR-TRANSFORM-FLAGS-GAMUT-CHECK:CAPS"></a>GIMP_COLOR_TRANSFORM_FLAGS_GAMUT_CHECK</p></td> +<td class="enum_member_description"> +<p>mark out of gamut colors in the +transform result</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +<tr> +<td class="enum_member_name"><p><a name="GIMP-COLOR-TRANSFORM-FLAGS-BLACK-POINT-COMPENSATION:CAPS"></a>GIMP_COLOR_TRANSFORM_FLAGS_BLACK_POINT_COMPENSATION</p></td> +<td class="enum_member_description"> +<p>do black point +compensation</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html>
\ No newline at end of file diff --git a/devel-docs/libgimpcolor/html/libgimpcolor-GimpHSV.html b/devel-docs/libgimpcolor/html/libgimpcolor-GimpHSV.html new file mode 100644 index 0000000..0ff91fa --- /dev/null +++ b/devel-docs/libgimpcolor/html/libgimpcolor-GimpHSV.html @@ -0,0 +1,263 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GimpHSV: GIMP Color Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="up" href="pt01.html" title="Part I. GIMP Color Library"> +<link rel="prev" href="libgimpcolor-GimpRGB.html" title="GimpRGB"> +<link rel="next" href="libgimpcolor-GimpCMYK.html" title="GimpCMYK"> +<meta name="generator" content="GTK-Doc V1.33.1 (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="5"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"> +<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> + <a href="#libgimpcolor-GimpHSV.description" class="shortcut">Description</a></span> +</td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> +<td><a accesskey="u" href="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<td><a accesskey="p" href="libgimpcolor-GimpRGB.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<td><a accesskey="n" href="libgimpcolor-GimpCMYK.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +</tr></table> +<div class="refentry"> +<a name="libgimpcolor-GimpHSV"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libgimpcolor-GimpHSV.top_of_page"></a>GimpHSV</span></h2> +<p>GimpHSV — Definitions and Functions relating to HSV colors.</p> +</td> +<td class="gallery_image" valign="top" align="right"></td> +</tr></table></div> +<div class="refsect1"> +<a name="libgimpcolor-GimpHSV.functions"></a><h2>Functions</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="functions_proto_type"> +<col class="functions_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpHSV.html#gimp-hsv-set" title="gimp_hsv_set ()">gimp_hsv_set</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpHSV.html#gimp-hsv-clamp" title="gimp_hsv_clamp ()">gimp_hsv_clamp</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpHSV.html#gimp-hsva-set" title="gimp_hsva_set ()">gimp_hsva_set</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpHSV.html#gimp-hsl-set" title="gimp_hsl_set ()">gimp_hsl_set</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpHSV.html#gimp-hsl-set-alpha" title="gimp_hsl_set_alpha ()">gimp_hsl_set_alpha</a> <span class="c_punctuation">()</span> +</td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpHSV.other"></a><h2>Types and Values</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="other_proto_type"> +<col class="other_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="datatype_keyword">struct</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpHSV.html#GimpHSV" title="struct GimpHSV">GimpHSV</a></td> +</tr> +<tr> +<td class="datatype_keyword">struct</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpHSV.html#GimpHSL" title="struct GimpHSL">GimpHSL</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpHSV.html#GIMP-TYPE-HSV:CAPS" title="GIMP_TYPE_HSV">GIMP_TYPE_HSV</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpHSV.html#GIMP-TYPE-HSL:CAPS" title="GIMP_TYPE_HSL">GIMP_TYPE_HSL</a></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpHSV.description"></a><h2>Description</h2> +<p>Definitions and Functions relating to HSV colors.</p> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpHSV.functions_details"></a><h2>Functions</h2> +<div class="refsect2"> +<a name="gimp-hsv-set"></a><h3>gimp_hsv_set ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_hsv_set (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpHSV.html#GimpHSV" title="struct GimpHSV"><span class="type">GimpHSV</span></a> *hsv</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> hue</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> saturation</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> value</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-hsv-clamp"></a><h3>gimp_hsv_clamp ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_hsv_clamp (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpHSV.html#GimpHSV" title="struct GimpHSV"><span class="type">GimpHSV</span></a> *hsv</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-hsva-set"></a><h3>gimp_hsva_set ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_hsva_set (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpHSV.html#GimpHSV" title="struct GimpHSV"><span class="type">GimpHSV</span></a> *hsva</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> hue</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> saturation</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> value</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> alpha</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-hsl-set"></a><h3>gimp_hsl_set ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_hsl_set (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpHSV.html#GimpHSL" title="struct GimpHSL"><span class="type">GimpHSL</span></a> *hsl</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> h</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> s</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> l</code></em>);</pre> +<p class="since">Since: <a class="link" href="api-index-2-8.html#api-index-2.8">2.8</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-hsl-set-alpha"></a><h3>gimp_hsl_set_alpha ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_hsl_set_alpha (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpHSV.html#GimpHSL" title="struct GimpHSL"><span class="type">GimpHSL</span></a> *hsl</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> a</code></em>);</pre> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpHSV.other_details"></a><h2>Types and Values</h2> +<div class="refsect2"> +<a name="GimpHSV"></a><h3>struct GimpHSV</h3> +<pre class="programlisting">struct GimpHSV { + gdouble h, s, v, a; +}; +</pre> +<p>Used to keep HSV and HSVA colors. All components are in a range of +[0.0..1.0].</p> +<div class="refsect3"> +<a name="GimpHSV.members"></a><h4>Members</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="300px" class="struct_members_name"> +<col class="struct_members_description"> +<col width="200px" class="struct_members_annotations"> +</colgroup> +<tbody> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpHSV.h"></a>h</code></em>;</p></td> +<td class="struct_member_description"><p>the hue component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpHSV.s"></a>s</code></em>;</p></td> +<td class="struct_member_description"><p>the saturation component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpHSV.v"></a>v</code></em>;</p></td> +<td class="struct_member_description"><p>the value component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpHSV.a"></a>a</code></em>;</p></td> +<td class="struct_member_description"><p>the alpha component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="GimpHSL"></a><h3>struct GimpHSL</h3> +<pre class="programlisting">struct GimpHSL { + gdouble h, s, l, a; +}; +</pre> +<p>Used to keep HSL and HSLA colors. All components are in a range of +[0.0..1.0].</p> +<div class="refsect3"> +<a name="GimpHSL.members"></a><h4>Members</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="300px" class="struct_members_name"> +<col class="struct_members_description"> +<col width="200px" class="struct_members_annotations"> +</colgroup> +<tbody> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpHSL.h"></a>h</code></em>;</p></td> +<td class="struct_member_description"><p>the hue component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpHSL.s"></a>s</code></em>;</p></td> +<td class="struct_member_description"><p>the saturation component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpHSL.l"></a>l</code></em>;</p></td> +<td class="struct_member_description"><p>the lightness component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpHSL.a"></a>a</code></em>;</p></td> +<td class="struct_member_description"><p>the alpha component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-TYPE-HSV:CAPS"></a><h3>GIMP_TYPE_HSV</h3> +<pre class="programlisting">#define GIMP_TYPE_HSV (gimp_hsv_get_type ()) +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-TYPE-HSL:CAPS"></a><h3>GIMP_TYPE_HSL</h3> +<pre class="programlisting">#define GIMP_TYPE_HSL (gimp_hsl_get_type ()) +</pre> +</div> +</div> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html>
\ No newline at end of file diff --git a/devel-docs/libgimpcolor/html/libgimpcolor-GimpPixbuf.html b/devel-docs/libgimpcolor/html/libgimpcolor-GimpPixbuf.html new file mode 100644 index 0000000..8f2f995 --- /dev/null +++ b/devel-docs/libgimpcolor/html/libgimpcolor-GimpPixbuf.html @@ -0,0 +1,181 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GimpPixbuf: GIMP Color Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="up" href="pt01.html" title="Part I. GIMP Color Library"> +<link rel="prev" href="libgimpcolor-GimpCairo.html" title="GimpCairo"> +<link rel="next" href="api-index-full.html" title="Index"> +<meta name="generator" content="GTK-Doc V1.33.1 (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="5"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"> +<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> + <a href="#libgimpcolor-GimpPixbuf.description" class="shortcut">Description</a></span> +</td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> +<td><a accesskey="u" href="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<td><a accesskey="p" href="libgimpcolor-GimpCairo.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<td><a accesskey="n" href="api-index-full.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +</tr></table> +<div class="refentry"> +<a name="libgimpcolor-GimpPixbuf"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libgimpcolor-GimpPixbuf.top_of_page"></a>GimpPixbuf</span></h2> +<p>GimpPixbuf — Definitions and Functions relating to GdkPixbuf.</p> +</td> +<td class="gallery_image" valign="top" align="right"></td> +</tr></table></div> +<div class="refsect1"> +<a name="libgimpcolor-GimpPixbuf.functions"></a><h2>Functions</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="functions_proto_type"> +<col class="functions_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="function_type">const <span class="returnvalue">Babl</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpPixbuf.html#gimp-pixbuf-get-format" title="gimp_pixbuf_get_format ()">gimp_pixbuf_get_format</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GeglBuffer</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpPixbuf.html#gimp-pixbuf-create-buffer" title="gimp_pixbuf_create_buffer ()">gimp_pixbuf_create_buffer</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">guint8</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpPixbuf.html#gimp-pixbuf-get-icc-profile" title="gimp_pixbuf_get_icc_profile ()">gimp_pixbuf_get_icc_profile</a> <span class="c_punctuation">()</span> +</td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpPixbuf.description"></a><h2>Description</h2> +<p>Definitions and Functions relating to GdkPixbuf.</p> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpPixbuf.functions_details"></a><h2>Functions</h2> +<div class="refsect2"> +<a name="gimp-pixbuf-get-format"></a><h3>gimp_pixbuf_get_format ()</h3> +<pre class="programlisting">const <span class="returnvalue">Babl</span> * +gimp_pixbuf_get_format (<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>);</pre> +<p>Returns the Babl format that corresponds to the <em class="parameter"><code>pixbuf</code></em> +'s pixel format.</p> +<div class="refsect3"> +<a name="gimp-pixbuf-get-format.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>pixbuf</p></td> +<td class="parameter_description"><p>a <span class="type">GdkPixbuf</span></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-pixbuf-get-format.returns"></a><h4>Returns</h4> +<p> the <em class="parameter"><code>pixbuf</code></em> +'s pixel format</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-pixbuf-create-buffer"></a><h3>gimp_pixbuf_create_buffer ()</h3> +<pre class="programlisting"><span class="returnvalue">GeglBuffer</span> * +gimp_pixbuf_create_buffer (<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>);</pre> +<p>Returns a <span class="type">GeglBuffer</span> that's either backed by the <em class="parameter"><code>pixbuf</code></em> +'s pixels, +or a copy of them. This function tries to not copy the <em class="parameter"><code>pixbuf</code></em> +'s +pixels. If the pixbuf's rowstride is a multiple of its bpp, a +simple reference to the <em class="parameter"><code>pixbuf</code></em> +'s pixels is made and <em class="parameter"><code>pixbuf</code></em> + will +be kept around for as long as the buffer exists; otherwise the +pixels are copied.</p> +<div class="refsect3"> +<a name="gimp-pixbuf-create-buffer.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>pixbuf</p></td> +<td class="parameter_description"><p>a <span class="type">GdkPixbuf</span></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-pixbuf-create-buffer.returns"></a><h4>Returns</h4> +<p> a new <span class="type">GeglBuffer</span>.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-pixbuf-get-icc-profile"></a><h3>gimp_pixbuf_get_icc_profile ()</h3> +<pre class="programlisting"><span class="returnvalue">guint8</span> * +gimp_pixbuf_get_icc_profile (<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>, + <em class="parameter"><code><span class="type">gsize</span> *length</code></em>);</pre> +<p>Returns the ICC profile attached to the <em class="parameter"><code>pixbuf</code></em> +, or <code class="literal">NULL</code> if there +is none.</p> +<div class="refsect3"> +<a name="gimp-pixbuf-get-icc-profile.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>pixbuf</p></td> +<td class="parameter_description"><p>a <span class="type">GdkPixbuf</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p>return location for the ICC profile's length</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-pixbuf-get-icc-profile.returns"></a><h4>Returns</h4> +<p> The ICC profile data, or <code class="literal">NULL</code>. The value should be freed +with <code class="function">g_free()</code>.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +</div> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html>
\ No newline at end of file diff --git a/devel-docs/libgimpcolor/html/libgimpcolor-GimpRGB.html b/devel-docs/libgimpcolor/html/libgimpcolor-GimpRGB.html new file mode 100644 index 0000000..e21542a --- /dev/null +++ b/devel-docs/libgimpcolor/html/libgimpcolor-GimpRGB.html @@ -0,0 +1,1561 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GimpRGB: GIMP Color Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="up" href="pt01.html" title="Part I. GIMP Color Library"> +<link rel="prev" href="pt01.html" title="Part I. GIMP Color Library"> +<link rel="next" href="libgimpcolor-GimpHSV.html" title="GimpHSV"> +<meta name="generator" content="GTK-Doc V1.33.1 (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="5"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"> +<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> + <a href="#libgimpcolor-GimpRGB.description" class="shortcut">Description</a></span> +</td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> +<td><a accesskey="u" href="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<td><a accesskey="p" href="pt01.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<td><a accesskey="n" href="libgimpcolor-GimpHSV.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +</tr></table> +<div class="refentry"> +<a name="libgimpcolor-GimpRGB"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libgimpcolor-GimpRGB.top_of_page"></a>GimpRGB</span></h2> +<p>GimpRGB — Definitions and Functions relating to RGB colors.</p> +</td> +<td class="gallery_image" valign="top" align="right"></td> +</tr></table></div> +<div class="refsect1"> +<a name="libgimpcolor-GimpRGB.functions"></a><h2>Functions</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="functions_proto_type"> +<col class="functions_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-set" title="gimp_rgb_set ()">gimp_rgb_set</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-set-alpha" title="gimp_rgb_set_alpha ()">gimp_rgb_set_alpha</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-set-pixel" title="gimp_rgb_set_pixel ()">gimp_rgb_set_pixel</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-get-pixel" title="gimp_rgb_get_pixel ()">gimp_rgb_get_pixel</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-set-uchar" title="gimp_rgb_set_uchar ()">gimp_rgb_set_uchar</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-get-uchar" title="gimp_rgb_get_uchar ()">gimp_rgb_get_uchar</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gboolean</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-parse-name" title="gimp_rgb_parse_name ()">gimp_rgb_parse_name</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gboolean</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-parse-hex" title="gimp_rgb_parse_hex ()">gimp_rgb_parse_hex</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gboolean</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-parse-css" title="gimp_rgb_parse_css ()">gimp_rgb_parse_css</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gint</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-list-names" title="gimp_rgb_list_names ()">gimp_rgb_list_names</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-add" title="gimp_rgb_add ()">gimp_rgb_add</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-subtract" title="gimp_rgb_subtract ()">gimp_rgb_subtract</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-multiply" title="gimp_rgb_multiply ()">gimp_rgb_multiply</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gdouble</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-distance" title="gimp_rgb_distance ()">gimp_rgb_distance</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gdouble</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-max" title="gimp_rgb_max ()">gimp_rgb_max</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gdouble</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-min" title="gimp_rgb_min ()">gimp_rgb_min</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-clamp" title="gimp_rgb_clamp ()">gimp_rgb_clamp</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-gamma" title="gimp_rgb_gamma ()">gimp_rgb_gamma</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gdouble</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-luminance" title="gimp_rgb_luminance ()">gimp_rgb_luminance</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">guchar</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-luminance-uchar" title="gimp_rgb_luminance_uchar ()">gimp_rgb_luminance_uchar</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gdouble</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-intensity" title="gimp_rgb_intensity ()">gimp_rgb_intensity</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">guchar</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-intensity-uchar" title="gimp_rgb_intensity_uchar ()">gimp_rgb_intensity_uchar</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-composite" title="gimp_rgb_composite ()">gimp_rgb_composite</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-set" title="gimp_rgba_set ()">gimp_rgba_set</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-set-pixel" title="gimp_rgba_set_pixel ()">gimp_rgba_set_pixel</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-get-pixel" title="gimp_rgba_get_pixel ()">gimp_rgba_get_pixel</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-set-uchar" title="gimp_rgba_set_uchar ()">gimp_rgba_set_uchar</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-get-uchar" title="gimp_rgba_get_uchar ()">gimp_rgba_get_uchar</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gboolean</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-parse-css" title="gimp_rgba_parse_css ()">gimp_rgba_parse_css</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-add" title="gimp_rgba_add ()">gimp_rgba_add</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-subtract" title="gimp_rgba_subtract ()">gimp_rgba_subtract</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-multiply" title="gimp_rgba_multiply ()">gimp_rgba_multiply</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gdouble</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgba-distance" title="gimp_rgba_distance ()">gimp_rgba_distance</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE:CAPS" title="GIMP_RGB_LUMINANCE()">GIMP_RGB_LUMINANCE</a><span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY:CAPS" title="GIMP_RGB_INTENSITY()">GIMP_RGB_INTENSITY</a><span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">GParamSpec</span> * +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-param-spec-rgb" title="gimp_param_spec_rgb ()">gimp_param_spec_rgb</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-param-spec-rgb-get-default" title="gimp_param_spec_rgb_get_default ()">gimp_param_spec_rgb_get_default</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">gboolean</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-param-spec-rgb-has-alpha" title="gimp_param_spec_rgb_has_alpha ()">gimp_param_spec_rgb_has_alpha</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#GIMP-VALUE-HOLDS-RGB:CAPS" title="GIMP_VALUE_HOLDS_RGB()">GIMP_VALUE_HOLDS_RGB</a><span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-value-get-rgb" title="gimp_value_get_rgb ()">gimp_value_get_rgb</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-value-set-rgb" title="gimp_value_set_rgb ()">gimp_value_set_rgb</a> <span class="c_punctuation">()</span> +</td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpRGB.other"></a><h2>Types and Values</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="other_proto_type"> +<col class="other_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="datatype_keyword">struct</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB">GimpRGB</a></td> +</tr> +<tr> +<td class="datatype_keyword">enum</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGBCompositeMode" title="enum GimpRGBCompositeMode">GimpRGBCompositeMode</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE-RED:CAPS" title="GIMP_RGB_LUMINANCE_RED">GIMP_RGB_LUMINANCE_RED</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE-GREEN:CAPS" title="GIMP_RGB_LUMINANCE_GREEN">GIMP_RGB_LUMINANCE_GREEN</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE-BLUE:CAPS" title="GIMP_RGB_LUMINANCE_BLUE">GIMP_RGB_LUMINANCE_BLUE</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-RED:CAPS" title="GIMP_RGB_INTENSITY_RED">GIMP_RGB_INTENSITY_RED</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-GREEN:CAPS" title="GIMP_RGB_INTENSITY_GREEN">GIMP_RGB_INTENSITY_GREEN</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-BLUE:CAPS" title="GIMP_RGB_INTENSITY_BLUE">GIMP_RGB_INTENSITY_BLUE</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpRGB.html#GIMP-TYPE-RGB:CAPS" title="GIMP_TYPE_RGB">GIMP_TYPE_RGB</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="libgimpcolor-GimpRGB.html#GIMP-TYPE-PARAM-RGB:CAPS" title="GIMP_TYPE_PARAM_RGB">GIMP_TYPE_PARAM_RGB</a></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpRGB.description"></a><h2>Description</h2> +<p>Definitions and Functions relating to RGB colors.</p> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpRGB.functions_details"></a><h2>Functions</h2> +<div class="refsect2"> +<a name="gimp-rgb-set"></a><h3>gimp_rgb_set ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_set (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> red</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> green</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> blue</code></em>);</pre> +<p>Sets the red, green and blue components of <em class="parameter"><code>rgb</code></em> + and leaves the +alpha component unchanged. The color values should be between 0.0 +and 1.0 but there is no check to enforce this and the values are +set exactly as they are passed in.</p> +<div class="refsect3"> +<a name="gimp-rgb-set.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>red</p></td> +<td class="parameter_description"><p>the red component</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>green</p></td> +<td class="parameter_description"><p>the green component</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>blue</p></td> +<td class="parameter_description"><p>the blue component</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-set-alpha"></a><h3>gimp_rgb_set_alpha ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_set_alpha (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> alpha</code></em>);</pre> +<p>Sets the alpha component of <em class="parameter"><code>rgb</code></em> + and leaves the RGB components unchanged.</p> +<div class="refsect3"> +<a name="gimp-rgb-set-alpha.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>alpha</p></td> +<td class="parameter_description"><p>the alpha component</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-set-pixel"></a><h3>gimp_rgb_set_pixel ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_set_pixel (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>, + <em class="parameter"><code>const <span class="type">Babl</span> *format</code></em>, + <em class="parameter"><code><span class="type">gconstpointer</span> pixel</code></em>);</pre> +<p>Sets the red, green and blue components of <em class="parameter"><code>rgb</code></em> + from the color +stored in <em class="parameter"><code>pixel</code></em> +. The pixel format of <em class="parameter"><code>pixel</code></em> + is determined by +<em class="parameter"><code>format</code></em> +.</p> +<div class="refsect3"> +<a name="gimp-rgb-set-pixel.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>format</p></td> +<td class="parameter_description"><p>a Babl format</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>pixel</p></td> +<td class="parameter_description"><p>pointer to the source pixel</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-get-pixel"></a><h3>gimp_rgb_get_pixel ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_get_pixel (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>, + <em class="parameter"><code>const <span class="type">Babl</span> *format</code></em>, + <em class="parameter"><code><span class="type">gpointer</span> pixel</code></em>);</pre> +<p>Writes the red, green, blue and alpha components of <em class="parameter"><code>rgb</code></em> + to the +color stored in <em class="parameter"><code>pixel</code></em> +. The pixel format of <em class="parameter"><code>pixel</code></em> + is determined by +<em class="parameter"><code>format</code></em> +.</p> +<div class="refsect3"> +<a name="gimp-rgb-get-pixel.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>format</p></td> +<td class="parameter_description"><p>a Babl format</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>pixel</p></td> +<td class="parameter_description"><p>pointer to the destination pixel</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-set-uchar"></a><h3>gimp_rgb_set_uchar ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_set_uchar (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>, + <em class="parameter"><code><span class="type">guchar</span> red</code></em>, + <em class="parameter"><code><span class="type">guchar</span> green</code></em>, + <em class="parameter"><code><span class="type">guchar</span> blue</code></em>);</pre> +<p>Sets the red, green and blue components of <em class="parameter"><code>rgb</code></em> + from 8bit values +(0 to 255) and leaves the alpha component unchanged.</p> +<div class="refsect3"> +<a name="gimp-rgb-set-uchar.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>red</p></td> +<td class="parameter_description"><p>the red component</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>green</p></td> +<td class="parameter_description"><p>the green component</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>blue</p></td> +<td class="parameter_description"><p>the blue component</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-get-uchar"></a><h3>gimp_rgb_get_uchar ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_get_uchar (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *red</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *green</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *blue</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-parse-name"></a><h3>gimp_rgb_parse_name ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_rgb_parse_name (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>, + <em class="parameter"><code><span class="type">gint</span> len</code></em>);</pre> +<p>Attempts to parse a color name. This function accepts <a class="ulink" href="https://www.w3.org/TR/SVG/types.html#ColorKeywords" target="_top">SVG 1.0 +color keywords</a>.</p> +<p>This function does not touch the alpha component of <em class="parameter"><code>rgb</code></em> +.</p> +<div class="refsect3"> +<a name="gimp-rgb-parse-name.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct used to return the parsed color</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>name</p></td> +<td class="parameter_description"><p>a color name (in UTF-8 encoding)</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>len</p></td> +<td class="parameter_description"><p>the length of <em class="parameter"><code>name</code></em> +, in bytes. or -1 if <em class="parameter"><code>name</code></em> +is nul-terminated</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-rgb-parse-name.returns"></a><h4>Returns</h4> +<p> <code class="literal">TRUE</code> if <em class="parameter"><code>name</code></em> +was parsed successfully and <em class="parameter"><code>rgb</code></em> +has +been set, <code class="literal">FALSE</code> otherwise</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-parse-hex"></a><h3>gimp_rgb_parse_hex ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_rgb_parse_hex (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *hex</code></em>, + <em class="parameter"><code><span class="type">gint</span> len</code></em>);</pre> +<p>Attempts to parse a string describing an RGB color in hexadecimal +notation (optionally prefixed with a '#').</p> +<p>This function does not touch the alpha component of <em class="parameter"><code>rgb</code></em> +.</p> +<div class="refsect3"> +<a name="gimp-rgb-parse-hex.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct used to return the parsed color</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>hex</p></td> +<td class="parameter_description"><p>a string describing a color in hexadecimal notation</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>len</p></td> +<td class="parameter_description"><p>the length of <em class="parameter"><code>hex</code></em> +, in bytes. or -1 if <em class="parameter"><code>hex</code></em> +is nul-terminated</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-rgb-parse-hex.returns"></a><h4>Returns</h4> +<p> <code class="literal">TRUE</code> if <em class="parameter"><code>hex</code></em> +was parsed successfully and <em class="parameter"><code>rgb</code></em> +has +been set, <code class="literal">FALSE</code> otherwise</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-parse-css"></a><h3>gimp_rgb_parse_css ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_rgb_parse_css (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *css</code></em>, + <em class="parameter"><code><span class="type">gint</span> len</code></em>);</pre> +<p>Attempts to parse a string describing an RGB color in CSS +notation. This can be either a numerical representation +(<code class="code">rgb(255,0,0)</code> or <code class="code">rgb(100%,0%,0%)</code>) +or a hexadecimal notation as parsed by <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-parse-hex" title="gimp_rgb_parse_hex ()"><code class="function">gimp_rgb_parse_hex()</code></a> +(<code class="code">#<span class="type">ff0000</span></code>) or a color name as parsed by +<a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-parse-name" title="gimp_rgb_parse_name ()"><code class="function">gimp_rgb_parse_name()</code></a> (<code class="code">red</code>).</p> +<p>This function does not touch the alpha component of <em class="parameter"><code>rgb</code></em> +.</p> +<div class="refsect3"> +<a name="gimp-rgb-parse-css.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct used to return the parsed color</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>css</p></td> +<td class="parameter_description"><p>a string describing a color in CSS notation</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>len</p></td> +<td class="parameter_description"><p>the length of <em class="parameter"><code>hex</code></em> +, in bytes. or -1 if <em class="parameter"><code>hex</code></em> +is nul-terminated</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-rgb-parse-css.returns"></a><h4>Returns</h4> +<p> <code class="literal">TRUE</code> if <em class="parameter"><code>css</code></em> +was parsed successfully and <em class="parameter"><code>rgb</code></em> +has been +set, <code class="literal">FALSE</code> otherwise</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-list-names"></a><h3>gimp_rgb_list_names ()</h3> +<pre class="programlisting"><span class="returnvalue">gint</span> +gimp_rgb_list_names (<em class="parameter"><code>const <span class="type">gchar</span> ***names</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> **colors</code></em>);</pre> +<p>Returns the list of <a class="ulink" href="https://www.w3.org/TR/SVG/types.html" target="_top">SVG 1.0 color +keywords</a> that is used by <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-parse-name" title="gimp_rgb_parse_name ()"><code class="function">gimp_rgb_parse_name()</code></a>.</p> +<p>The returned strings are const and must not be freed. Only the two +arrays are allocated dynamically. You must call <code class="function">g_free()</code> on the +<em class="parameter"><code>names</code></em> + and <em class="parameter"><code>colors</code></em> + arrays when they are not any longer needed.</p> +<div class="refsect3"> +<a name="gimp-rgb-list-names.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>names</p></td> +<td class="parameter_description"><p>return location for an array of color names</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>colors</p></td> +<td class="parameter_description"><p>return location for an array of GimpRGB structs</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-rgb-list-names.returns"></a><h4>Returns</h4> +<p> the number of named colors +(i.e. the length of the returned arrays)</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-add"></a><h3>gimp_rgb_add ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_add (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb1</code></em>, + <em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb2</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-subtract"></a><h3>gimp_rgb_subtract ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_subtract (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb1</code></em>, + <em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb2</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-multiply"></a><h3>gimp_rgb_multiply ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_multiply (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb1</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> factor</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-distance"></a><h3>gimp_rgb_distance ()</h3> +<pre class="programlisting"><span class="returnvalue">gdouble</span> +gimp_rgb_distance (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb1</code></em>, + <em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb2</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-max"></a><h3>gimp_rgb_max ()</h3> +<pre class="programlisting"><span class="returnvalue">gdouble</span> +gimp_rgb_max (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-min"></a><h3>gimp_rgb_min ()</h3> +<pre class="programlisting"><span class="returnvalue">gdouble</span> +gimp_rgb_min (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-clamp"></a><h3>gimp_rgb_clamp ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_clamp (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-gamma"></a><h3>gimp_rgb_gamma ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_gamma (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> gamma</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-luminance"></a><h3>gimp_rgb_luminance ()</h3> +<pre class="programlisting"><span class="returnvalue">gdouble</span> +gimp_rgb_luminance (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-rgb-luminance.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-rgb-luminance.returns"></a><h4>Returns</h4> +<p> the luminous intensity of the range from 0.0 to 1.0.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-luminance-uchar"></a><h3>gimp_rgb_luminance_uchar ()</h3> +<pre class="programlisting"><span class="returnvalue">guchar</span> +gimp_rgb_luminance_uchar (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-rgb-luminance-uchar.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-rgb-luminance-uchar.returns"></a><h4>Returns</h4> +<p> the luminous intensity in the range from 0 to 255.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-intensity"></a><h3>gimp_rgb_intensity ()</h3> +<pre class="programlisting"><span class="returnvalue">gdouble</span> +gimp_rgb_intensity (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>);</pre> +<div class="warning"><p><code class="literal">gimp_rgb_intensity</code> is deprecated and should not be used in newly-written code.</p></div> +<p>This function is deprecated! Use <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-luminance" title="gimp_rgb_luminance ()"><code class="function">gimp_rgb_luminance()</code></a> instead.</p> +<div class="refsect3"> +<a name="gimp-rgb-intensity.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-rgb-intensity.returns"></a><h4>Returns</h4> +<p> the intensity in the range from 0.0 to 1.0.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-intensity-uchar"></a><h3>gimp_rgb_intensity_uchar ()</h3> +<pre class="programlisting"><span class="returnvalue">guchar</span> +gimp_rgb_intensity_uchar (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>);</pre> +<div class="warning"><p><code class="literal">gimp_rgb_intensity_uchar</code> is deprecated and should not be used in newly-written code.</p></div> +<p>This function is deprecated! Use <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-luminance-uchar" title="gimp_rgb_luminance_uchar ()"><code class="function">gimp_rgb_luminance_uchar()</code></a> instead.</p> +<div class="refsect3"> +<a name="gimp-rgb-intensity-uchar.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>rgb</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-rgb-intensity-uchar.returns"></a><h4>Returns</h4> +<p> the intensity in the range from 0 to 255.</p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgb-composite"></a><h3>gimp_rgb_composite ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgb_composite (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *color1</code></em>, + <em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *color2</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGBCompositeMode" title="enum GimpRGBCompositeMode"><span class="type">GimpRGBCompositeMode</span></a> mode</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgba-set"></a><h3>gimp_rgba_set ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgba_set (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgba</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> red</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> green</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> blue</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> alpha</code></em>);</pre> +<p>Sets the red, green, blue and alpha components of <em class="parameter"><code>rgb</code></em> +. The values +should be between 0.0 and 1.0 but there is no check to enforce this +and the values are set exactly as they are passed in.</p> +<div class="refsect3"> +<a name="gimp-rgba-set.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgba</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>red</p></td> +<td class="parameter_description"><p>the red component</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>green</p></td> +<td class="parameter_description"><p>the green component</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>blue</p></td> +<td class="parameter_description"><p>the blue component</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>alpha</p></td> +<td class="parameter_description"><p>the alpha component</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgba-set-pixel"></a><h3>gimp_rgba_set_pixel ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgba_set_pixel (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgba</code></em>, + <em class="parameter"><code>const <span class="type">Babl</span> *format</code></em>, + <em class="parameter"><code><span class="type">gconstpointer</span> pixel</code></em>);</pre> +<p>Sets the red, green, blue and alpha components of <em class="parameter"><code>rgba</code></em> + from the +color stored in <em class="parameter"><code>pixel</code></em> +. The pixel format of <em class="parameter"><code>pixel</code></em> + is determined +by <em class="parameter"><code>format</code></em> +.</p> +<div class="refsect3"> +<a name="gimp-rgba-set-pixel.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgba</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>format</p></td> +<td class="parameter_description"><p>a Babl format</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>pixel</p></td> +<td class="parameter_description"><p>pointer to the source pixel</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgba-get-pixel"></a><h3>gimp_rgba_get_pixel ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgba_get_pixel (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgba</code></em>, + <em class="parameter"><code>const <span class="type">Babl</span> *format</code></em>, + <em class="parameter"><code><span class="type">gpointer</span> pixel</code></em>);</pre> +<p>Writes the red, green, blue and alpha components of <em class="parameter"><code>rgba</code></em> + to the +color stored in <em class="parameter"><code>pixel</code></em> +. The pixel format of <em class="parameter"><code>pixel</code></em> + is determined by +<em class="parameter"><code>format</code></em> +.</p> +<div class="refsect3"> +<a name="gimp-rgba-get-pixel.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgba</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>format</p></td> +<td class="parameter_description"><p>a Babl format</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>pixel</p></td> +<td class="parameter_description"><p>pointer to the destination pixel</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgba-set-uchar"></a><h3>gimp_rgba_set_uchar ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgba_set_uchar (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgba</code></em>, + <em class="parameter"><code><span class="type">guchar</span> red</code></em>, + <em class="parameter"><code><span class="type">guchar</span> green</code></em>, + <em class="parameter"><code><span class="type">guchar</span> blue</code></em>, + <em class="parameter"><code><span class="type">guchar</span> alpha</code></em>);</pre> +<p>Sets the red, green, blue and alpha components of <em class="parameter"><code>rgb</code></em> + from 8bit +values (0 to 255).</p> +<div class="refsect3"> +<a name="gimp-rgba-set-uchar.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgba</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>red</p></td> +<td class="parameter_description"><p>the red component</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>green</p></td> +<td class="parameter_description"><p>the green component</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>blue</p></td> +<td class="parameter_description"><p>the blue component</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>alpha</p></td> +<td class="parameter_description"><p>the alpha component</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgba-get-uchar"></a><h3>gimp_rgba_get_uchar ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgba_get_uchar (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgba</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *red</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *green</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *blue</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *alpha</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgba-parse-css"></a><h3>gimp_rgba_parse_css ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_rgba_parse_css (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgba</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *css</code></em>, + <em class="parameter"><code><span class="type">gint</span> len</code></em>);</pre> +<p>Similar to <a class="link" href="libgimpcolor-GimpRGB.html#gimp-rgb-parse-css" title="gimp_rgb_parse_css ()"><code class="function">gimp_rgb_parse_css()</code></a> but handles RGB colors with alpha +channel in the numerical CSS notation (<code class="code">rgba(255,0,0,255)</code> +or <code class="code">rgba(100%,0%,0%,1000%)</code>).</p> +<p>It doesn't handle the hexadecimal notation or color names because +they leave the alpha channel unspecified.</p> +<div class="refsect3"> +<a name="gimp-rgba-parse-css.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>rgba</p></td> +<td class="parameter_description"><p>a <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> struct used to return the parsed color</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>css</p></td> +<td class="parameter_description"><p>a string describing a color in CSS notation</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>len</p></td> +<td class="parameter_description"><p>the length of <em class="parameter"><code>hex</code></em> +, in bytes. or -1 if <em class="parameter"><code>hex</code></em> +is nul-terminated</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-rgba-parse-css.returns"></a><h4>Returns</h4> +<p> <code class="literal">TRUE</code> if <em class="parameter"><code>css</code></em> +was parsed successfully and <em class="parameter"><code>rgb</code></em> +has been +set, <code class="literal">FALSE</code> otherwise</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgba-add"></a><h3>gimp_rgba_add ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgba_add (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgba1</code></em>, + <em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgba2</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgba-subtract"></a><h3>gimp_rgba_subtract ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgba_subtract (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgba1</code></em>, + <em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgba2</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgba-multiply"></a><h3>gimp_rgba_multiply ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_rgba_multiply (<em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgba</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> factor</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-rgba-distance"></a><h3>gimp_rgba_distance ()</h3> +<pre class="programlisting"><span class="returnvalue">gdouble</span> +gimp_rgba_distance (<em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgba1</code></em>, + <em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgba2</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-RGB-LUMINANCE:CAPS"></a><h3>GIMP_RGB_LUMINANCE()</h3> +<pre class="programlisting">#define GIMP_RGB_LUMINANCE(r,g,b)</pre> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-RGB-INTENSITY:CAPS"></a><h3>GIMP_RGB_INTENSITY()</h3> +<pre class="programlisting">#define GIMP_RGB_INTENSITY(r,g,b)</pre> +<div class="warning"><p><code class="literal">GIMP_RGB_INTENSITY</code> is deprecated and should not be used in newly-written code.</p></div> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-param-spec-rgb"></a><h3>gimp_param_spec_rgb ()</h3> +<pre class="programlisting"><span class="returnvalue">GParamSpec</span> * +gimp_param_spec_rgb (<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> has_alpha</code></em>, + <em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *default_value</code></em>, + <em class="parameter"><code><span class="type">GParamFlags</span> flags</code></em>);</pre> +<p>Creates a param spec to hold an <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> value. +See <code class="function">g_param_spec_internal()</code> for more information.</p> +<div class="refsect3"> +<a name="gimp-param-spec-rgb.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>name</p></td> +<td class="parameter_description"><p>Canonical name of the param</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>nick</p></td> +<td class="parameter_description"><p>Nickname of the param</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>blurb</p></td> +<td class="parameter_description"><p>Brief description of param.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>has_alpha</p></td> +<td class="parameter_description"><p><code class="literal">TRUE</code> if the alpha channel has relevance.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>default_value</p></td> +<td class="parameter_description"><p>Value to use if none is assigned.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>flags</p></td> +<td class="parameter_description"><p>a combination of <span class="type">GParamFlags</span></p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-param-spec-rgb.returns"></a><h4>Returns</h4> +<p> a newly allocated <span class="type">GParamSpec</span> instance</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-param-spec-rgb-get-default"></a><h3>gimp_param_spec_rgb_get_default ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_param_spec_rgb_get_default (<em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *default_value</code></em>);</pre> +<p>Returns the <em class="parameter"><code>pspec</code></em> +'s default color value.</p> +<div class="refsect3"> +<a name="gimp-param-spec-rgb-get-default.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>pspec</p></td> +<td class="parameter_description"><p>a <span class="type">GimpParamSpecRGB</span>.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>default_value</p></td> +<td class="parameter_description"><p>return location for <em class="parameter"><code>pspec</code></em> +'s default value</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 2.10.14</p> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-param-spec-rgb-has-alpha"></a><h3>gimp_param_spec_rgb_has_alpha ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +gimp_param_spec_rgb_has_alpha (<em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>);</pre> +<div class="refsect3"> +<a name="gimp-param-spec-rgb-has-alpha.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>pspec</p></td> +<td class="parameter_description"><p>a <span class="type">GParamSpec</span> to hold an <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> value.</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="gimp-param-spec-rgb-has-alpha.returns"></a><h4>Returns</h4> +<p> <code class="literal">TRUE</code> if the alpha channel is relevant.</p> +</div> +<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-VALUE-HOLDS-RGB:CAPS"></a><h3>GIMP_VALUE_HOLDS_RGB()</h3> +<pre class="programlisting">#define GIMP_VALUE_HOLDS_RGB(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_RGB)) +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-value-get-rgb"></a><h3>gimp_value_get_rgb ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_value_get_rgb (<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-value-set-rgb"></a><h3>gimp_value_set_rgb ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_value_set_rgb (<em class="parameter"><code><span class="type">GValue</span> *value</code></em>, + <em class="parameter"><code>const <a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>);</pre> +</div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpRGB.other_details"></a><h2>Types and Values</h2> +<div class="refsect2"> +<a name="GimpRGB"></a><h3>struct GimpRGB</h3> +<pre class="programlisting">struct GimpRGB { + gdouble r, g, b, a; +}; +</pre> +<p>Used to keep RGB and RGBA colors. All components are in a range of +[0.0..1.0].</p> +<div class="refsect3"> +<a name="GimpRGB.members"></a><h4>Members</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="300px" class="struct_members_name"> +<col class="struct_members_description"> +<col width="200px" class="struct_members_annotations"> +</colgroup> +<tbody> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpRGB.r"></a>r</code></em>;</p></td> +<td class="struct_member_description"><p>the red component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpRGB.g"></a>g</code></em>;</p></td> +<td class="struct_member_description"><p>the green component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpRGB.b"></a>b</code></em>;</p></td> +<td class="struct_member_description"><p>the blue component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +<tr> +<td class="struct_member_name"><p><span class="type">gdouble</span> <em class="structfield"><code><a name="GimpRGB.a"></a>a</code></em>;</p></td> +<td class="struct_member_description"><p>the alpha component</p></td> +<td class="struct_member_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="GimpRGBCompositeMode"></a><h3>enum GimpRGBCompositeMode</h3> +<div class="refsect3"> +<a name="GimpRGBCompositeMode.members"></a><h4>Members</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="300px" class="enum_members_name"> +<col class="enum_members_description"> +<col width="200px" class="enum_members_annotations"> +</colgroup> +<tbody> +<tr> +<td class="enum_member_name"><p><a name="GIMP-RGB-COMPOSITE-NONE:CAPS"></a>GIMP_RGB_COMPOSITE_NONE</p></td> +<td class="enum_member_description"> +<p>don't do compositing</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +<tr> +<td class="enum_member_name"><p><a name="GIMP-RGB-COMPOSITE-NORMAL:CAPS"></a>GIMP_RGB_COMPOSITE_NORMAL</p></td> +<td class="enum_member_description"> +<p>composite on top</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +<tr> +<td class="enum_member_name"><p><a name="GIMP-RGB-COMPOSITE-BEHIND:CAPS"></a>GIMP_RGB_COMPOSITE_BEHIND</p></td> +<td class="enum_member_description"> +<p>composite behind</p> +</td> +<td class="enum_member_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-RGB-LUMINANCE-RED:CAPS"></a><h3>GIMP_RGB_LUMINANCE_RED</h3> +<pre class="programlisting">#define GIMP_RGB_LUMINANCE_RED (0.22248840) +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-RGB-LUMINANCE-GREEN:CAPS"></a><h3>GIMP_RGB_LUMINANCE_GREEN</h3> +<pre class="programlisting">#define GIMP_RGB_LUMINANCE_GREEN (0.71690369) +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-RGB-LUMINANCE-BLUE:CAPS"></a><h3>GIMP_RGB_LUMINANCE_BLUE</h3> +<pre class="programlisting">#define GIMP_RGB_LUMINANCE_BLUE (0.06060791) +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-RGB-INTENSITY-RED:CAPS"></a><h3>GIMP_RGB_INTENSITY_RED</h3> +<pre class="programlisting">#define GIMP_RGB_INTENSITY_RED (0.30) +</pre> +<div class="warning"><p><code class="literal">GIMP_RGB_INTENSITY_RED</code> is deprecated and should not be used in newly-written code.</p></div> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-RGB-INTENSITY-GREEN:CAPS"></a><h3>GIMP_RGB_INTENSITY_GREEN</h3> +<pre class="programlisting">#define GIMP_RGB_INTENSITY_GREEN (0.59) +</pre> +<div class="warning"><p><code class="literal">GIMP_RGB_INTENSITY_GREEN</code> is deprecated and should not be used in newly-written code.</p></div> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-RGB-INTENSITY-BLUE:CAPS"></a><h3>GIMP_RGB_INTENSITY_BLUE</h3> +<pre class="programlisting">#define GIMP_RGB_INTENSITY_BLUE (0.11) +</pre> +<div class="warning"><p><code class="literal">GIMP_RGB_INTENSITY_BLUE</code> is deprecated and should not be used in newly-written code.</p></div> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-TYPE-RGB:CAPS"></a><h3>GIMP_TYPE_RGB</h3> +<pre class="programlisting">#define GIMP_TYPE_RGB (gimp_rgb_get_type ()) +</pre> +</div> +<hr> +<div class="refsect2"> +<a name="GIMP-TYPE-PARAM-RGB:CAPS"></a><h3>GIMP_TYPE_PARAM_RGB</h3> +<pre class="programlisting">#define GIMP_TYPE_PARAM_RGB (gimp_param_rgb_get_type ()) +</pre> +</div> +</div> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html>
\ No newline at end of file diff --git a/devel-docs/libgimpcolor/html/libgimpcolor.devhelp2 b/devel-docs/libgimpcolor/html/libgimpcolor.devhelp2 new file mode 100644 index 0000000..9dd1f64 --- /dev/null +++ b/devel-docs/libgimpcolor/html/libgimpcolor.devhelp2 @@ -0,0 +1,202 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<book xmlns="http://www.devhelp.net/book" title="GIMP Color Library Reference Manual" link="index.html" author="" name="libgimpcolor" version="2" language="c"> + <chapters> + <sub name="GIMP Color Library" link="pt01.html"> + <sub name="GimpRGB" link="libgimpcolor-GimpRGB.html"/> + <sub name="GimpHSV" link="libgimpcolor-GimpHSV.html"/> + <sub name="GimpCMYK" link="libgimpcolor-GimpCMYK.html"/> + <sub name="GimpColorSpace" link="libgimpcolor-GimpColorSpace.html"/> + <sub name="GimpColorManaged" link="GimpColorManaged.html"/> + <sub name="GimpColorProfile" link="libgimpcolor-GimpColorProfile.html"/> + <sub name="GimpColorTransform" link="libgimpcolor-GimpColorTransform.html"/> + <sub name="GimpAdaptiveSupersample" link="libgimpcolor-GimpAdaptiveSupersample.html"/> + <sub name="GimpBilinear" link="libgimpcolor-GimpBilinear.html"/> + <sub name="GimpCairo" link="libgimpcolor-GimpCairo.html"/> + <sub name="GimpPixbuf" link="libgimpcolor-GimpPixbuf.html"/> + </sub> + <sub name="Index" link="api-index-full.html"/> + <sub name="Index of new symbols in GIMP 2.2" link="api-index-2-2.html"/> + <sub name="Index of new symbols in GIMP 2.4" link="api-index-2-4.html"/> + <sub name="Index of new symbols in GIMP 2.6" link="api-index-2-6.html"/> + <sub name="Index of new symbols in GIMP 2.8" link="api-index-2-8.html"/> + <sub name="Index of new symbols in GIMP 2.10" link="api-index-2-10.html"/> + <sub name="Index of deprecated symbols" link="api-index-deprecated.html"/> + </chapters> + <functions> + <keyword type="function" name="gimp_rgb_set ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-set"/> + <keyword type="function" name="gimp_rgb_set_alpha ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-set-alpha"/> + <keyword type="function" name="gimp_rgb_set_pixel ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-set-pixel" since="2.10"/> + <keyword type="function" name="gimp_rgb_get_pixel ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-get-pixel" since="2.10"/> + <keyword type="function" name="gimp_rgb_set_uchar ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-set-uchar"/> + <keyword type="function" name="gimp_rgb_get_uchar ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-get-uchar"/> + <keyword type="function" name="gimp_rgb_parse_name ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-parse-name" since="2.2"/> + <keyword type="function" name="gimp_rgb_parse_hex ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-parse-hex" since="2.2"/> + <keyword type="function" name="gimp_rgb_parse_css ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-parse-css" since="2.2"/> + <keyword type="function" name="gimp_rgb_list_names ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-list-names" since="2.2"/> + <keyword type="function" name="gimp_rgb_add ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-add"/> + <keyword type="function" name="gimp_rgb_subtract ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-subtract"/> + <keyword type="function" name="gimp_rgb_multiply ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-multiply"/> + <keyword type="function" name="gimp_rgb_distance ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-distance"/> + <keyword type="function" name="gimp_rgb_max ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-max"/> + <keyword type="function" name="gimp_rgb_min ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-min"/> + <keyword type="function" name="gimp_rgb_clamp ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-clamp"/> + <keyword type="function" name="gimp_rgb_gamma ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-gamma"/> + <keyword type="function" name="gimp_rgb_luminance ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-luminance" since="2.4"/> + <keyword type="function" name="gimp_rgb_luminance_uchar ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-luminance-uchar" since="2.4"/> + <keyword type="function" name="gimp_rgb_intensity ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-intensity" deprecated=""/> + <keyword type="function" name="gimp_rgb_intensity_uchar ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-intensity-uchar" deprecated=""/> + <keyword type="function" name="gimp_rgb_composite ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-composite"/> + <keyword type="function" name="gimp_rgba_set ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-set"/> + <keyword type="function" name="gimp_rgba_set_pixel ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-set-pixel" since="2.10"/> + <keyword type="function" name="gimp_rgba_get_pixel ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-get-pixel" since="2.10"/> + <keyword type="function" name="gimp_rgba_set_uchar ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-set-uchar"/> + <keyword type="function" name="gimp_rgba_get_uchar ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-get-uchar"/> + <keyword type="function" name="gimp_rgba_parse_css ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-parse-css" since="2.2"/> + <keyword type="function" name="gimp_rgba_add ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-add"/> + <keyword type="function" name="gimp_rgba_subtract ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-subtract"/> + <keyword type="function" name="gimp_rgba_multiply ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-multiply"/> + <keyword type="function" name="gimp_rgba_distance ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-distance"/> + <keyword type="macro" name="GIMP_RGB_LUMINANCE()" link="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE:CAPS"/> + <keyword type="macro" name="GIMP_RGB_INTENSITY()" link="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY:CAPS" deprecated=""/> + <keyword type="function" name="gimp_param_spec_rgb ()" link="libgimpcolor-GimpRGB.html#gimp-param-spec-rgb" since="2.4"/> + <keyword type="function" name="gimp_param_spec_rgb_get_default ()" link="libgimpcolor-GimpRGB.html#gimp-param-spec-rgb-get-default" since="2.10.14"/> + <keyword type="function" name="gimp_param_spec_rgb_has_alpha ()" link="libgimpcolor-GimpRGB.html#gimp-param-spec-rgb-has-alpha" since="2.4"/> + <keyword type="macro" name="GIMP_VALUE_HOLDS_RGB()" link="libgimpcolor-GimpRGB.html#GIMP-VALUE-HOLDS-RGB:CAPS"/> + <keyword type="function" name="gimp_value_get_rgb ()" link="libgimpcolor-GimpRGB.html#gimp-value-get-rgb"/> + <keyword type="function" name="gimp_value_set_rgb ()" link="libgimpcolor-GimpRGB.html#gimp-value-set-rgb"/> + <keyword type="struct" name="struct GimpRGB" link="libgimpcolor-GimpRGB.html#GimpRGB"/> + <keyword type="enum" name="enum GimpRGBCompositeMode" link="libgimpcolor-GimpRGB.html#GimpRGBCompositeMode"/> + <keyword type="macro" name="GIMP_RGB_LUMINANCE_RED" link="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE-RED:CAPS"/> + <keyword type="macro" name="GIMP_RGB_LUMINANCE_GREEN" link="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE-GREEN:CAPS"/> + <keyword type="macro" name="GIMP_RGB_LUMINANCE_BLUE" link="libgimpcolor-GimpRGB.html#GIMP-RGB-LUMINANCE-BLUE:CAPS"/> + <keyword type="macro" name="GIMP_RGB_INTENSITY_RED" link="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-RED:CAPS" deprecated=""/> + <keyword type="macro" name="GIMP_RGB_INTENSITY_GREEN" link="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-GREEN:CAPS" deprecated=""/> + <keyword type="macro" name="GIMP_RGB_INTENSITY_BLUE" link="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-BLUE:CAPS" deprecated=""/> + <keyword type="macro" name="GIMP_TYPE_RGB" link="libgimpcolor-GimpRGB.html#GIMP-TYPE-RGB:CAPS"/> + <keyword type="macro" name="GIMP_TYPE_PARAM_RGB" link="libgimpcolor-GimpRGB.html#GIMP-TYPE-PARAM-RGB:CAPS"/> + <keyword type="function" name="gimp_hsv_set ()" link="libgimpcolor-GimpHSV.html#gimp-hsv-set"/> + <keyword type="function" name="gimp_hsv_clamp ()" link="libgimpcolor-GimpHSV.html#gimp-hsv-clamp"/> + <keyword type="function" name="gimp_hsva_set ()" link="libgimpcolor-GimpHSV.html#gimp-hsva-set"/> + <keyword type="function" name="gimp_hsl_set ()" link="libgimpcolor-GimpHSV.html#gimp-hsl-set" since="2.8"/> + <keyword type="function" name="gimp_hsl_set_alpha ()" link="libgimpcolor-GimpHSV.html#gimp-hsl-set-alpha" since="2.10"/> + <keyword type="struct" name="struct GimpHSV" link="libgimpcolor-GimpHSV.html#GimpHSV"/> + <keyword type="struct" name="struct GimpHSL" link="libgimpcolor-GimpHSV.html#GimpHSL"/> + <keyword type="macro" name="GIMP_TYPE_HSV" link="libgimpcolor-GimpHSV.html#GIMP-TYPE-HSV:CAPS"/> + <keyword type="macro" name="GIMP_TYPE_HSL" link="libgimpcolor-GimpHSV.html#GIMP-TYPE-HSL:CAPS"/> + <keyword type="function" name="gimp_cmyk_set ()" link="libgimpcolor-GimpCMYK.html#gimp-cmyk-set"/> + <keyword type="function" name="gimp_cmyk_set_uchar ()" link="libgimpcolor-GimpCMYK.html#gimp-cmyk-set-uchar"/> + <keyword type="function" name="gimp_cmyk_get_uchar ()" link="libgimpcolor-GimpCMYK.html#gimp-cmyk-get-uchar"/> + <keyword type="function" name="gimp_cmyka_set ()" link="libgimpcolor-GimpCMYK.html#gimp-cmyka-set"/> + <keyword type="function" name="gimp_cmyka_set_uchar ()" link="libgimpcolor-GimpCMYK.html#gimp-cmyka-set-uchar"/> + <keyword type="function" name="gimp_cmyka_get_uchar ()" link="libgimpcolor-GimpCMYK.html#gimp-cmyka-get-uchar"/> + <keyword type="struct" name="struct GimpCMYK" link="libgimpcolor-GimpCMYK.html#GimpCMYK"/> + <keyword type="macro" name="GIMP_TYPE_CMYK" link="libgimpcolor-GimpCMYK.html#GIMP-TYPE-CMYK:CAPS"/> + <keyword type="function" name="gimp_rgb_to_hsv ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsv"/> + <keyword type="function" name="gimp_rgb_to_hsl ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsl"/> + <keyword type="function" name="gimp_rgb_to_cmyk ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-cmyk"/> + <keyword type="function" name="gimp_hsv_to_rgb ()" link="libgimpcolor-GimpColorSpace.html#gimp-hsv-to-rgb"/> + <keyword type="function" name="gimp_hsl_to_rgb ()" link="libgimpcolor-GimpColorSpace.html#gimp-hsl-to-rgb"/> + <keyword type="function" name="gimp_cmyk_to_rgb ()" link="libgimpcolor-GimpColorSpace.html#gimp-cmyk-to-rgb"/> + <keyword type="function" name="gimp_rgb_to_hwb ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hwb" deprecated=""/> + <keyword type="function" name="gimp_hwb_to_rgb ()" link="libgimpcolor-GimpColorSpace.html#gimp-hwb-to-rgb" deprecated=""/> + <keyword type="function" name="gimp_rgb_to_hsv_int ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsv-int" deprecated=""/> + <keyword type="function" name="gimp_hsv_to_rgb_int ()" link="libgimpcolor-GimpColorSpace.html#gimp-hsv-to-rgb-int" deprecated=""/> + <keyword type="function" name="gimp_rgb_to_hsl_int ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsl-int" deprecated=""/> + <keyword type="function" name="gimp_rgb_to_cmyk_int ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-cmyk-int" deprecated=""/> + <keyword type="function" name="gimp_cmyk_to_rgb_int ()" link="libgimpcolor-GimpColorSpace.html#gimp-cmyk-to-rgb-int" deprecated=""/> + <keyword type="function" name="gimp_rgb_to_l_int ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-l-int" deprecated=""/> + <keyword type="function" name="gimp_hsl_to_rgb_int ()" link="libgimpcolor-GimpColorSpace.html#gimp-hsl-to-rgb-int" deprecated=""/> + <keyword type="function" name="gimp_rgb_to_hsv4 ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsv4" deprecated=""/> + <keyword type="function" name="gimp_hsv_to_rgb4 ()" link="libgimpcolor-GimpColorSpace.html#gimp-hsv-to-rgb4" deprecated=""/> + <keyword type="function" name="gimp_color_managed_get_icc_profile ()" link="GimpColorManaged.html#gimp-color-managed-get-icc-profile" since="2.4"/> + <keyword type="function" name="gimp_color_managed_get_color_profile ()" link="GimpColorManaged.html#gimp-color-managed-get-color-profile" since="2.10"/> + <keyword type="function" name="gimp_color_managed_profile_changed ()" link="GimpColorManaged.html#gimp-color-managed-profile-changed" since="2.4"/> + <keyword type="struct" name="GimpColorManaged" link="GimpColorManaged.html#GimpColorManaged-struct"/> + <keyword type="struct" name="struct GimpColorManagedInterface" link="GimpColorManaged.html#GimpColorManagedInterface"/> + <keyword type="signal" name="The “profile-changed” signal" link="GimpColorManaged.html#GimpColorManaged-profile-changed"/> + <keyword type="function" name="gimp_color_profile_new_rgb_srgb ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-rgb-srgb" since="2.10"/> + <keyword type="function" name="gimp_color_profile_new_rgb_srgb_linear ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-rgb-srgb-linear" since="2.10"/> + <keyword type="function" name="gimp_color_profile_new_rgb_adobe ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-rgb-adobe" since="2.10"/> + <keyword type="function" name="gimp_color_profile_new_d65_gray_srgb_trc ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-d65-gray-srgb-trc" since="2.10"/> + <keyword type="function" name="gimp_color_profile_new_d65_gray_linear ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-d65-gray-linear"/> + <keyword type="function" name="gimp_color_profile_new_d50_gray_lab_trc ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-d50-gray-lab-trc" since="2.10"/> + <keyword type="function" name="gimp_color_profile_new_srgb_trc_from_color_profile ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-srgb-trc-from-color-profile" since="2.10"/> + <keyword type="function" name="gimp_color_profile_new_linear_from_color_profile ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-linear-from-color-profile" since="2.10"/> + <keyword type="function" name="gimp_color_profile_new_from_file ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-from-file" since="2.10"/> + <keyword type="function" name="gimp_color_profile_new_from_icc_profile ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-from-icc-profile" since="2.10"/> + <keyword type="function" name="gimp_color_profile_new_from_lcms_profile ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-from-lcms-profile" since="2.10"/> + <keyword type="function" name="gimp_color_profile_save_to_file ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-save-to-file" since="2.10"/> + <keyword type="function" name="gimp_color_profile_get_icc_profile ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-icc-profile" since="2.10"/> + <keyword type="function" name="gimp_color_profile_get_lcms_profile ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-lcms-profile" since="2.10"/> + <keyword type="function" name="gimp_color_profile_get_description ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-description" since="2.10"/> + <keyword type="function" name="gimp_color_profile_get_manufacturer ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-manufacturer" since="2.10"/> + <keyword type="function" name="gimp_color_profile_get_model ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-model" since="2.10"/> + <keyword type="function" name="gimp_color_profile_get_copyright ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-copyright" since="2.10"/> + <keyword type="function" name="gimp_color_profile_get_label ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-label" since="2.10"/> + <keyword type="function" name="gimp_color_profile_get_summary ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-summary" since="2.10"/> + <keyword type="function" name="gimp_color_profile_is_equal ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-equal" since="2.10"/> + <keyword type="function" name="gimp_color_profile_is_rgb ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-rgb" since="2.10"/> + <keyword type="function" name="gimp_color_profile_is_gray ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-gray" since="2.10"/> + <keyword type="function" name="gimp_color_profile_is_cmyk ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-cmyk" since="2.10"/> + <keyword type="function" name="gimp_color_profile_is_linear ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-linear" since="2.10"/> + <keyword type="function" name="gimp_color_profile_get_space ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-space" since="2.10.6"/> + <keyword type="function" name="gimp_color_profile_get_format ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-format" since="2.10"/> + <keyword type="function" name="gimp_color_profile_get_lcms_format ()" link="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-lcms-format" since="2.10"/> + <keyword type="function" name="gimp_color_transform_new ()" link="libgimpcolor-GimpColorTransform.html#gimp-color-transform-new" since="2.10"/> + <keyword type="function" name="gimp_color_transform_new_proofing ()" link="libgimpcolor-GimpColorTransform.html#gimp-color-transform-new-proofing" since="2.10"/> + <keyword type="function" name="gimp_color_transform_process_pixels ()" link="libgimpcolor-GimpColorTransform.html#gimp-color-transform-process-pixels" since="2.10"/> + <keyword type="function" name="gimp_color_transform_process_buffer ()" link="libgimpcolor-GimpColorTransform.html#gimp-color-transform-process-buffer" since="2.10"/> + <keyword type="function" name="gimp_color_transform_can_gegl_copy ()" link="libgimpcolor-GimpColorTransform.html#gimp-color-transform-can-gegl-copy" since="2.10"/> + <keyword type="enum" name="enum GimpColorTransformFlags" link="libgimpcolor-GimpColorTransform.html#GimpColorTransformFlags"/> + <keyword type="function" name="GimpProgressFunc ()" link="libgimpcolor-GimpAdaptiveSupersample.html#GimpProgressFunc"/> + <keyword type="function" name="GimpPutPixelFunc ()" link="libgimpcolor-GimpAdaptiveSupersample.html#GimpPutPixelFunc"/> + <keyword type="function" name="GimpRenderFunc ()" link="libgimpcolor-GimpAdaptiveSupersample.html#GimpRenderFunc"/> + <keyword type="function" name="gimp_adaptive_supersample_area ()" link="libgimpcolor-GimpAdaptiveSupersample.html#gimp-adaptive-supersample-area"/> + <keyword type="function" name="gimp_bilinear ()" link="libgimpcolor-GimpBilinear.html#gimp-bilinear"/> + <keyword type="function" name="gimp_bilinear_8 ()" link="libgimpcolor-GimpBilinear.html#gimp-bilinear-8"/> + <keyword type="function" name="gimp_bilinear_16 ()" link="libgimpcolor-GimpBilinear.html#gimp-bilinear-16"/> + <keyword type="function" name="gimp_bilinear_32 ()" link="libgimpcolor-GimpBilinear.html#gimp-bilinear-32"/> + <keyword type="function" name="gimp_bilinear_rgb ()" link="libgimpcolor-GimpBilinear.html#gimp-bilinear-rgb"/> + <keyword type="function" name="gimp_bilinear_rgba ()" link="libgimpcolor-GimpBilinear.html#gimp-bilinear-rgba"/> + <keyword type="function" name="gimp_bilinear_pixels_8 ()" link="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8" deprecated=""/> + <keyword type="function" name="gimp_cairo_set_source_rgb ()" link="libgimpcolor-GimpCairo.html#gimp-cairo-set-source-rgb" since="2.6"/> + <keyword type="function" name="gimp_cairo_set_source_rgba ()" link="libgimpcolor-GimpCairo.html#gimp-cairo-set-source-rgba" since="2.6"/> + <keyword type="function" name="gimp_cairo_checkerboard_create ()" link="libgimpcolor-GimpCairo.html#gimp-cairo-checkerboard-create" since="2.6"/> + <keyword type="function" name="gimp_cairo_surface_get_format ()" link="libgimpcolor-GimpCairo.html#gimp-cairo-surface-get-format" since="2.10"/> + <keyword type="function" name="gimp_cairo_surface_create_buffer ()" link="libgimpcolor-GimpCairo.html#gimp-cairo-surface-create-buffer" since="2.10"/> + <keyword type="macro" name="GIMP_CAIRO_RGB24_SET_PIXEL()" link="libgimpcolor-GimpCairo.html#GIMP-CAIRO-RGB24-SET-PIXEL:CAPS" since="2.6"/> + <keyword type="macro" name="GIMP_CAIRO_RGB24_GET_PIXEL()" link="libgimpcolor-GimpCairo.html#GIMP-CAIRO-RGB24-GET-PIXEL:CAPS" since="2.8"/> + <keyword type="macro" name="GIMP_CAIRO_ARGB32_SET_PIXEL()" link="libgimpcolor-GimpCairo.html#GIMP-CAIRO-ARGB32-SET-PIXEL:CAPS" since="2.6"/> + <keyword type="macro" name="GIMP_CAIRO_ARGB32_GET_PIXEL()" link="libgimpcolor-GimpCairo.html#GIMP-CAIRO-ARGB32-GET-PIXEL:CAPS" since="2.8"/> + <keyword type="function" name="gimp_pixbuf_get_format ()" link="libgimpcolor-GimpPixbuf.html#gimp-pixbuf-get-format" since="2.10"/> + <keyword type="function" name="gimp_pixbuf_create_buffer ()" link="libgimpcolor-GimpPixbuf.html#gimp-pixbuf-create-buffer" since="2.10"/> + <keyword type="function" name="gimp_pixbuf_get_icc_profile ()" link="libgimpcolor-GimpPixbuf.html#gimp-pixbuf-get-icc-profile" since="2.10"/> + <keyword type="constant" name="GIMP_RGB_COMPOSITE_NONE" link="libgimpcolor-GimpRGB.html#GIMP-RGB-COMPOSITE-NONE:CAPS"/> + <keyword type="constant" name="GIMP_RGB_COMPOSITE_NORMAL" link="libgimpcolor-GimpRGB.html#GIMP-RGB-COMPOSITE-NORMAL:CAPS"/> + <keyword type="constant" name="GIMP_RGB_COMPOSITE_BEHIND" link="libgimpcolor-GimpRGB.html#GIMP-RGB-COMPOSITE-BEHIND:CAPS"/> + <keyword type="constant" name="GIMP_COLOR_TRANSFORM_FLAGS_NOOPTIMIZE" link="libgimpcolor-GimpColorTransform.html#GIMP-COLOR-TRANSFORM-FLAGS-NOOPTIMIZE:CAPS"/> + <keyword type="constant" name="GIMP_COLOR_TRANSFORM_FLAGS_GAMUT_CHECK" link="libgimpcolor-GimpColorTransform.html#GIMP-COLOR-TRANSFORM-FLAGS-GAMUT-CHECK:CAPS"/> + <keyword type="constant" name="GIMP_COLOR_TRANSFORM_FLAGS_BLACK_POINT_COMPENSATION" link="libgimpcolor-GimpColorTransform.html#GIMP-COLOR-TRANSFORM-FLAGS-BLACK-POINT-COMPENSATION:CAPS"/> + <keyword type="member" name="GimpRGB.r" link="libgimpcolor-GimpRGB.html#GimpRGB.r"/> + <keyword type="member" name="GimpRGB.g" link="libgimpcolor-GimpRGB.html#GimpRGB.g"/> + <keyword type="member" name="GimpRGB.b" link="libgimpcolor-GimpRGB.html#GimpRGB.b"/> + <keyword type="member" name="GimpRGB.a" link="libgimpcolor-GimpRGB.html#GimpRGB.a"/> + <keyword type="member" name="GimpHSV.h" link="libgimpcolor-GimpHSV.html#GimpHSV.h"/> + <keyword type="member" name="GimpHSV.s" link="libgimpcolor-GimpHSV.html#GimpHSV.s"/> + <keyword type="member" name="GimpHSV.v" link="libgimpcolor-GimpHSV.html#GimpHSV.v"/> + <keyword type="member" name="GimpHSV.a" link="libgimpcolor-GimpHSV.html#GimpHSV.a"/> + <keyword type="member" name="GimpHSL.h" link="libgimpcolor-GimpHSV.html#GimpHSL.h"/> + <keyword type="member" name="GimpHSL.s" link="libgimpcolor-GimpHSV.html#GimpHSL.s"/> + <keyword type="member" name="GimpHSL.l" link="libgimpcolor-GimpHSV.html#GimpHSL.l"/> + <keyword type="member" name="GimpHSL.a" link="libgimpcolor-GimpHSV.html#GimpHSL.a"/> + <keyword type="member" name="GimpCMYK.c" link="libgimpcolor-GimpCMYK.html#GimpCMYK.c"/> + <keyword type="member" name="GimpCMYK.m" link="libgimpcolor-GimpCMYK.html#GimpCMYK.m"/> + <keyword type="member" name="GimpCMYK.y" link="libgimpcolor-GimpCMYK.html#GimpCMYK.y"/> + <keyword type="member" name="GimpCMYK.k" link="libgimpcolor-GimpCMYK.html#GimpCMYK.k"/> + <keyword type="member" name="GimpCMYK.a" link="libgimpcolor-GimpCMYK.html#GimpCMYK.a"/> + <keyword type="member" name="GimpColorManagedInterface.base-iface" link="GimpColorManaged.html#GimpColorManagedInterface.base-iface"/> + <keyword type="member" name="GimpColorManagedInterface.get-icc-profile" link="GimpColorManaged.html#GimpColorManagedInterface.get-icc-profile"/> + <keyword type="member" name="GimpColorManagedInterface.profile-changed" link="GimpColorManaged.html#GimpColorManagedInterface.profile-changed"/> + <keyword type="member" name="GimpColorManagedInterface.get-color-profile" link="GimpColorManaged.html#GimpColorManagedInterface.get-color-profile"/> + </functions> +</book> diff --git a/devel-docs/libgimpcolor/html/pt01.html b/devel-docs/libgimpcolor/html/pt01.html new file mode 100644 index 0000000..e651ad4 --- /dev/null +++ b/devel-docs/libgimpcolor/html/pt01.html @@ -0,0 +1,69 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>Part I. GIMP Color Library: GIMP Color Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="up" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="prev" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="next" href="libgimpcolor-GimpRGB.html" title="GimpRGB"> +<meta name="generator" content="GTK-Doc V1.33.1 (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="5"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> +<td><img src="up-insensitive.png" width="16" height="16" border="0"></td> +<td><a accesskey="p" href="index.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<td><a accesskey="n" href="libgimpcolor-GimpRGB.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +</tr></table> +<div class="part"> +<div class="titlepage"><div><div><h1 class="title"> +<a name="id-1.2"></a>Part I. GIMP Color Library</h1></div></div></div> +<div class="toc"> +<p><b>Table of Contents</b></p> +<dl class="toc"> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpRGB.html">GimpRGB</a></span><span class="refpurpose"> — Definitions and Functions relating to RGB colors.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpHSV.html">GimpHSV</a></span><span class="refpurpose"> — Definitions and Functions relating to HSV colors.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpCMYK.html">GimpCMYK</a></span><span class="refpurpose"> — Definitions and Functions relating to CMYK colors.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpColorSpace.html">GimpColorSpace</a></span><span class="refpurpose"> — Utility functions which convert colors between +different color models.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="GimpColorManaged.html">GimpColorManaged</a></span><span class="refpurpose"> — An interface dealing with color profiles.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpColorProfile.html">GimpColorProfile</a></span><span class="refpurpose"> — Definitions and Functions relating to LCMS.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpColorTransform.html">GimpColorTransform</a></span><span class="refpurpose"> — Definitions and Functions relating to LCMS.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpAdaptiveSupersample.html">GimpAdaptiveSupersample</a></span><span class="refpurpose"> — Functions to perform adaptive supersampling on +an area.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpBilinear.html">GimpBilinear</a></span><span class="refpurpose"> — Utility functions for bilinear interpolation.</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpCairo.html">GimpCairo</a></span><span class="refpurpose"> — Color utility functions for cairo</span> +</dt> +<dt> +<span class="refentrytitle"><a href="libgimpcolor-GimpPixbuf.html">GimpPixbuf</a></span><span class="refpurpose"> — Definitions and Functions relating to GdkPixbuf.</span> +</dt> +</dl> +</div> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html>
\ No newline at end of file diff --git a/devel-docs/libgimpcolor/html/right-insensitive.png b/devel-docs/libgimpcolor/html/right-insensitive.png Binary files differnew file mode 100644 index 0000000..763208d --- /dev/null +++ b/devel-docs/libgimpcolor/html/right-insensitive.png diff --git a/devel-docs/libgimpcolor/html/right.png b/devel-docs/libgimpcolor/html/right.png Binary files differnew file mode 100644 index 0000000..eb90dd4 --- /dev/null +++ b/devel-docs/libgimpcolor/html/right.png diff --git a/devel-docs/libgimpcolor/html/style.css b/devel-docs/libgimpcolor/html/style.css new file mode 100644 index 0000000..41781ba --- /dev/null +++ b/devel-docs/libgimpcolor/html/style.css @@ -0,0 +1,530 @@ +body +{ + font-family: cantarell, sans-serif; +} +.synopsis, .classsynopsis +{ + /* tango:aluminium 1/2 */ + background: #eeeeec; + background: rgba(238, 238, 236, 0.5); + border: solid 1px rgb(238, 238, 236); + padding: 0.5em; +} +.programlisting +{ + /* tango:sky blue 0/1 */ + /* fallback for no rgba support */ + background: #e6f3ff; + border: solid 1px #729fcf; + background: rgba(114, 159, 207, 0.1); + border: solid 1px rgba(114, 159, 207, 0.2); + padding: 0.5em; +} +.variablelist +{ + padding: 4px; + margin-left: 3em; +} +.variablelist td:first-child +{ + vertical-align: top; +} + +span.nowrap { + white-space: nowrap; +} + +div.gallery-float +{ + float: left; + padding: 10px; +} +div.gallery-float img +{ + border-style: none; +} +div.gallery-spacer +{ + clear: both; +} + +a, a:visited +{ + text-decoration: none; + /* tango:sky blue 2 */ + color: #3465a4; +} +a:hover +{ + text-decoration: underline; + /* tango:sky blue 1 */ + color: #729fcf; +} + +.function_type, +.variable_type, +.property_type, +.signal_type, +.parameter_name, +.struct_member_name, +.union_member_name, +.define_keyword, +.datatype_keyword, +.typedef_keyword +{ + text-align: right; +} + +/* dim non-primary columns */ +.c_punctuation, +.function_type, +.variable_type, +.property_type, +.signal_type, +.define_keyword, +.datatype_keyword, +.typedef_keyword, +.property_flags, +.signal_flags, +.parameter_annotations, +.enum_member_annotations, +.struct_member_annotations, +.union_member_annotations +{ + color: #888a85; +} + +.function_type a, +.function_type a:visited, +.function_type a:hover, +.property_type a, +.property_type a:visited, +.property_type a:hover, +.signal_type a, +.signal_type a:visited, +.signal_type a:hover, +.signal_flags a, +.signal_flags a:visited, +.signal_flags a:hover +{ + color: #729fcf; +} + +td p +{ + margin: 0.25em; +} + +div.informaltable table[border="1"], +div.table table +{ + border-collapse: collapse; + border-spacing: 0px; + /* tango:aluminium 3 */ + border: solid 1px #babdb6; +} + +div.informaltable table[border="1"] td, +div.informaltable table th, +div.table table td, div.table table th +{ + /* tango:aluminium 3 */ + border: solid 1px #babdb6; + padding: 3px; + vertical-align: top; +} + +div.informaltable table[border="1"] th, +div.table table th +{ + /* tango:aluminium 2 */ + background-color: #d3d7cf; +} + +h4 +{ + color: #555753; + margin-top: 1em; + margin-bottom: 1em; +} + +hr +{ + /* tango:aluminium 1 */ + color: #d3d7cf; + background: #d3d7cf; + border: none 0px; + height: 1px; + clear: both; + margin: 2.0em 0em 2.0em 0em; +} + +dl.toc dt +{ + padding-bottom: 0.25em; +} + +dl.toc > dt +{ + padding-top: 0.25em; + padding-bottom: 0.25em; + font-weight: bold; +} + +dl.toc > dl +{ + padding-bottom: 0.5em; +} + +.parameter +{ + font-style: normal; +} + +.footer +{ + padding-top: 3.5em; + /* tango:aluminium 3 */ + color: #babdb6; + text-align: center; + font-size: 80%; +} + +.informalfigure, +.figure +{ + margin: 1em; +} + +.informalexample, +.example +{ + margin-top: 1em; + margin-bottom: 1em; +} + +.warning +{ + /* tango:orange 0/1 */ + background: #ffeed9; + background: rgba(252, 175, 62, 0.1); + border-color: #ffb04f; + border-color: rgba(252, 175, 62, 0.2); +} +.note +{ + /* tango:chameleon 0/0.5 */ + background: #d8ffb2; + background: rgba(138, 226, 52, 0.1); + border-color: #abf562; + border-color: rgba(138, 226, 52, 0.2); +} +div.blockquote +{ + border-color: #eeeeec; +} +.note, .warning, div.blockquote +{ + padding: 0.5em; + border-width: 1px; + border-style: solid; + margin: 2em; +} +.note p, .warning p +{ + margin: 0; +} + +div.warning h3.title, +div.note h3.title +{ + display: none; +} + +p + div.section +{ + margin-top: 1em; +} + +div.refnamediv, +div.refsynopsisdiv, +div.refsect1, +div.refsect2, +div.toc, +div.section +{ + margin-bottom: 1em; +} + +/* blob links */ +h2 .extralinks, h3 .extralinks +{ + float: right; + /* tango:aluminium 3 */ + color: #babdb6; + font-size: 80%; + font-weight: normal; +} + +.lineart +{ + color: #d3d7cf; + font-weight: normal; +} + +.annotation +{ + /* tango:aluminium 5 */ + color: #555753; + font-weight: normal; +} + +.structfield +{ + font-style: normal; + font-weight: normal; +} + +acronym,abbr +{ + border-bottom: 1px dotted gray; +} + +.listing_frame { + /* tango:sky blue 1 */ + border: solid 1px #729fcf; + border: solid 1px rgba(114, 159, 207, 0.2); + padding: 0px; +} + +.listing_lines, .listing_code { + margin-top: 0px; + margin-bottom: 0px; + padding: 0.5em; +} +.listing_lines { + /* tango:sky blue 0.5 */ + background: #a6c5e3; + background: rgba(114, 159, 207, 0.2); + /* tango:aluminium 6 */ + color: #2e3436; +} +.listing_code { + /* tango:sky blue 0 */ + background: #e6f3ff; + background: rgba(114, 159, 207, 0.1); +} +.listing_code .programlisting { + /* override from previous */ + border: none 0px; + padding: 0px; + background: none; +} +.listing_lines pre, .listing_code pre { + margin: 0px; +} + +@media screen { + /* these have a <sup> as a first child, but since there are no parent selectors + * we can't use that. */ + a.footnote + { + position: relative; + top: 0em ! important; + } + /* this is needed so that the local anchors are displayed below the naviagtion */ + div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name] + { + display: inline-block; + position: relative; + top:-5em; + } + /* this seems to be a bug in the xsl style sheets when generating indexes */ + div.index div.index + { + top: 0em; + } + /* make space for the fixed navigation bar and add space at the bottom so that + * link targets appear somewhat close to top + */ + body + { + padding-top: 2.5em; + padding-bottom: 500px; + max-width: 60em; + } + p + { + max-width: 60em; + } + /* style and size the navigation bar */ + table.navigation#top + { + position: fixed; + background: #e2e2e2; + border-bottom: solid 1px #babdb6; + border-spacing: 5px; + margin-top: 0; + margin-bottom: 0; + top: 0; + left: 0; + z-index: 10; + } + table.navigation#top td + { + padding-left: 6px; + padding-right: 6px; + } + .navigation a, .navigation a:visited + { + /* tango:sky blue 3 */ + color: #204a87; + } + .navigation a:hover + { + /* tango:sky blue 2 */ + color: #3465a4; + } + td.shortcuts + { + /* tango:sky blue 2 */ + color: #3465a4; + font-size: 80%; + white-space: nowrap; + } + td.shortcuts .dim + { + color: #babdb6; + } + .navigation .title + { + font-size: 80%; + max-width: none; + margin: 0px; + font-weight: normal; + } +} +@media screen and (min-width: 60em) { + /* screen larger than 60em */ + body { margin: auto; } +} +@media screen and (max-width: 60em) { + /* screen less than 60em */ + #nav_hierarchy { display: none; } + #nav_interfaces { display: none; } + #nav_prerequisites { display: none; } + #nav_derived_interfaces { display: none; } + #nav_implementations { display: none; } + #nav_child_properties { display: none; } + #nav_style_properties { display: none; } + #nav_index { display: none; } + #nav_glossary { display: none; } + .gallery_image { display: none; } + .property_flags { display: none; } + .signal_flags { display: none; } + .parameter_annotations { display: none; } + .enum_member_annotations { display: none; } + .struct_member_annotations { display: none; } + .union_member_annotations { display: none; } + /* now that a column is hidden, optimize space */ + col.parameters_name { width: auto; } + col.parameters_description { width: auto; } + col.struct_members_name { width: auto; } + col.struct_members_description { width: auto; } + col.enum_members_name { width: auto; } + col.enum_members_description { width: auto; } + col.union_members_name { width: auto; } + col.union_members_description { width: auto; } + .listing_lines { display: none; } +} +@media print { + table.navigation { + visibility: collapse; + display: none; + } + div.titlepage table.navigation { + visibility: visible; + display: table; + background: #e2e2e2; + border: solid 1px #babdb6; + margin-top: 0; + margin-bottom: 0; + top: 0; + left: 0; + height: 3em; + } +} + +pre { line-height: 125%; margin: 0; } +td.linenos pre { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; } +span.linenos { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; } +td.linenos pre.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; } +span.linenos.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; } +.hll { background-color: #ffffcc } +.c { color: #408080; font-style: italic } /* Comment */ +.err { border: 1px solid #FF0000 } /* Error */ +.k { color: #008000; font-weight: bold } /* Keyword */ +.o { color: #666666 } /* Operator */ +.ch { color: #408080; font-style: italic } /* Comment.Hashbang */ +.cm { color: #408080; font-style: italic } /* Comment.Multiline */ +.cp { color: #BC7A00 } /* Comment.Preproc */ +.cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */ +.c1 { color: #408080; font-style: italic } /* Comment.Single */ +.cs { color: #408080; font-style: italic } /* Comment.Special */ +.gd { color: #A00000 } /* Generic.Deleted */ +.ge { font-style: italic } /* Generic.Emph */ +.gr { color: #FF0000 } /* Generic.Error */ +.gh { color: #000080; font-weight: bold } /* Generic.Heading */ +.gi { color: #00A000 } /* Generic.Inserted */ +.go { color: #888888 } /* Generic.Output */ +.gp { color: #000080; font-weight: bold } /* Generic.Prompt */ +.gs { font-weight: bold } /* Generic.Strong */ +.gu { color: #800080; font-weight: bold } /* Generic.Subheading */ +.gt { color: #0044DD } /* Generic.Traceback */ +.kc { color: #008000; font-weight: bold } /* Keyword.Constant */ +.kd { color: #008000; font-weight: bold } /* Keyword.Declaration */ +.kn { color: #008000; font-weight: bold } /* Keyword.Namespace */ +.kp { color: #008000 } /* Keyword.Pseudo */ +.kr { color: #008000; font-weight: bold } /* Keyword.Reserved */ +.kt { color: #B00040 } /* Keyword.Type */ +.m { color: #666666 } /* Literal.Number */ +.s { color: #BA2121 } /* Literal.String */ +.na { color: #7D9029 } /* Name.Attribute */ +.nb { color: #008000 } /* Name.Builtin */ +.nc { color: #0000FF; font-weight: bold } /* Name.Class */ +.no { color: #880000 } /* Name.Constant */ +.nd { color: #AA22FF } /* Name.Decorator */ +.ni { color: #999999; font-weight: bold } /* Name.Entity */ +.ne { color: #D2413A; font-weight: bold } /* Name.Exception */ +.nf { color: #0000FF } /* Name.Function */ +.nl { color: #A0A000 } /* Name.Label */ +.nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ +.nt { color: #008000; font-weight: bold } /* Name.Tag */ +.nv { color: #19177C } /* Name.Variable */ +.ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ +.w { color: #bbbbbb } /* Text.Whitespace */ +.mb { color: #666666 } /* Literal.Number.Bin */ +.mf { color: #666666 } /* Literal.Number.Float */ +.mh { color: #666666 } /* Literal.Number.Hex */ +.mi { color: #666666 } /* Literal.Number.Integer */ +.mo { color: #666666 } /* Literal.Number.Oct */ +.sa { color: #BA2121 } /* Literal.String.Affix */ +.sb { color: #BA2121 } /* Literal.String.Backtick */ +.sc { color: #BA2121 } /* Literal.String.Char */ +.dl { color: #BA2121 } /* Literal.String.Delimiter */ +.sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */ +.s2 { color: #BA2121 } /* Literal.String.Double */ +.se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ +.sh { color: #BA2121 } /* Literal.String.Heredoc */ +.si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ +.sx { color: #008000 } /* Literal.String.Other */ +.sr { color: #BB6688 } /* Literal.String.Regex */ +.s1 { color: #BA2121 } /* Literal.String.Single */ +.ss { color: #19177C } /* Literal.String.Symbol */ +.bp { color: #008000 } /* Name.Builtin.Pseudo */ +.fm { color: #0000FF } /* Name.Function.Magic */ +.vc { color: #19177C } /* Name.Variable.Class */ +.vg { color: #19177C } /* Name.Variable.Global */ +.vi { color: #19177C } /* Name.Variable.Instance */ +.vm { color: #19177C } /* Name.Variable.Magic */ +.il { color: #666666 } /* Literal.Number.Integer.Long */
\ No newline at end of file diff --git a/devel-docs/libgimpcolor/html/up-insensitive.png b/devel-docs/libgimpcolor/html/up-insensitive.png Binary files differnew file mode 100644 index 0000000..478700c --- /dev/null +++ b/devel-docs/libgimpcolor/html/up-insensitive.png diff --git a/devel-docs/libgimpcolor/html/up.png b/devel-docs/libgimpcolor/html/up.png Binary files differnew file mode 100644 index 0000000..636d50d --- /dev/null +++ b/devel-docs/libgimpcolor/html/up.png diff --git a/devel-docs/libgimpcolor/libgimpcolor-docs.sgml b/devel-docs/libgimpcolor/libgimpcolor-docs.sgml new file mode 100644 index 0000000..b9be0dd --- /dev/null +++ b/devel-docs/libgimpcolor/libgimpcolor-docs.sgml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook XML V4.5//EN' + 'http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd'> + +<book lang="en" id="libgimpcolor" xmlns:xi="http://www.w3.org/2003/XInclude"> + + <bookinfo> + <title>GIMP Color Library Reference Manual</title> + <releaseinfo> + for GIMP <xi:include href="version" parse="text"/> + </releaseinfo> + </bookinfo> + + <part> + <title>GIMP Color Library</title> + <xi:include href="xml/gimprgb.xml" /> + <xi:include href="xml/gimphsv.xml" /> + <xi:include href="xml/gimpcmyk.xml" /> + <xi:include href="xml/gimpcolorspace.xml" /> + <xi:include href="xml/gimpcolormanaged.xml" /> + <xi:include href="xml/gimpcolorprofile.xml" /> + <xi:include href="xml/gimpcolortransform.xml" /> + <xi:include href="xml/gimpadaptivesupersample.xml" /> + <xi:include href="xml/gimpbilinear.xml" /> + <xi:include href="xml/gimpcairo.xml" /> + <xi:include href="xml/gimppixbuf.xml" /> + </part> + + <index id="api-index-full"> + <title>Index</title> + <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include> + </index> + <index role="2.2" id="api-index-2-2"> + <title>Index of new symbols in GIMP 2.2</title> + <xi:include href="xml/api-index-2.2.xml"><xi:fallback /></xi:include> + </index> + <index role="2.4" id="api-index-2-4"> + <title>Index of new symbols in GIMP 2.4</title> + <xi:include href="xml/api-index-2.4.xml"><xi:fallback /></xi:include> + </index> + <index role="2.6" id="api-index-2-6"> + <title>Index of new symbols in GIMP 2.6</title> + <xi:include href="xml/api-index-2.6.xml"><xi:fallback /></xi:include> + </index> + <index role="2.8" id="api-index-2-8"> + <title>Index of new symbols in GIMP 2.8</title> + <xi:include href="xml/api-index-2.8.xml"><xi:fallback /></xi:include> + </index> + <index role="2.10" id="api-index-2-10"> + <title>Index of new symbols in GIMP 2.10</title> + <xi:include href="xml/api-index-2.10.xml"><xi:fallback /></xi:include> + </index> + <index role="deprecated" id="api-index-deprecated"> + <title>Index of deprecated symbols</title> + <xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include> + </index> + +</book> diff --git a/devel-docs/libgimpcolor/libgimpcolor-overrides.txt b/devel-docs/libgimpcolor/libgimpcolor-overrides.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/devel-docs/libgimpcolor/libgimpcolor-overrides.txt diff --git a/devel-docs/libgimpcolor/libgimpcolor-sections.txt b/devel-docs/libgimpcolor/libgimpcolor-sections.txt new file mode 100644 index 0000000..0549493 --- /dev/null +++ b/devel-docs/libgimpcolor/libgimpcolor-sections.txt @@ -0,0 +1,238 @@ +<SECTION> +<FILE>gimpcmyk</FILE> +<TITLE>GimpCMYK</TITLE> +GimpCMYK +gimp_cmyk_set +gimp_cmyk_set_uchar +gimp_cmyk_get_uchar +gimp_cmyka_set +gimp_cmyka_set_uchar +gimp_cmyka_get_uchar +GIMP_TYPE_CMYK +<SUBSECTION Standard> +gimp_cmyk_get_type +</SECTION> + +<SECTION> +<FILE>gimphsv</FILE> +<TITLE>GimpHSV</TITLE> +GimpHSV +GimpHSL +gimp_hsv_set +gimp_hsv_clamp +gimp_hsva_set +gimp_hsl_set +gimp_hsl_set_alpha +GIMP_TYPE_HSV +GIMP_TYPE_HSL +<SUBSECTION Standard> +gimp_hsv_get_type +gimp_hsl_get_type +</SECTION> + +<SECTION> +<FILE>gimppixbuf</FILE> +gimp_pixbuf_get_format +gimp_pixbuf_create_buffer +gimp_pixbuf_get_icc_profile +</SECTION> + +<SECTION> +<FILE>gimprgb</FILE> +<TITLE>GimpRGB</TITLE> +GimpRGB +GimpRGBCompositeMode +gimp_rgb_set +gimp_rgb_set_alpha +gimp_rgb_set_pixel +gimp_rgb_get_pixel +gimp_rgb_set_uchar +gimp_rgb_get_uchar +gimp_rgb_parse_name +gimp_rgb_parse_hex +gimp_rgb_parse_css +gimp_rgb_list_names +gimp_rgb_add +gimp_rgb_subtract +gimp_rgb_multiply +gimp_rgb_distance +gimp_rgb_max +gimp_rgb_min +gimp_rgb_clamp +gimp_rgb_gamma +gimp_rgb_luminance +gimp_rgb_luminance_uchar +gimp_rgb_intensity +gimp_rgb_intensity_uchar +gimp_rgb_composite +gimp_rgba_set +gimp_rgba_set_pixel +gimp_rgba_get_pixel +gimp_rgba_set_uchar +gimp_rgba_get_uchar +gimp_rgba_parse_css +gimp_rgba_add +gimp_rgba_subtract +gimp_rgba_multiply +gimp_rgba_distance +GIMP_RGB_LUMINANCE +GIMP_RGB_LUMINANCE_RED +GIMP_RGB_LUMINANCE_GREEN +GIMP_RGB_LUMINANCE_BLUE +GIMP_RGB_INTENSITY +GIMP_RGB_INTENSITY_RED +GIMP_RGB_INTENSITY_GREEN +GIMP_RGB_INTENSITY_BLUE +GIMP_TYPE_RGB +GIMP_TYPE_PARAM_RGB +gimp_param_spec_rgb +gimp_param_spec_rgb_get_default +gimp_param_spec_rgb_has_alpha +GIMP_VALUE_HOLDS_RGB +gimp_value_get_rgb +gimp_value_set_rgb +<SUBSECTION Standard> +GIMP_IS_PARAM_SPEC_RGB +gimp_param_rgb_get_type +gimp_rgb_get_type +</SECTION> + +<SECTION> +<FILE>gimpcolorspace</FILE> +<TITLE>GimpColorSpace</TITLE> +gimp_rgb_to_hsv +gimp_rgb_to_hsl +gimp_rgb_to_cmyk +gimp_hsv_to_rgb +gimp_hsl_to_rgb +gimp_cmyk_to_rgb +gimp_rgb_to_hwb +gimp_hwb_to_rgb +gimp_rgb_to_hsv_int +gimp_hsv_to_rgb_int +gimp_rgb_to_hsl_int +gimp_rgb_to_cmyk_int +gimp_cmyk_to_rgb_int +gimp_rgb_to_l_int +gimp_hsl_to_rgb_int +gimp_rgb_to_hsv4 +gimp_hsv_to_rgb4 +</SECTION> + +<SECTION> +<FILE>gimpcolormanaged</FILE> +<TITLE>GimpColorManaged</TITLE> +GimpColorManaged +GimpColorManagedInterface +gimp_color_managed_get_icc_profile +gimp_color_managed_get_color_profile +gimp_color_managed_profile_changed +<SUBSECTION Standard> +GIMP_COLOR_MANAGED +GIMP_IS_COLOR_MANAGED +GIMP_TYPE_COLOR_MANAGED +GIMP_COLOR_MANAGED_GET_INTERFACE +gimp_color_managed_get_type +gimp_color_managed_interface_get_type +</SECTION> + +<SECTION> +<FILE>gimpcolorprofile</FILE> +<TITLE>GimpColorProfile</TITLE> +gimp_color_profile_new_rgb_srgb +gimp_color_profile_new_rgb_srgb_linear +gimp_color_profile_new_rgb_adobe +gimp_color_profile_new_d65_gray_srgb_trc +gimp_color_profile_new_d65_gray_linear +gimp_color_profile_new_d50_gray_lab_trc +gimp_color_profile_new_srgb_trc_from_color_profile +gimp_color_profile_new_linear_from_color_profile +gimp_color_profile_new_from_file +gimp_color_profile_new_from_icc_profile +gimp_color_profile_new_from_lcms_profile +gimp_color_profile_save_to_file +gimp_color_profile_get_icc_profile +gimp_color_profile_get_lcms_profile +gimp_color_profile_get_description +gimp_color_profile_get_manufacturer +gimp_color_profile_get_model +gimp_color_profile_get_copyright +gimp_color_profile_get_label +gimp_color_profile_get_summary +gimp_color_profile_is_equal +gimp_color_profile_is_rgb +gimp_color_profile_is_gray +gimp_color_profile_is_cmyk +gimp_color_profile_is_linear +gimp_color_profile_get_space +gimp_color_profile_get_format +gimp_color_profile_get_lcms_format +<SUBSECTION Standard> +GIMP_COLOR_PROFILE +GIMP_COLOR_PROFILE_CLASS +GIMP_COLOR_PROFILE_GET_CLASS +GIMP_IS_COLOR_PROFILE +GIMP_IS_COLOR_PROFILE_CLASS +GIMP_TYPE_COLOR_PROFILE +GimpColorProfile +GimpColorProfileClass +GimpColorProfilePrivate +gimp_color_profile_get_type +</SECTION> + +<SECTION> +<FILE>gimpcolortransform</FILE> +<TITLE>GimpColorTransform</TITLE> +GimpColorTransformFlags +gimp_color_transform_new +gimp_color_transform_new_proofing +gimp_color_transform_process_pixels +gimp_color_transform_process_buffer +gimp_color_transform_can_gegl_copy +<SUBSECTION Standard> +GIMP_COLOR_TRANSFORM +GIMP_COLOR_TRANSFORM_CLASS +GIMP_COLOR_TRANSFORM_GET_CLASS +GIMP_IS_COLOR_TRANSFORM +GIMP_IS_COLOR_TRANSFORM_CLASS +GIMP_TYPE_COLOR_TRANSFORM +GimpColorTransform +GimpColorTransformClass +GimpColorTransformPrivate +gimp_color_transform_get_type +</SECTION> + +<SECTION> +<FILE>gimpadaptivesupersample</FILE> +<TITLE>GimpAdaptiveSupersample</TITLE> +GimpProgressFunc +GimpPutPixelFunc +GimpRenderFunc +gimp_adaptive_supersample_area +</SECTION> + +<SECTION> +<FILE>gimpbilinear</FILE> +<TITLE>GimpBilinear</TITLE> +gimp_bilinear +gimp_bilinear_8 +gimp_bilinear_16 +gimp_bilinear_32 +gimp_bilinear_rgb +gimp_bilinear_rgba +gimp_bilinear_pixels_8 +</SECTION> + +<SECTION> +<FILE>gimpcairo</FILE> +<TITLE>GimpCairo</TITLE> +gimp_cairo_set_source_rgb +gimp_cairo_set_source_rgba +gimp_cairo_checkerboard_create +gimp_cairo_surface_get_format +gimp_cairo_surface_create_buffer +GIMP_CAIRO_RGB24_SET_PIXEL +GIMP_CAIRO_RGB24_GET_PIXEL +GIMP_CAIRO_ARGB32_SET_PIXEL +GIMP_CAIRO_ARGB32_GET_PIXEL +</SECTION> diff --git a/devel-docs/libgimpcolor/libgimpcolor.types b/devel-docs/libgimpcolor/libgimpcolor.types new file mode 100644 index 0000000..fa366ac --- /dev/null +++ b/devel-docs/libgimpcolor/libgimpcolor.types @@ -0,0 +1 @@ +gimp_color_managed_get_type diff --git a/devel-docs/libgimpcolor/version.in b/devel-docs/libgimpcolor/version.in new file mode 100644 index 0000000..9e02d6e --- /dev/null +++ b/devel-docs/libgimpcolor/version.in @@ -0,0 +1 @@ +@GIMP_VERSION@ |