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/test5.rkt

18 lines
415 B
Racket

#lang racket/base
(require pitfall/pdftest)
8 years ago
8 years ago
(define-runtime-path death "assets/death.png")
8 years ago
(define (proc doc)
(send* doc
8 years ago
[font "Times-Italic"]
[fontSize 25]
[text "Some fantastic text!" 100 100 (hash 'lineBreak #f)]
8 years ago
[image death 100 160 (hash 'width 412)]))
(define-runtime-path this "test5rkt.pdf")
(make-doc this #f proc #:test #t)
8 years ago
(define-runtime-path that "test5crkt.pdf")
(make-doc that #t proc)