Code

Added display profile calibration
[inkscape.git] / src / color-profile-fns.h
1 #ifndef SEEN_COLOR_PROFILE_FNS_H
2 #define SEEN_COLOR_PROFILE_FNS_H
4 /** \file 
5  * Macros and fn declarations related to linear gradients.
6  */
8 #include <glib-object.h>
9 #include <glib/gtypes.h>
10 #if ENABLE_LCMS
11 #include <lcms.h>
12 #endif // ENABLE_LCMS
14 class SPDocument;
16 namespace Inkscape {
18 namespace XML {
19 class Node;
20 } // namespace XML
22 class ColorProfile;
24 GType colorprofile_get_type();
26 #if ENABLE_LCMS
28 cmsHPROFILE colorprofile_get_handle( SPDocument* document, guint* intent, gchar const* name );
30 cmsHPROFILE colorprofile_get_system_profile_handle();
32 #endif
34 } // namespace Inkscape
36 #define COLORPROFILE_TYPE (Inkscape::colorprofile_get_type())
37 #define COLORPROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), COLORPROFILE_TYPE, Inkscape::ColorProfile))
38 #define COLORPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), COLORPROFILE_TYPE, Inkscape::ColorProfileClass))
39 #define IS_COLORPROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), COLORPROFILE_TYPE))
40 #define IS_COLORPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), COLORPROFILE_TYPE))
43 #endif // !SEEN_COLOR_PROFILE_FNS_H
45 /*
46   Local Variables:
47   mode:c++
48   c-file-style:"stroustrup"
49   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
50   indent-tabs-mode:nil
51   fill-column:99
52   End:
53 */
54 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :