From aa75ddcfa62aa7d6ea107cff321d809c2484e1b4 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Thu, 5 Jun 2008 13:22:15 +0000 Subject: [PATCH] added in the non-empty string restriction svn: r10143 --- collects/teachpack/htdp/scribblings/image.scrbl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/collects/teachpack/htdp/scribblings/image.scrbl b/collects/teachpack/htdp/scribblings/image.scrbl index b9ff0c5e68..391b30df4d 100644 --- a/collects/teachpack/htdp/scribblings/image.scrbl +++ b/collects/teachpack/htdp/scribblings/image.scrbl @@ -93,7 +93,9 @@ angle. @defproc[(text [s string?] [f (and/c number? positive?)] [c (unsyntax @tech{Color})]) Image]{ Creates an image of the text @scheme[s] at point size @scheme[f] - and painted in color @scheme[c].} + and painted in color @scheme[c]. + + The string @scheme[s] must have at least one character.} @;----------------------------------------------------------------------------- @section[#:tag "properties"]{Basic Image Properties}