diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-11-12 23:24:23 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-11-12 23:24:23 +0000 |
| commit | b363482ca06fc72ffedd0fd05f5663b128352f89 (patch) | |
| tree | dbfa750b19098611f17af826decc497c888d2f1d /src/ui/tools/pencil-tool.h | |
| parent | Base refactor (diff) | |
| download | inkscape-b363482ca06fc72ffedd0fd05f5663b128352f89.tar.gz inkscape-b363482ca06fc72ffedd0fd05f5663b128352f89.zip | |
Added speed improbements
Diffstat (limited to 'src/ui/tools/pencil-tool.h')
| -rw-r--r-- | src/ui/tools/pencil-tool.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/tools/pencil-tool.h b/src/ui/tools/pencil-tool.h index 798a5fa49..c3b9fb48c 100644 --- a/src/ui/tools/pencil-tool.h +++ b/src/ui/tools/pencil-tool.h @@ -10,6 +10,7 @@ #include <2geom/piecewise.h> #include <2geom/d2.h> #include <2geom/sbasis.h> +#include <2geom/pathvector.h> #define DDC_MIN_PRESSURE 0.0 @@ -47,6 +48,8 @@ public: std::vector<Geom::Point> ps; std::vector<Geom::Point> points; std::vector<double> wps; + + Geom::PathVector pressure_pv; void addPowerStrokePencil(); void removePowerStrokePreview(); |
