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
494 B
Racket

#lang racket/base
(require pitfall/pdftest)
8 years ago
(define (proc doc)
8 years ago
(send* doc
6 years ago
[fill-color "blue"]
8 years ago
[font "Helvetica" 30]
[translate 50 50]
8 years ago
[text "Here is a link!" 100 100 (hash
'link "http://google.com/"
8 years ago
'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)