(self, *args, **kwargs)
| 21 | default_drawer_class: type[QRModuleDrawer] = svg_drawers.SvgSquareDrawer |
| 22 | |
| 23 | def __init__(self, *args, **kwargs): |
| 24 | ET.register_namespace("svg", self._SVG_namespace) |
| 25 | super().__init__(*args, **kwargs) |
| 26 | # Save the unit size, for example the default box_size of 10 is '1mm'. |
| 27 | self.unit_size = self.units(self.box_size) |
| 28 | |
| 29 | @overload |
| 30 | def units(self, pixels: Union[int, Decimal], text: Literal[False]) -> Decimal: ... |