You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
__addTransform is creating a new g elem and appending to parent...
it updated the __currentElement with this new group and apply transform on the new group...
I think it should first append __currentElement into new group, then override __currentElement
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, thex
andy
attributes are missing from the<image>
tag. Width and height are preserved, but the image is at (0, 0)The text was updated successfully, but these errors were encountered: