Code

a bunch of small changes to provide a user readable explanation of filters
[inkscape.git] / src / sp-image.h
index 500d9699eb1e52caa477bf90f28fce11e08391a1..75194174ef11f8bba8ce67ab3ab8d6819f0f7293 100644 (file)
@@ -28,6 +28,7 @@ class SPImageClass;
 #include <gdk-pixbuf/gdk-pixbuf.h>
 #include "svg/svg-length.h"
 #include "sp-item.h"
+#include "display/display-forward.h"
 
 #define SP_IMAGE_HREF_MODIFIED_FLAG SP_OBJECT_USER_MODIFIED_FLAG_A
 
@@ -43,8 +44,13 @@ struct SPImage : public SPItem {
        unsigned int aspect_clip : 1;
        int trimx, trimy, trimwidth, trimheight;
        double viewx, viewy, viewwidth, viewheight;
+       
+       SPCurve *curve; // This curve is at the image's boundary for snapping
 
        gchar *href;
+#if ENABLE_LCMS
+        gchar *color_profile;
+#endif // ENABLE_LCMS
 
        GdkPixbuf *pixbuf;
 };
@@ -55,6 +61,8 @@ struct SPImageClass {
 
 GType sp_image_get_type (void);
 
+/* Return duplicate of curve or NULL */
+SPCurve *sp_image_get_curve (SPImage *image);
 
 
 #endif