fix (my own) docs stupidity

This commit is contained in:
Robby Findler 2010-12-17 16:00:41 -06:00
parent b6167c23d5
commit 7a945785f3

View File

@ -1110,15 +1110,15 @@ more expensive than with the other shapes.
} }
@deftogether[(@defproc[(freeze [image image?]) image?]{} @defproc*[([(freeze [image image?]) image?]
@defproc[(freeze [width (and/c real? (not/c negative?))] [(freeze [width (and/c real? (not/c negative?))]
[width (and/c real? (not/c negative?))] [width (and/c real? (not/c negative?))]
[image image?]) image?]{} [image image?]) image?]
@defproc[(freeze [x real?] [(freeze [x real?]
[y real?] [y real?]
[width (and/c real? (not/c negative?))] [width (and/c real? (not/c negative?))]
[width (and/c real? (not/c negative?))] [width (and/c real? (not/c negative?))]
[image image?]) image?]{})]{ [image image?]) image?])]{
Freezing an image internally builds a bitmap, crops the image, draws the cropped image Freezing an image internally builds a bitmap, crops the image, draws the cropped image
into the bitmap and then into the bitmap and then
uses the bitmap to draw that image afterwards. Typically this is used as a performance uses the bitmap to draw that image afterwards. Typically this is used as a performance