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

18 lines
494 B
Racket

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