1
#ifndef SEEN_COLOR_PROFILE_FNS_H
2
#define SEEN_COLOR_PROFILE_FNS_H
5
* Macros and fn declarations related to linear gradients.
8
#include <glib-object.h>
9
#include <glib/gtypes.h>
12
#include <glibmm/ustring.h>
26
GType colorprofile_get_type();
30
cmsHPROFILE colorprofile_get_handle( SPDocument* document, guint* intent, gchar const* name );
31
cmsHTRANSFORM colorprofile_get_display_transform();
33
Glib::ustring colorprofile_get_display_id( int screen, int monitor );
34
Glib::ustring colorprofile_set_display_per( gpointer buf, guint bufLen, int screen, int monitor );
35
cmsHTRANSFORM colorprofile_get_display_per( Glib::ustring const& id );
37
std::vector<Glib::ustring> colorprofile_get_display_names();
38
std::vector<Glib::ustring> colorprofile_get_softproof_names();
40
Glib::ustring get_path_for_profile(Glib::ustring const& name);
44
} // namespace Inkscape
46
#define COLORPROFILE_TYPE (Inkscape::colorprofile_get_type())
47
#define COLORPROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), COLORPROFILE_TYPE, Inkscape::ColorProfile))
48
#define COLORPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), COLORPROFILE_TYPE, Inkscape::ColorProfileClass))
49
#define IS_COLORPROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), COLORPROFILE_TYPE))
50
#define IS_COLORPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), COLORPROFILE_TYPE))
53
#endif // !SEEN_COLOR_PROFILE_FNS_H
58
c-file-style:"stroustrup"
59
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
64
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :