Skip to content

Page units #145

@mooomooo

Description

@mooomooo

Right now, there's no way of specifying absolute dimensions i.e. units. This should be fairly straightforward according the SVG spec; see, e.g.:

Perhaps a simple way of incorporating this feature would be to add a new argument / member variable units="" to Drawing.__init__, then updating:

width=f"{img_width}{self.units}", height=f"img_height}{self.units}",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions