X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fdraw-context.h;h=afdec1981bd22512f660c9d9a064b040b8a21a63;hb=a32900df2c92f541057a2c118635bc452cee4e06;hp=59ec5a92fe18ee6b7eb28432d0caf10813851139;hpb=f4f507228b30d55fd7e39386ba513f3a0a54bd5d;p=inkscape.git diff --git a/src/draw-context.h b/src/draw-context.h index 59ec5a92f..afdec1981 100644 --- a/src/draw-context.h +++ b/src/draw-context.h @@ -15,11 +15,11 @@ */ #include -#include "display/curve.h" #include "event-context.h" #include #include #include +#include "live_effects/effect.h" /* Freehand context */ @@ -69,6 +69,9 @@ struct SPDrawContext : public SPEventContext{ /* End anchor */ SPDrawAnchor *ea; + /* type of the LPE that is to be applied automatically to a finished path (if any) */ + Inkscape::LivePathEffect::EffectType waiting_LPE_type; + sigc::connection sel_changed_connection; sigc::connection sel_modified_connection; @@ -84,7 +87,7 @@ SPDrawAnchor *spdc_test_inside(SPDrawContext *dc, NR::Point p); void spdc_concat_colors_and_flush(SPDrawContext *dc, gboolean forceclosed); void spdc_endpoint_snap_rotation(SPEventContext const *const ec, NR::Point &p, NR::Point const o, guint state); void spdc_endpoint_snap_free(SPEventContext const *ec, NR::Point &p, guint state); - +void spdc_check_for_and_apply_waiting_LPE(SPDrawContext *dc, SPItem *item); #endif