remove filter and clip_path
This commit is contained in:
parent
e0ae343503
commit
0f251af6a9
3 changed files with 6 additions and 11 deletions
|
@ -219,7 +219,7 @@ class SVGEngine(RenderEngine):
|
|||
self.altitudes[new_altitude] = new_geometry
|
||||
|
||||
def _add_geometry(self, geometry, fill: Optional[FillAttribs] = None, stroke: Optional[StrokeAttribs] = None,
|
||||
filter=None, clip_path=None, altitude=None, height=None, shape_cache_key=None):
|
||||
altitude=None, height=None, shape_cache_key=None):
|
||||
|
||||
if fill:
|
||||
attribs = ' fill="'+(fill.color)+'"'
|
||||
|
@ -236,11 +236,6 @@ class SVGEngine(RenderEngine):
|
|||
if stroke.opacity:
|
||||
attribs += ' stroke-opacity="'+str(stroke.opacity)[:4]+'"'
|
||||
|
||||
if filter:
|
||||
attribs += ' filter="url(#'+filter+')"'
|
||||
if clip_path:
|
||||
attribs += ' clip-path="url(#'+clip_path+')"'
|
||||
|
||||
if geometry is not None:
|
||||
|
||||
if False:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue