Code

Export. add emf text rotation (Bug 681262)
[inkscape.git] / src / color-profile-fns.h
index 9c2388ab20fec9f04416f35d463d454280931f97..3d22417f673a7a6d983363850e0519e8cc375616 100644 (file)
@@ -7,8 +7,16 @@
 
 #include <glib-object.h>
 #include <glib/gtypes.h>
+#if ENABLE_LCMS
+#include <vector>
+#include <glibmm/ustring.h>
+#include <lcms.h>
+#endif // ENABLE_LCMS
+
+class SPDocument;
 
 namespace Inkscape {
+
 namespace XML {
 class Node;
 } // namespace XML
@@ -17,6 +25,22 @@ class ColorProfile;
 
 GType colorprofile_get_type();
 
+#if ENABLE_LCMS
+
+cmsHPROFILE colorprofile_get_handle( SPDocument* document, guint* intent, gchar const* name );
+cmsHTRANSFORM colorprofile_get_display_transform();
+
+Glib::ustring colorprofile_get_display_id( int screen, int monitor );
+Glib::ustring colorprofile_set_display_per( gpointer buf, guint bufLen, int screen, int monitor );
+cmsHTRANSFORM colorprofile_get_display_per( Glib::ustring const& id );
+
+std::vector<Glib::ustring> colorprofile_get_display_names();
+std::vector<Glib::ustring> colorprofile_get_softproof_names();
+
+Glib::ustring get_path_for_profile(Glib::ustring const& name);
+
+#endif
+
 } // namespace Inkscape
 
 #define COLORPROFILE_TYPE (Inkscape::colorprofile_get_type())
@@ -37,4 +61,4 @@ GType colorprofile_get_type();
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :