summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2015-03-27 16:37:16 +0000
committertavmjong-free <tavmjong@free.fr>2015-03-27 16:37:16 +0000
commit8c5e33effcd16fac6ff807fa4b1700291892cbf7 (patch)
tree41ec1b375ecb5f81f77adfdff72c0a104b8b5c92 /src/live_effects
parentFix a crash on perspective/envelope LPE introduced in recent refactor of poin... (diff)
downloadinkscape-8c5e33effcd16fac6ff807fa4b1700291892cbf7.tar.gz
inkscape-8c5e33effcd16fac6ff807fa4b1700291892cbf7.zip
Fix calculation of miter limit. Implement 'miter-clip' line join.
(bzr r14033)
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/lpe-jointype.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/live_effects/lpe-jointype.cpp b/src/live_effects/lpe-jointype.cpp
index c7ea64b77..0111a0f99 100644
--- a/src/live_effects/lpe-jointype.cpp
+++ b/src/live_effects/lpe-jointype.cpp
@@ -28,9 +28,10 @@ namespace Inkscape {
namespace LivePathEffect {
static const Util::EnumData<unsigned> JoinTypeData[] = {
- {JOIN_BEVEL, N_("Beveled"), "bevel"},
- {JOIN_ROUND, N_("Rounded"), "round"},
- {JOIN_MITER, N_("Miter"), "miter"},
+ {JOIN_BEVEL, N_("Beveled"), "bevel"},
+ {JOIN_ROUND, N_("Rounded"), "round"},
+ {JOIN_MITER, N_("Miter"), "miter"},
+ {JOIN_MITER_CLIP, N_("Miter Clip"), "miter-clip"},
{JOIN_EXTRAPOLATE, N_("Extrapolated arc"), "extrp_arc"},
};