Class Backend
Represents a rendering backend that can render Elsie primitives into PDF.
Declaration
class Backend
source linkDocumentation
Methods
Overrides
This method is overriden in:
▶ def compute_text_height(self, parsed_text, style, styles, **kwargs) -> float Compute the height of the given text that would be rendered with the given style.
Overrides
This method is overriden in:
▶ def compute_text_width(self, parsed_text, style, styles, **kwargs) -> float Compute the width of the given text that would be rendered with the given style.
Overrides
This method is overriden in:
▶ def compute_text_x(self, parsed_text, style, styles, **kwargs) -> float Compute the x position of the given text that would be rendered with the given style.
Overrides
This method is overriden in:
▶ def create_render_unit(self, slide: Slide, step: int, export_type: str) -> RenderUnit Create a render unit that can export itself to PDF or PNG.
Overrides
This method is overriden in:
▶ def get_version(self, elsie_version: str) -> str Returns unique version of the backend.
It should combine the Elsie version with the version of the backend software (e.g. Inkscape
or Cairo).
Overrides
This method is overriden in:
Overrides
This method is overriden in:
Overrides
This method is overriden in:
Subclasses
Reexports