X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fsp-image.h;h=75194174ef11f8bba8ce67ab3ab8d6819f0f7293;hb=42e99769805c14a5cc01c805faa3c3b03f9dd1c0;hp=e0546d63d5057365374d855e0a43794204143e53;hpb=4eefb060ba4e9d34d04abdb76989376292a6fe9b;p=inkscape.git diff --git a/src/sp-image.h b/src/sp-image.h index e0546d63d..75194174e 100644 --- a/src/sp-image.h +++ b/src/sp-image.h @@ -28,6 +28,7 @@ class SPImageClass; #include #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,6 +44,8 @@ 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 @@ -58,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