blob: 76e25d0655085c8946b6420d3ae13d7a6f734613 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
#ifndef SEEN_COLOR_PROFILE_H
#define SEEN_COLOR_PROFILE_H
/** \file
* SPColorProfile: SVG <color-profile> implementation
*/
#include <glib/gtypes.h>
#include <sp-object.h>
#if ENABLE_LCMS
#include <lcms.h>
#endif // ENABLE_LCMS
namespace Inkscape {
enum {
RENDERING_INTENT_UNKNOWN = 0,
RENDERING_INTENT_AUTO = 1,
RENDERING_INTENT_PERCEPTUAL = 2,
RENDERING_INTENT_RELATIVE_COLORIMETRIC = 3,
RENDERING_INTENT_SATURATION = 4,
RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5
};
/** Color Profile. */
struct ColorProfile : public SPObject {
gchar* href;
gchar* local;
gchar* name;
gchar* intentStr;
guint rendering_intent;
#if ENABLE_LCMS
cmsHPROFILE profHandle;
#endif // ENABLE_LCMS
};
/// The SPColorProfile vtable.
struct ColorProfileClass {
SPObjectClass parent_class;
};
} // namespace Inkscape
#endif // !SEEN_COLOR_PROFILE_H
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
|