summaryrefslogtreecommitdiffstats
path: root/src/draw-context.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2012-01-17 23:20:30 +0000
committerJohan Engelen <goejendaagh@zonnet.nl>2012-01-17 23:20:30 +0000
commit20124293ed6d8a13ebbcce7a184a8fd6af324bac (patch)
treee821f61fed77a158885a68edfc538954b4157398 /src/draw-context.cpp
parentimprove the powerstroke settings in drawing tool. triangle in and out now use... (diff)
downloadinkscape-20124293ed6d8a13ebbcce7a184a8fd6af324bac.tar.gz
inkscape-20124293ed6d8a13ebbcce7a184a8fd6af324bac.zip
clean up after myself...
(bzr r10903)
Diffstat (limited to 'src/draw-context.cpp')
-rw-r--r--src/draw-context.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/draw-context.cpp b/src/draw-context.cpp
index f3023cfa1..0223ce163 100644
--- a/src/draw-context.cpp
+++ b/src/draw-context.cpp
@@ -334,10 +334,8 @@ spdc_check_for_and_apply_waiting_LPE(SPDrawContext *dc, SPItem *item, SPCurve *c
case 1:
{
// "triangle in"
- guint curve_length = curve->get_segment_count();
std::vector<Geom::Point> points(1);
points[0] = Geom::Point(0., SHAPE_HEIGHT/2);
- // points[1] = Geom::Point((double)curve_length, 0.);
spdc_apply_powerstroke_shape(points, dc, item);
shape_applied = true;
@@ -348,7 +346,6 @@ spdc_check_for_and_apply_waiting_LPE(SPDrawContext *dc, SPItem *item, SPCurve *c
// "triangle out"
guint curve_length = curve->get_segment_count();
std::vector<Geom::Point> points(1);
- // points[0] = Geom::Point(0., 0.);
points[0] = Geom::Point((double)curve_length, SHAPE_HEIGHT/2);
spdc_apply_powerstroke_shape(points, dc, item);