revert stroke width change
This commit is contained in:
parent
fee93bc969
commit
06433e388c
@ -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:
|
||||
|
Reference in New Issue
Block a user