Fix docs of underlay/offset.

Closes PR12227.
This commit is contained in:
Vincent St-Amour 2011-09-23 16:44:09 -04:00
parent ef2acecb96
commit ed6d3f3a6a

View File

@ -795,9 +795,9 @@ the @racket[point-count] argument determines how many points the star has.
@defproc[(underlay/offset [i1 image?] [x real?] [y real?] [i2 image?]) image?]{ @defproc[(underlay/offset [i1 image?] [x real?] [y real?] [i2 image?]) image?]{
Just like @racket[overlay], this function lines up its image arguments on top of Just like @racket[underlay], this function lines up its first image argument
each other. Unlike @racket[overlay], it moves @racket[i2] by @racket[x] pixels to underneath the second. Unlike @racket[underlay], it moves @racket[i2] by
the right and @racket[y] down before overlaying them. @racket[x] pixels to the right and @racket[y] down before underlaying them.
@image-examples[(underlay/offset (circle 40 "solid" "red") @image-examples[(underlay/offset (circle 40 "solid" "red")
10 10 10 10