Skip to content

x and y of drawImage missing in getSerializedSvg? #69

@kaldrenon

Description

@kaldrenon

My code calls ctx.drawImage(img, startX, startY, width, height) on the C2S object I maintain for my canvas, but when I serialize and download the SVG, the x and y attributes are missing from the <image> tag. Width and height are preserved, but the image is at (0, 0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions