MCPcopy Index your code
hub / github.com/methodofaction/Method-Draw / convertToPath

Function convertToPath

src/js/method-draw.js:611–622  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

609 };
610
611 var convertToPath = function() {
612 if (selectedElement != null) {
613 svgCanvas.convertToPath();
614 var elems = svgCanvas.getSelectedElems()
615 svgCanvas.selectorManager.requestSelector(elems[0]).reset(elems[0])
616 svgCanvas.selectorManager.requestSelector(elems[0]).selectorRect.setAttribute("display", "none");
617 svgCanvas.setMode("pathedit")
618 path.toEditMode(elems[0]);
619 svgCanvas.clearSelection();
620 updateContextPanel();
621 }
622 }
623
624 var reorientPath = function() {
625 if (selectedElement != null) {

Callers

nothing calls this directly

Calls 1

updateContextPanelFunction · 0.85

Tested by

no test coverage detected