diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-08-27 21:05:37 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-08-27 21:05:37 +0000 |
| commit | 2a4f50a7e398f1d8f47cf0fef5dca090d262f107 (patch) | |
| tree | 395ff9e942efe364899789e15f5a2326a9b74012 /src/ui/tools/pencil-tool.h | |
| parent | Working on preview over powerpencil (diff) | |
| download | inkscape-2a4f50a7e398f1d8f47cf0fef5dca090d262f107.tar.gz inkscape-2a4f50a7e398f1d8f47cf0fef5dca090d262f107.zip | |
Add preview
Diffstat (limited to 'src/ui/tools/pencil-tool.h')
| -rw-r--r-- | src/ui/tools/pencil-tool.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/ui/tools/pencil-tool.h b/src/ui/tools/pencil-tool.h index 607d10c4a..dd8f14fd9 100644 --- a/src/ui/tools/pencil-tool.h +++ b/src/ui/tools/pencil-tool.h @@ -45,16 +45,10 @@ public: bool is_drawing; std::vector<Geom::Point> ps; - std::vector<Geom::Point> pps; std::vector<Geom::Point> points; std::vector<double> wps; - double previous_pressure; - Geom::Point previous_point; - bool start; - double gap_pressure; - double start_clamp; - double end_clamp; - void addPowerStrokePoint(SPCurve * c, Geom::Point p, double pressure_data); + + void addPowerStrokePencil(SPCurve * c); Geom::Piecewise<Geom::D2<Geom::SBasis> > sketch_interpolation; // the current proposal from the sketched paths unsigned sketch_n; // number of sketches done @@ -74,6 +68,8 @@ private: bool _handleKeyPress(GdkEventKey const &event); bool _handleKeyRelease(GdkEventKey const &event); void _setStartpoint(Geom::Point const &p); + double _gap_pressure; + SPItem *_powerpreview; void _setEndpoint(Geom::Point const &p); void _finishEndpoint(); |
