sec_interp.exporters.svg_exporter module

SVG export utilities.

class sec_interp.exporters.svg_exporter.SVGExporter(settings: dict[str, Any])

Bases: BaseExporter

Exporter for SVG vector format.

export(output_path: Path, map_settings: qgis.core.QgsMapSettings, layer_name: str | None = None) → bool

Export map to SVG.

Parameters:
  • output_path – Output file path

  • map_settings – QgsMapSettings instance configured for rendering

  • layer_name – Unused (kept for BaseExporter signature compatibility).

Returns:

True if export successful, False otherwise

get_supported_extensions() → list[str]

Get supported SVG extension.