#ifndef SEEN_PENCIL_CONTEXT_H
#define SEEN_PENCIL_CONTEXT_H
/** \file
* PencilTool: a context for pencil tool events
*/
#include "ui/tools/freehand-base.h"
#define SP_IS_PENCIL_CONTEXT(obj) (dynamic_cast<const Inkscape::UI::Tools::PencilTool*>((const ToolBase*)obj) != NULL)
enum PencilState {
};
/**
* PencilTool: a context for pencil tool events
*/
PencilTool();
virtual ~PencilTool();
bool is_drawing;
Geom::Piecewise<Geom::D2<Geom::SBasis> > sketch_interpolation; // the current proposal from the sketched paths
void _finishEndpoint();
void _fitAndSplit();
void _interpolate();
void _sketchInterpolate();
void _cancel();
};
}
}
}
#endif /* !SEEN_PENCIL_CONTEXT_H */
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :