revert stroke width change

This commit is contained in:
Mario Voigt 2021-11-30 01:08:37 +01:00
parent fee93bc969
commit 06433e388c
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@ class ApplyTransformations(inkex.EffectExtension):
try:
#stroke_width = float(style.get('stroke-width').strip().replace("px", ""))
stroke_width = self.svg.uutounit(style.get('stroke-width').strip())
#stroke_width *= math.sqrt(abs(transf.a * transf.d))
stroke_width *= math.sqrt(abs(transf.a * transf.d - transf.b * transf.c))
stroke_width *= math.sqrt(abs(transf.a * transf.d))
#stroke_width *= math.sqrt(abs(transf.a * transf.d - transf.b * transf.c))
style['stroke-width'] = str(stroke_width)
update = True
except AttributeError: