|
|
__init__(self,
docTitle,
version='1.1',
useCSS=True) |
source code
|
|
|
|
|
|
|
bbox(self)
Return a bounding box around the contents of the current active group. |
source code
|
|
|
|
| _cachedAttribs(self,
attribs,
**addlAttribs) |
source code
|
|
|
|
loadScript(self,
scriptURL)
SVG-specific method: generate a reference which will load the specified
script when this SVG drawing is viewed. |
source code
|
|
|
|
view(self,
bbox,
id=None,
viewTarget=None)
Emit an SVG 'view' element. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| text(self,
x,
y,
text,
bbox=True,
**attribs) |
source code
|
|
|
|
| group(self,
link=None,
view_id=None,
**attribs) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
esc(self,
str)
Perform appropriate XML content escaping for the given string. |
source code
|
|
|
|
escId(self,
str)
Return a value suitable for an XML 'id' given an arbitrary string. |
source code
|
|
|
|
|
|
|
|
|
Inherited from OutputLanguage:
fill,
rotate,
stroke,
translate,
write
|