X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fpen-context.h;h=c214da30ddd7b6d69479cd0b686733c3f6df7b41;hb=86da3d069ea19e5967fd07f82131773fd5ada60e;hp=a358126acad8e5074d0f636160637c095d96126e;hpb=304f51846342812ceea2b6d1f69c57585a5e412e;p=inkscape.git diff --git a/src/pen-context.h b/src/pen-context.h index a358126ac..c214da30d 100644 --- a/src/pen-context.h +++ b/src/pen-context.h @@ -30,7 +30,7 @@ enum { * SPPenContext: a context for pen tool events. */ struct SPPenContext : public SPDrawContext { - NR::Point p[5]; + Geom::Point p[5]; /** \invar npoints in {0, 2, 5}. */ // npoints somehow determines the type of the node (what does it mean, exactly? the number of Bezier handles?) @@ -66,6 +66,7 @@ inline bool sp_pen_context_has_waiting_LPE(SPPenContext *pc) { void sp_pen_context_set_polyline_mode(SPPenContext *const pc); void sp_pen_context_wait_for_LPE_mouse_clicks(SPPenContext *pc, Inkscape::LivePathEffect::EffectType effect_type, unsigned int num_clicks, bool use_polylines = true); +void sp_pen_context_cancel_waiting_for_LPE(SPPenContext *pc); void sp_pen_context_put_into_waiting_mode(SPDesktop *desktop, Inkscape::LivePathEffect::EffectType effect_type, unsigned int num_clicks, bool use_polylines = true);