From e44835117b516d9c3ad9c7285d716982af347196 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Sat, 25 Aug 2012 19:22:47 -0500 Subject: [PATCH] move the baseline comment to image-baseline from the y-place? docs --- collects/teachpack/2htdp/scribblings/image.scrbl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/collects/teachpack/2htdp/scribblings/image.scrbl b/collects/teachpack/2htdp/scribblings/image.scrbl index 90de5dfcd6..64f7a13e53 100644 --- a/collects/teachpack/2htdp/scribblings/image.scrbl +++ b/collects/teachpack/2htdp/scribblings/image.scrbl @@ -1338,6 +1338,9 @@ See also the @racketmodname[2htdp/planetcute] library. @defproc[(image-baseline [i image?]) (and/c integer? (not/c negative?) exact?)]{ Returns the distance from the top of the image to its baseline. + The baseline of an image is the place where the bottoms any letters line up, + but without counting the descenders, e.g. the tail on ``y'' or ``g'' or ``j''. + Unless the image was constructed with @racket[text], @racket[text/font] or, in some cases, @racket[crop], this will be the same as its height. @@ -1444,10 +1447,10 @@ This section lists predicates for the basic structures provided by the image lib @racket["pinhole"], or @racket['pinhole]. -The baseline of an image is the place where the bottoms any letters line up, not counting descenders, e.g. the tail on ``y'' or ``g'' or ``j''. - Using @racket["pinhole"] or @racket['pinhole] is only allowed when all of the image arguments have @seclink["pinholes"]{pinholes}. +See also @racket[image-baseline] for more discussion of baselines. + } @defproc[(x-place? [x any/c]) boolean?]{