module documentation
Undocumented
Function | fragment |
Convert an SVG fragment to an SVG element. |
Function | fragment |
Convert an SVG fragment to a raster image. |
Function | sanitize |
Remove unsafe stuff from an SVG element. |
Function | _sanitize |
Undocumented |
Function | _sanitize |
Undocumented |
Constant | _ALLOWED |
Undocumented |
Constant | _ALLOWED |
Undocumented |
Constant | _SVG |
Undocumented |
def fragment_to_element(fragment:
list[ gws.IXmlElement]
, atts: dict
= None) -> gws.IXmlElement
:
(source)
¶
Convert an SVG fragment to an SVG element.
def fragment_to_image(fragment:
list[ gws.IXmlElement]
, size: gws.Size
, mime=gws.lib.mime.PNG) -> gws.lib.image.Image
:
(source)
¶
Convert an SVG fragment to a raster image.
Undocumented
Value |
|