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/pitfall/ptest/test11.rkt

19 lines
493 B
Racket

#lang racket/base
(require pitfall/pdftest)
(define (proc doc)
(send* doc
[fillColor "blue"]
[font "Helvetica" 30]
[translate 50 50]
[text "Here is a link!" 100 100 (hash
'link "http://google.com/"
'underline #t
'width #f)]))
(define-runtime-path this "test11rkt.pdf")
(make-doc this #f proc)
(define-runtime-path that "test11crkt.pdf")
(make-doc that #t proc)