summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/filletchamferpointarray.h
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-11-03 20:54:01 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-11-03 20:54:01 +0000
commit3dfff76972208b0328ac7937bb9e9fe037560a26 (patch)
tree8f17e0be3cdd75feb89b17b893d0df89a3723a9f /src/live_effects/parameter/filletchamferpointarray.h
parentupdate svg-length-test.h from 90 to 96 dpi (diff)
downloadinkscape-3dfff76972208b0328ac7937bb9e9fe037560a26.tar.gz
inkscape-3dfff76972208b0328ac7937bb9e9fe037560a26.zip
Update fillet/chamfer to allow subdivisions in chamfer mode.
Still happends bug affecting only selected nodes in document:units diferent than "px". I think the problem is node->position() send me a bad data if document units not px. (bzr r13665)
Diffstat (limited to 'src/live_effects/parameter/filletchamferpointarray.h')
-rw-r--r--src/live_effects/parameter/filletchamferpointarray.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/live_effects/parameter/filletchamferpointarray.h b/src/live_effects/parameter/filletchamferpointarray.h
index a1fa698ae..3ef52d11a 100644
--- a/src/live_effects/parameter/filletchamferpointarray.h
+++ b/src/live_effects/parameter/filletchamferpointarray.h
@@ -52,6 +52,7 @@ public:
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_chamferSteps(int chamferSteps);
virtual void set_unit(const gchar *abbr);
virtual void addCanvasIndicators(SPLPEItem const *lpeitem,
std::vector<Geom::PathVector> &hp_vec);
@@ -85,6 +86,7 @@ private:
SPKnotModeType knot_mode;
guint32 knot_color;
int helper_size;
+ int chamfer_steps;
bool use_distance;
const gchar *unit;
Geom::PathVector hp;