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.
23 lines
383 B
Racket
23 lines
383 B
Racket
#lang pitfall/pdftest
|
|
|
|
(define (proc doc)
|
|
(send* doc
|
|
[text "Page 1"]
|
|
[addPage]
|
|
[text "Page 2"]
|
|
[addPage]
|
|
[text "Page 3"]
|
|
[addPage]
|
|
[text "Page 4"]
|
|
[addPage]
|
|
[text "Page 5"]
|
|
[addPage]
|
|
[text "Page 6"]))
|
|
|
|
(define-runtime-path this "test6rkt.pdf")
|
|
(make-doc this #f proc)
|
|
|
|
(define-runtime-path that "test6crkt.pdf")
|
|
(make-doc that #t proc)
|
|
|