fix example 'wear-os-gps': add '(float x)', see 'qml:hex'

This commit is contained in:
pls.153 2023-10-17 11:32:41 +02:00
parent e64b09c139
commit a7c7b4d27f

View file

@ -14,19 +14,19 @@
(defun set-style (color width)
(qjs |setStyle| *canvas*
color width))
color (float width)))
(defun draw-line (x1 y1 x2 y2)
(qjs |drawLine| *canvas*
x1 y1 x2 y2))
(float x1) (float y1) (float x2) (float y2)))
(defun rotate (angle)
(qjs |rotate| *canvas*
angle))
(float angle)))
(defun arc (x y r start end)
(qjs |arc| *canvas*
x y r start end))
(float x) (float y) (float r) (float start) (float end)))
(defmacro with-path (&body body)
`(progn