Method summary
- __init__(self, dirname = None)
- fromfilename(cls, filename)
- newbase(self, dirname)
- open_image(self, path)
- open_svg(self, path)
- resolve(self, path)
Methods
- __init__(self, dirname = None)
- fromfilename(cls, filename)
Use the directory containing this file as the base directory.
- newbase(self, dirname)
Return a new ResourceGetter using a new base directory found relative to this one.
- open_image(self, path)
Resolve and read an image into an appropriate object for the renderer.
- open_svg(self, path)
Resolve and read an SVG file into an Element.
- resolve(self, path)
Resolve a path and the associated opener function against this context.