diff --git a/src/pencil-context.h b/src/pencil-context.h
index 87e9b2470483bd8b4fdd15d74433abce32d2856c..aa0f60eb24b063f210ebfd9ba73c03d90710f127 100644 (file)
--- a/src/pencil-context.h
+++ b/src/pencil-context.h
enum PencilState {
SP_PENCIL_CONTEXT_IDLE,
SP_PENCIL_CONTEXT_ADDLINE,
- SP_PENCIL_CONTEXT_FREEHAND
+ SP_PENCIL_CONTEXT_FREEHAND,
+ SP_PENCIL_CONTEXT_SKETCH
};
/**
Geom::Point req_tangent;
bool is_drawing;
+
+ std::vector<Geom::Point> ps;
+
+ Geom::Piecewise<Geom::D2<Geom::SBasis> > sketch_interpolation; // the current proposal from the sketched paths
+ unsigned sketch_n; // number of sketches done
};
/// The SPPencilContext vtable (empty).
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 :