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

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