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.
19 lines
494 B
Racket
19 lines
494 B
Racket
#lang racket/base
|
|
(require pitfall/pdftest)
|
|
|
|
(define (proc doc)
|
|
(send* doc
|
|
[fill-color "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)
|