color-profile-fns.h revision 00f7468e6760929095a0da8a3e685082813f77f7
#ifndef SEEN_COLOR_PROFILE_FNS_H
#define SEEN_COLOR_PROFILE_FNS_H
/** \file
* Macros and fn declarations related to linear gradients.
*/
#include <glib-object.h>
#include <glib/gtypes.h>
#if ENABLE_LCMS
#include <vector>
#include <glibmm/ustring.h>
#include <lcms.h>
#endif // ENABLE_LCMS
class SPDocument;
namespace Inkscape {
namespace XML {
class Node;
} // namespace XML
class ColorProfile;
GType colorprofile_get_type();
#if ENABLE_LCMS
cmsHPROFILE colorprofile_get_handle( SPDocument* document, guint* intent, gchar const* name );
cmsHTRANSFORM colorprofile_get_display_transform();
Glib::ustring colorprofile_get_display_id( int screen, int monitor );
Glib::ustring colorprofile_set_display_per( gpointer buf, guint bufLen, int screen, int monitor );
cmsHTRANSFORM colorprofile_get_display_per( Glib::ustring const& id );
std::vector<Glib::ustring> colorprofile_get_display_names();
std::vector<Glib::ustring> colorprofile_get_softproof_names();
Glib::ustring get_path_for_profile(Glib::ustring const& name);
#endif
} // namespace Inkscape
#define COLORPROFILE_TYPE (Inkscape::colorprofile_get_type())
#define COLORPROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), COLORPROFILE_TYPE, Inkscape::ColorProfile))
#define COLORPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), COLORPROFILE_TYPE, Inkscape::ColorProfileClass))
#define IS_COLORPROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), COLORPROFILE_TYPE))
#define IS_COLORPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), COLORPROFILE_TYPE))
#endif // !SEEN_COLOR_PROFILE_FNS_H
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :