A
A
Art. Ku.2019-03-21 12:48:59
JavaScript
Art. Ku., 2019-03-21 12:48:59

How to convert SVG path to canvas?

Then I will recode the canvas to hpgl code (for the plotter). If anyone knows how to immediately translate the svg attribute d into hpgl - generally super, but I did not find it, I found it only through the canvas.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GreatRash, 2019-03-21
@GreatRash

https://developer.mozilla.org/en-US/docs/Web/API/P...
Pay attention to the compatibility table with different browsers (spoiler - does not work in IE and Edge).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question