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.
18 lines
483 B
Racket
18 lines
483 B
Racket
#lang 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 #:pdfkit #f)
|
|
|
|
(define-runtime-path that "test11crkt.pdf")
|
|
(make-doc that #t proc)
|