summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/filletchamferpointarray.h
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-09-11 03:30:09 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-09-11 03:30:09 +0000
commit39d4d238a04162c559f83011999cc16feb6da88f (patch)
tree0a6cb688607c53d2ae529a8f4a72a04698008060 /src/live_effects/parameter/filletchamferpointarray.h
parentBack out changes in r13514 -- seems to break build (diff)
downloadinkscape-39d4d238a04162c559f83011999cc16feb6da88f.tar.gz
inkscape-39d4d238a04162c559f83011999cc16feb6da88f.zip
add radius support to fillet-chamfer, bugfixes
(bzr r13341.1.203)
Diffstat (limited to 'src/live_effects/parameter/filletchamferpointarray.h')
-rw-r--r--src/live_effects/parameter/filletchamferpointarray.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/live_effects/parameter/filletchamferpointarray.h b/src/live_effects/parameter/filletchamferpointarray.h
index 93d6e9f4c..a1fa698ae 100644
--- a/src/live_effects/parameter/filletchamferpointarray.h
+++ b/src/live_effects/parameter/filletchamferpointarray.h
@@ -43,9 +43,15 @@ public:
guint32 color);
virtual double to_time(int index, double A);
virtual double to_len(int index, double A);
+ virtual double rad_to_len(int index, double rad);
+ virtual double len_to_rad(int index, double len);
virtual double len_to_time(int index, double len);
virtual double time_to_len(int index, double time);
+ virtual std::pair<std::size_t, std::size_t> get_positions(int index, std::vector<Geom::Path> subpaths);
+ virtual int last_index(int index, std::vector<Geom::Path> subpaths);
+ std::vector<double> get_times(int index, std::vector<Geom::Path> subpaths, bool last);
virtual void set_helper_size(int hs);
+ virtual void set_use_distance(bool use_knot_distance);
virtual void set_unit(const gchar *abbr);
virtual void addCanvasIndicators(SPLPEItem const *lpeitem,
std::vector<Geom::PathVector> &hp_vec);
@@ -79,6 +85,7 @@ private:
SPKnotModeType knot_mode;
guint32 knot_color;
int helper_size;
+ bool use_distance;
const gchar *unit;
Geom::PathVector hp;
@@ -96,7 +103,6 @@ public:
guint state);
virtual Geom::Point knot_get() const;
virtual void knot_click(guint state);
- virtual void knot_doubleclicked(guint state);
virtual void knot_set_offset(Geom::Point offset);
/*Checks whether the index falls within the size of the parameter's vector*/