canvas: Add strokeRect binding.

This commit is contained in:
David Thompson 2024-12-13 14:58:04 -05:00
parent f6c7d000c0
commit 5e4d6cce1c
2 changed files with 4 additions and 0 deletions

View file

@ -63,6 +63,9 @@
(define-foreign fill-rect
"canvas" "fillRect"
(ref extern) f64 f64 f64 f64 -> none)
(define-foreign stroke-rect
"canvas" "strokeRect"
(ref extern) f64 f64 f64 f64 -> none)
(define-foreign fill-text
"canvas" "fillText"
(ref extern) (ref string) f64 f64 -> none)