Code

Node tool: fix handle retraction with non-cusp nodes
[inkscape.git] / src / dyna-draw-context.h
index 9232dd04b7cbca10b459c517378266586b920e43..9a736a3fca8bb7867488c276347fdea746b0b14e 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #include "common-context.h"
+#include "splivarot.h"
 
 #define SP_TYPE_DYNA_DRAW_CONTEXT (sp_dyna_draw_context_get_type())
 #define SP_DYNA_DRAW_CONTEXT(o) (GTK_CHECK_CAST((o), SP_TYPE_DYNA_DRAW_CONTEXT, SPDynaDrawContext))
@@ -47,11 +48,12 @@ struct SPDynaDrawContext : public SPCommonContext {
     Path *hatch_livarot_path;
     std::list<double> hatch_nearest_past;
     std::list<double> hatch_pointer_past;
-    NR::Point hatch_last_nearest, hatch_last_pointer;
-    NR::Point hatch_vector_accumulated;
+    std::list<Geom::Point> inertia_vectors;
+    Geom::Point hatch_last_nearest, hatch_last_pointer;
+    std::list<Geom::Point> hatch_vectors;
     bool hatch_escaped;
     SPCanvasItem *hatch_area;
-
+    bool just_started_drawing;
     bool trace_bg;
 };
 
@@ -70,4 +72,4 @@ GType sp_dyna_draw_context_get_type(void);
   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 :