You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
typesetting/quad/qtest/mydraw.rkt

16 lines
337 B
Racket

#lang quadwriter
'(q ((page-width "4in")(page-height "4in"))
"Hello world"
(q ((draw "line") (x1 "10") (y1 "10") (x2 "100") (y2 "200")))
(q ((draw "line") (x1 "100") (y1 "200") (x2 "200") (y2 "100")))
(q ((break "page")))
"Goodbye fools"
(q ((draw "text")(font-italic "true")(x "20")(y "20")(text "Hello from 20,20")) "outside")
)