Function: svg-line
svg-line is a byte-compiled function defined in svg.el.gz.
Signature
(svg-line SVG X1 Y1 X2 Y2 &rest ARGS)
Documentation
Create a line starting in X1/Y1, ending at X2/Y2 on SVG.
Source Code
;; Defined in /usr/src/emacs/lisp/svg.el.gz
(defun svg-line (svg x1 y1 x2 y2 &rest args)
"Create a line starting in X1/Y1, ending at X2/Y2 on SVG."
(svg--append
svg
(dom-node 'line
`((x1 . ,x1)
(x2 . ,x2)
(y1 . ,y1)
(y2 . ,y2)
,@(svg--arguments svg args)))))