Backport two fixes from the master branch

cd7f965d: fix extrapolated arc join of
powerstroke
fd3c0846: fix a tooltip
parent 9ff15a56
Pipeline #181042414 passed with stages
in 85 minutes and 40 seconds
......@@ -1104,7 +1104,7 @@ Effect::Effect(LivePathEffectObject *lpeobject)
_provides_knotholder_entities(false),
oncanvasedit_it(0),
is_visible(_("Is visible?"), _("If unchecked, the effect remains applied to the object but is temporarily disabled on canvas"), "is_visible", &wr, this, true),
lpeversion("Version", "version of LPE 0 inksape lower 1, 1 and up versioning", "lpeversion", &wr, this, "0", true),
lpeversion(_("Version"), _("LPE version"), "lpeversion", &wr, this, "0", true),
show_orig_path(false),
keep_paths(false),
is_load(true),
......
......@@ -476,6 +476,7 @@ static Geom::Path path_from_piecewise_fix_cusps( Geom::Piecewise<Geom::D2<Geom::
if (arc0) {
// FIX: Some assertions errors here
build_from_sbasis(pb,arc0->toSBasis(), tol, false);
build = true;
} else if (arc1) {
boost::optional<Geom::Point> p = intersection_point( B[prev_i].at1(), tang1,
B[i].at0(), tang2 );
......
......@@ -36,6 +36,9 @@ set(RENDERING_TESTS
# text-glyphs-vertical.svg
## Expected rendering generated with Pango 1.44.
# -- LPE tests --
test-powerstroke-join
)
......
<svg xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns="http://www.w3.org/2000/svg" height="103.10469" width="114.42079">
<defs id="defs8">
<inkscape:path-effect end_linecap_type="zerowidth" scale_width="1" miter_limit="4" linejoin_type="extrp_arc" start_linecap_type="zerowidth" interpolator_beta="0.2" interpolator_type="CubicBezierSmooth" sort_points="true" offset_points="0.2,6 | 1,6 | 1.8,6" lpeversion="1" is_visible="true" id="path-effect12" effect="powerstroke" />
</defs>
<path inkscape:original-d="M 37.025152,63.80944 C 62.629473,85.82239 121.42349,99.11534 92.9073,25.53973 73.516303,45.478852 29.421533,5.937486 9.304592,36.285332" inkscape:path-effect="#path-effect12"/>
</svg>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment