Code

Initial support of color-profile on <image>
[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, gchar* const name );
30 #endif
32 } // namespace Inkscape
34 #define COLORPROFILE_TYPE (Inkscape::colorprofile_get_type())
35 #define COLORPROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), COLORPROFILE_TYPE, Inkscape::ColorProfile))
36 #define COLORPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), COLORPROFILE_TYPE, Inkscape::ColorProfileClass))
37 #define IS_COLORPROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), COLORPROFILE_TYPE))
38 #define IS_COLORPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), COLORPROFILE_TYPE))
41 #endif // !SEEN_COLOR_PROFILE_FNS_H
43 /*
44   Local Variables:
45   mode:c++
46   c-file-style:"stroustrup"
47   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
48   indent-tabs-mode:nil
49   fill-column:99
50   End:
51 */
52 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :