diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-08-02 11:33:58 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-08-02 11:33:58 +0000 |
| commit | 19f8cf337ab1ceed9c654bb48b210fd9b391fcc8 (patch) | |
| tree | dc7da4b2cfc86f704ec21a697f638a6e9ae24302 /src/live_effects/lpe-bendpath.h | |
| parent | Fixed some typos in bsector and bspline (diff) | |
| download | inkscape-19f8cf337ab1ceed9c654bb48b210fd9b391fcc8.tar.gz inkscape-19f8cf337ab1ceed9c654bb48b210fd9b391fcc8.zip | |
Added point parameter
(bzr r14272.1.1)
Diffstat (limited to 'src/live_effects/lpe-bendpath.h')
| -rw-r--r-- | src/live_effects/lpe-bendpath.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/live_effects/lpe-bendpath.h b/src/live_effects/lpe-bendpath.h index 16b8c6137..6394ce07e 100644 --- a/src/live_effects/lpe-bendpath.h +++ b/src/live_effects/lpe-bendpath.h @@ -14,6 +14,7 @@ #include "live_effects/effect.h" #include "live_effects/parameter/path.h" #include "live_effects/parameter/bool.h" +#include "live_effects/parameter/point.h" #include <2geom/sbasis.h> #include <2geom/sbasis-geometric.h> @@ -27,6 +28,7 @@ namespace Inkscape { namespace LivePathEffect { + //for Bend path on group : we need information concerning the group Bounding box class LPEBendPath : public Effect, GroupBBoxEffect { public: @@ -39,15 +41,21 @@ public: virtual void resetDefaults(SPItem const* item); + void addCanvasIndicators(SPLPEItem const */*lpeitem*/, std::vector<Geom::PathVector> &hp_vec); private: - PathParam bend_path; - ScalarParam prop_scale; + PathParam bend_path; + ScalarParam prop_scale; BoolParam scale_y_rel; - BoolParam vertical_pattern; + BoolParam vertical_pattern; + PointParam width; + double height; + double original_height; + double prop_scale_previous; Geom::Piecewise<Geom::D2<Geom::SBasis> > uskeleton; Geom::Piecewise<Geom::D2<Geom::SBasis> > n; + Geom::PathVector hp; void on_pattern_pasted(); |
