X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fdraw-context.h;h=1364b5dadb407ed0af9debd92ef762cd9be9c8df;hb=8a2e76b7021b9b960d7c30801a1a14461d9b5939;hp=c1166dcbd0fed2b516f6891365bf284dc24c0c19;hpb=2529f552967828cbc8a419f10610cfc376b7d2c3;p=inkscape.git diff --git a/src/draw-context.h b/src/draw-context.h index c1166dcbd..1364b5dad 100644 --- a/src/draw-context.h +++ b/src/draw-context.h @@ -70,7 +70,7 @@ struct SPDrawContext : public SPEventContext{ SPDrawAnchor *ea; /* type of the LPE that is to be applied automatically to a finished path (if any) */ - Inkscape::LivePathEffect::EffectType waiting_LPE; + Inkscape::LivePathEffect::EffectType waiting_LPE_type; sigc::connection sel_changed_connection; sigc::connection sel_modified_connection; @@ -83,11 +83,12 @@ struct SPDrawContext : public SPEventContext{ struct SPDrawContextClass : public SPEventContextClass{}; GType sp_draw_context_get_type(void); -SPDrawAnchor *spdc_test_inside(SPDrawContext *dc, NR::Point p); +SPDrawAnchor *spdc_test_inside(SPDrawContext *dc, Geom::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_endpoint_snap_rotation(SPEventContext const *const ec, Geom::Point &p, Geom::Point const &o, guint state); +void spdc_endpoint_snap_free(SPEventContext const *ec, Geom::Point &p, guint state); void spdc_check_for_and_apply_waiting_LPE(SPDrawContext *dc, SPItem *item); +void spdc_create_single_dot(SPEventContext *ec, Geom::Point const &pt, char const *tool, guint event_state); #endif @@ -100,4 +101,4 @@ void spdc_check_for_and_apply_waiting_LPE(SPDrawContext *dc, SPItem *item); 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 :