Fix docs for render-term.

This commit is contained in:
Asumu Takikawa 2012-04-19 16:41:14 -04:00
parent 2b76d9e5b0
commit 0b90dc49cf

View File

@ -2244,7 +2244,7 @@ for use in combination with other libraries that operate on picts
The primary difference between these functions is that the former list The primary difference between these functions is that the former list
sets @racket[dc-for-text-size] and the latter does not. sets @racket[dc-for-text-size] and the latter does not.
@defproc[(render-term [lang compiled-lang?] [term any/c] [file (or/c #f path-string?)]) @defproc[(render-term [lang compiled-lang?] [term any/c] [file (or/c #f path-string?) #f])
(if file void? pict?)]{ (if file void? pict?)]{
Renders the term @racket[term]. If @racket[file] is @racket[#f], Renders the term @racket[term]. If @racket[file] is @racket[#f],
it produces a pict; if @racket[file] is a path, it saves it produces a pict; if @racket[file] is a path, it saves