Code

Base implementation of a layers dialog.
[inkscape.git] / src / color-profile.h
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 enum {
17     RENDERING_INTENT_UNKNOWN = 0,
18     RENDERING_INTENT_AUTO = 1,
19     RENDERING_INTENT_PERCEPTUAL = 2,
20     RENDERING_INTENT_RELATIVE_COLORIMETRIC = 3,
21     RENDERING_INTENT_SATURATION = 4,
22     RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5
23 };
25 /** Color Profile. */
26 struct ColorProfile : public SPObject {
27     gchar* href;
28     gchar* local;
29     gchar* name;
30     gchar* intentStr;
31     guint rendering_intent;
32 #if ENABLE_LCMS
33     cmsHPROFILE profHandle;
34 #endif // ENABLE_LCMS
35 };
37 /// The SPColorProfile vtable.
38 struct ColorProfileClass {
39     SPObjectClass parent_class;
40 };
42 } // namespace Inkscape
44 #endif // !SEEN_COLOR_PROFILE_H
46 /*
47   Local Variables:
48   mode:c++
49   c-file-style:"stroustrup"
50   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
51   indent-tabs-mode:nil
52   fill-column:99
53   End:
54 */
55 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :