1 #ifndef SEEN_COLOR_PROFILE_H
2 #define SEEN_COLOR_PROFILE_H
4 /** \file
5 * SPColorProfile: SVG <color-profile> implementation
6 */
8 #include <glib/gtypes.h>
9 #include <sp-object.h>
10 #if ENABLE_LCMS
11 #include <lcms.h>
12 #endif // ENABLE_LCMS
14 namespace Inkscape {
16 /** Color Profile. */
17 struct ColorProfile : public SPObject {
18 gchar* href;
19 gchar* local;
20 gchar* name;
21 guint rendering_intent;
22 #if ENABLE_LCMS
23 cmsHPROFILE profHandle;
24 #endif // ENABLE_LCMS
25 };
27 /// The SPColorProfile vtable.
28 struct ColorProfileClass {
29 SPObjectClass parent_class;
30 };
32 } // namespace Inkscape
34 #endif // !SEEN_COLOR_PROFILE_H
36 /*
37 Local Variables:
38 mode:c++
39 c-file-style:"stroustrup"
40 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
41 indent-tabs-mode:nil
42 fill-column:99
43 End:
44 */
45 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :