~valavanisalex/ubuntu/precise/inkscape/fix-943984

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/color-profile-fns.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-07-02 17:09:45 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702170945-nn6d6zswovbwju1t
Tags: 0.47~pre1-0ubuntu1
* New upstream release.
  - Don't constrain maximization on small resolution devices (pre0)
    (LP: #348842)
  - Fixes segfault on startup (pre0)
    (LP: #391149)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef SEEN_COLOR_PROFILE_FNS_H
 
2
#define SEEN_COLOR_PROFILE_FNS_H
 
3
 
 
4
/** \file 
 
5
 * Macros and fn declarations related to linear gradients.
 
6
 */
 
7
 
 
8
#include <glib-object.h>
 
9
#include <glib/gtypes.h>
 
10
#if ENABLE_LCMS
 
11
#include <vector>
 
12
#include <glibmm/ustring.h>
 
13
#include <lcms.h>
 
14
#endif // ENABLE_LCMS
 
15
 
 
16
class SPDocument;
 
17
 
 
18
namespace Inkscape {
 
19
 
 
20
namespace XML {
 
21
class Node;
 
22
} // namespace XML
 
23
 
 
24
class ColorProfile;
 
25
 
 
26
GType colorprofile_get_type();
 
27
 
 
28
#if ENABLE_LCMS
 
29
 
 
30
cmsHPROFILE colorprofile_get_handle( SPDocument* document, guint* intent, gchar const* name );
 
31
cmsHTRANSFORM colorprofile_get_display_transform();
 
32
 
 
33
Glib::ustring colorprofile_get_display_id( int screen, int monitor );
 
34
Glib::ustring colorprofile_set_display_per( gpointer buf, guint bufLen, int screen, int monitor );
 
35
cmsHTRANSFORM colorprofile_get_display_per( Glib::ustring const& id );
 
36
 
 
37
std::vector<Glib::ustring> colorprofile_get_display_names();
 
38
std::vector<Glib::ustring> colorprofile_get_softproof_names();
 
39
 
 
40
Glib::ustring get_path_for_profile(Glib::ustring const& name);
 
41
 
 
42
#endif
 
43
 
 
44
} // namespace Inkscape
 
45
 
 
46
#define COLORPROFILE_TYPE (Inkscape::colorprofile_get_type())
 
47
#define COLORPROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), COLORPROFILE_TYPE, Inkscape::ColorProfile))
 
48
#define COLORPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), COLORPROFILE_TYPE, Inkscape::ColorProfileClass))
 
49
#define IS_COLORPROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), COLORPROFILE_TYPE))
 
50
#define IS_COLORPROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), COLORPROFILE_TYPE))
 
51
 
 
52
 
 
53
#endif // !SEEN_COLOR_PROFILE_FNS_H
 
54
 
 
55
/*
 
56
  Local Variables:
 
57
  mode:c++
 
58
  c-file-style:"stroustrup"
 
59
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
60
  indent-tabs-mode:nil
 
61
  fill-column:99
 
62
  End:
 
63
*/
 
64
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :