fix filter area again
This commit is contained in:
parent
6d61ddd27d
commit
239708af31
1 changed files with 4 additions and 4 deletions
|
@ -166,10 +166,10 @@ class SVGImage:
|
|||
blur_id = 'blur'+str(int(elevation*100))
|
||||
if elevation not in self.blurs:
|
||||
blur_filter = ET.Element('filter', {'id': blur_id,
|
||||
'width': '100%',
|
||||
'height': '100%',
|
||||
'x': '0%',
|
||||
'y': '0%'})
|
||||
'width': '200%',
|
||||
'height': '200%',
|
||||
'x': '-50%',
|
||||
'y': '-50%'})
|
||||
blur_filter.append(ET.Element('feGaussianBlur',
|
||||
{'stdDeviation': str(blur_radius * self.scale)}))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue